|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Use custom path for video encoder devices?
I am attempting to switch from running Sage on Vista to OpenSuSE 11.2 (I know Ubuntu/Debian distributions are recommended, but the reason for my shift is to consolidate onto an existing server).
My question is: How can I tell Sage to use a specific video device path for my three HD-PVRs? Each HD-PVR is assigned to a /dev/video0 to /dev/video2 block device. The order of the videoN assignments changes between boots. I have read about setting udev persistent mapping rules., but these devices are created very early in the process when usbfs runs -- before the root volume is mounted. The /dev/videoN devices already exist when udev runs. There are static symlinks created in /dev/v4l/by-id/usb-AMBA_Hauppauge_HD_PVR_<SerialNumber> referring to the appropriate /dev/videoN device. I would like to have Sage use the /dev/v4l/by-id symlinks rather than the /dev/videoN devices. Is there a way to do this? |
#2
|
|||
|
|||
Quote:
Drew |
#3
|
|||
|
|||
with udev you could manage this with the serial numbers.
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#4
|
|||
|
|||
Quote:
I have 3x PVR-500s (multiple videoN devices), as well as a pcHDTV 5500 and DVico FusionHDTV 5 Lite (each shows up as a dummy videoN device, which I use udev to suppress, and an adapterN device). Because I need to match each videoN device to the correct IR tuner, I needed persistent naming for each physical device. As bcjenkins mentions, use serial numbers in your rules if possible. They are the easiest way to uniquely identify a card. Some of my cards do not have them and I had to identify them by the PCI slot they were in. I took me a while to figure out the rules I needed, but now everything always show up in the same place. Be sure you have the command "udevtest" (my distro didn't install it my default, IIRC), it's really handy to try things out without rebooting. Sometimes it's output is a little confusing, but it reduces how many times you have to reboot as you're testing your rules. --John |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Video Devices available | harrijay | SageTV Linux | 1 | 10-01-2008 08:56 AM |
How do you specify UNC path for video storage? | svemuri | SageTV Linux | 2 | 02-06-2008 04:01 AM |
No Video Capture Devices Found | mike1961 | Hardware Support | 6 | 01-23-2007 09:12 PM |
Capture to a Specific Video Path | kkoz | SageTV Software | 9 | 05-21-2006 08:18 PM |
Encoder settings (custom MPEG bitrates) | laurenglenn | SageTV Beta Test Software | 2 | 08-27-2003 07:06 PM |