|
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
|
|||
|
|||
Video source problems
I have a small problem with my current setup. I currently have 1 PVR-150, 1 PVR-500 and 1 A180. The issue I am having is that whenever I reboot the server the video0, video1, video2, video3, which are all dynamically assigned on reboot move around based on when the A180 is loaded. I am trying to get a udev rule setup to do this and I have one working but it looks like sage is not looking at the symlinks from the rules that I have setup. can anyone provide insight as to what sage is looking for when giving avaliable video sources?
Jayson
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk, A180 using VMDirectPath, 1 xHDHR Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15 Sun JRE 1.6.0_20 Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated Clients: 1 Media MVP and 2 STX-HD100 |
#2
|
|||
|
|||
yeah never really thought I would be answering my own post but just in case anyone is in the same situation or gets in the same situation this is what I did to get it working for me.
You need to start by getting some information about the hardware you have in your system. Code:
sudo udevinfo -a -p /class/video4linux/video0 Udevinfo starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/class/video4linux/video0': KERNEL=="video0" SUBSYSTEM=="video4linux" DRIVER=="" ATTR{name}=="saa7133_0_ video _AVerMedia AVe" ATTR{dev}=="81:0" looking at parent device '/devices/pci0000:00/0000:00:08.0/0000:02:07.0': KERNELS=="0000:02:07.0" SUBSYSTEMS=="pci" DRIVERS=="saa7134" ATTRS{msi_bus}=="" ATTRS{broken_parity_status}=="0" ATTRS{enable}=="1" ATTRS{modalias}=="pci:v00001131d00007133sv00001461sd00001044bc04sc80i00" ATTRS{local_cpus}=="ff" ATTRS{irq}=="20" ATTRS{class}=="0x048000" ATTRS{subsystem_device}=="0x1044" ATTRS{subsystem_vendor}=="0x1461" ATTRS{device}=="0x7133" ATTRS{vendor}=="0x1131" Now open a new file for editing so you can add your new rules. Code:
sudo nano /etc/udev/rules.d/10-local.rules Code:
KERNEL=="video[0-9]", ATTRS{modalias}=="pci:v00001131d00007133sv00001461sd00001044bc04sc80i00" , NAME="video0", GROUP="video" KERNEL=="video[0-9]", ATTRS{modalias}=="pci:v00004444d00000016sv00000070sd00008801bc04sc00i00" , NAME="video1", GROUP="video" KERNEL=="video[0-9]", ATTRS{modalias}=="pci:v00004444d00000016sv00000070sd0000E807bc04sc00i00" , NAME="video2", GROUP="video" KERNEL=="video[0-9]", ATTRS{modalias}=="pci:v00004444d00000016sv00000070sd0000E817bc04sc00i00" , NAME="video3", GROUP="video" Code:
sudo /etc/init.d/udev restart
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk, A180 using VMDirectPath, 1 xHDHR Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15 Sun JRE 1.6.0_20 Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated Clients: 1 Media MVP and 2 STX-HD100 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New tools for Studio users | GKusnick | SageTV Studio | 206 | 11-29-2009 10:08 PM |
SageTV V6.3 is now available for Win/Linux! | Narflex | Announcements | 1 | 03-07-2008 12:33 PM |
sage.PlaybackException on new video source during first run | dsobiera | SageTV Linux | 2 | 09-23-2007 04:29 AM |
SageTV V6.0.14 Beta is Now Available | Narflex | SageTV Beta Test Software | 70 | 11-21-2006 11:23 AM |