LinHES Forums http://forums.linhes.org/ |
|
udev for pcHDTV 5500 http://forums.linhes.org/viewtopic.php?f=2&t=16641 |
Page 1 of 1 |
Author: | kmkittre [ Thu Sep 20, 2007 4:29 pm ] |
Post subject: | udev for pcHDTV 5500 |
I'm putting together some lines for manually configuring udev and I have a question. I currently only have 1 pcHDTV 5500 card, but I may want to get a second one in the future. I want to make sure I'm not messing that up. For IVTV cards, the ATTR{name} is "ivtv? encoder MPEG". I'm assuming the ? is a wild card. The ATTR{name} for my pcHDTV card is "cx88_0_ video _pcHDTV HD5500 HD". Is there somewhere I should be putting in a wildcard for the pcHDTV card so that when I add a second one there won't be a conflict? FYI, this is what I currently have for my udev (not implemented yet...): Code: DRIVERS=="cx8800",ATTR{name}=="cx88_0_ video _pcHDTV HD5500 HD",KERNELS=="0000:00:0d.2",SYMLINK+="pcHDTV5500_1"
DRIVERS=="ivtv",ATTR{name}=="ivtv? encoder MPEG",KERNELS=="0000:00:09.0",SYMLINK+="pvr_350_1" DRIVERS=="ivtv",ATTR{name}=="ivtv? encoder MPEG",KERNELS=="0000:00:0e.0",SYMLINK+="pvr_150_1" Also, am I correct in assuming that after I make this change all I need to do is edit the capturecard table in the database and change the videodevices from /dev/video0, /dev/video1 and /dev/video2 to /dev/pcHDTV5500_1, /dev/pvr_350_1, and /dev/pvr_150_1? Thanks! |
Author: | kmkittre [ Thu Sep 20, 2007 11:57 pm ] |
Post subject: | |
This isn't working at all. I commented out the pcHDTV 5500 line for now to try and at least get the ivtv cards working. The system boots fine, but /dev/pvr* doesn't exist. Does udev throw up an error log somewhere that I can check? |
Author: | cecil [ Fri Sep 21, 2007 12:10 am ] |
Post subject: | |
Code: SUBSYSTEM=="video4linux", ATTR{name}=="ivtv0 encoder MPG", SYMLINK+="pvr150" I use the above in my MBE. In my SBE, I use:Code: SUBSYSTEM=="video4linux", ATTR{name}=="ivtv0 encoder MPG", SYMLINK+="pvr501" As the HDTV cards use the DVB modules, I don't worry about udev rules for them (2 in each BE).
SUBSYSTEM=="video4linux", ATTR{name}=="ivtv1 encoder MPG", SYMLINK+="pvr502" |
Author: | kmkittre [ Fri Sep 21, 2007 12:36 am ] |
Post subject: | |
Cool, thanks for the information, cecil. That worked great. Much easier than finding out ID's and whatnot, too ![]() Any chance in the future that you will support assigning an alias to a card in mythtv-setup and then automatically updating the database to reflect the alias in order to avoid problems like this? |
Author: | cecil [ Fri Sep 21, 2007 12:42 am ] |
Post subject: | |
R6. |
Author: | kmkittre [ Fri Sep 21, 2007 12:45 am ] |
Post subject: | |
Sweet. |
Author: | kmkittre [ Fri Sep 21, 2007 11:28 am ] |
Post subject: | |
Because I had trouble finding a good source to figure all this out I did a write up in the wiki with instructions. You can find it here if you need assistance: http://www.knoppmythwiki.org/index.php?page=Udev |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |