View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed May 02, 2012 9:37 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I did an System update and it updated Udev 171-4 to Udev 171-5 Since the update I've been having problems with Udev again.

How can I get back to Udev 171-4?

Thanks

Tim


Last edited by tscholl on Sun May 06, 2012 1:09 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Wed May 02, 2012 10:20 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
If it is still in the pacman cache:
Code:
pacman -U /data/var/cache/pacman/pkg/udev-171-4-i686.pkg.tar.xz


Top
 Profile  
 
PostPosted: Thu May 03, 2012 8:21 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I looked in cache but only udev-171-5-i686.pkg.tar.xz is listed. Is there anyway to get a copy?


Top
 Profile  
 
PostPosted: Thu May 03, 2012 9:54 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
You would have go into git and get the -4 PKGBUILD and build it. What problems are you seeing? The only difference between -4 & -5 was some of the rules were moved to different files for clarity. No rules were even deleted.


Top
 Profile  
 
PostPosted: Thu May 03, 2012 9:59 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
It's not always following my rule for my USB PVR again.

viewtopic.php?f=22&t=22383

Thought I had it resolved but started to have problems on reboot again after this last update.


Top
 Profile  
 
PostPosted: Thu May 03, 2012 10:41 am 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
There is nothing in the -4 to -5 update that would cause that.

However your rule won't always find the device you want it to. This is your rule from the other thread:
Code:
KERNEL=="video0" ,  SUBSYSTEM=="video4linux" ,  ATTR{name}=="ivtv0 encoder MPG" , ATTRS{device}=="0x0803"
KERNEL=="video0" is telling it to only look at /dev/video0 so if the card shows up at video1 this rule it ignored.

Something like this should work:
Code:
KERNEL=="video[0-9]*",  SUBSYSTEM=="video4linux",  ATTR{name}=="ivtv0 encoder MPG", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x0803", SYMLINK+="v4l/hvr350"
I added the device so it is more selective and the symlink will always point back to whatever videoX the card comes up on. Then change the tuner in mythtv-setup to point at /dev/v4l/hvr350 and you should be good to go.

I would suggest making a rule for all your tuners.


Top
 Profile  
 
PostPosted: Thu May 03, 2012 2:34 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
Thanks for the follow up and the additional information on Udev rules. I will give your rule a try.

Tim


Top
 Profile  
 
PostPosted: Sun May 06, 2012 1:09 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I wanted update this thread too add some additional information on dealing with Udev, and also try to clear up some of the confusion that I had and hopefully make it easier for other dealing with this issue.

I was originally made aware that a problem existed thanks to slowtolearn see this post.
http://forum.linhes.org/viewtopic.php?f=22&t=22383

And I finally got thing working correctly thanks to brfransen.

As discussed in this and my previous post. The rules are the keys that allow devices to get different device id's at boot time and point to a consistent mount point (symlink) when the system reboots.

This is what the symlink will look like when you do a " ls " on it.
Code:
[root@mythtv2 2012-05-06]# ls -l /dev/v4l
total 0
drwxr-xr-x 2 root root 120 May  6 13:24 by-path
lrwxrwxrwx 1 root root   9 May  5 19:30 HD5500 -> ../video1
lrwxrwxrwx 1 root root   9 May  6 13:24 usbpvr -> ../video0

When you configure your capture device you use the path you defined in the syslink. ie:
Code:
/dev/v4l/HD5500
/dev/v4l/usbpvr

Good luck.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 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