View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: udev for pcHDTV 5500
PostPosted: Thu Sep 20, 2007 4:29 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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!

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 20, 2007 11:57 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 12:10 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
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"
SUBSYSTEM=="video4linux", ATTR{name}=="ivtv1 encoder MPG", SYMLINK+="pvr502"
As the HDTV cards use the DVB modules, I don't worry about udev rules for them (2 in each BE).


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 12:36 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 12:42 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
R6.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 12:45 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
Sweet.

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 21, 2007 11:28 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu