LinHES Forums http://forums.linhes.org/ |
|
Udev problems after update - Solved http://forums.linhes.org/viewtopic.php?f=21&t=22612 |
Page 1 of 1 |
Author: | tscholl [ Wed May 02, 2012 9:37 pm ] |
Post subject: | Udev problems after update - Solved |
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 |
Author: | brfransen [ Wed May 02, 2012 10:20 pm ] |
Post subject: | Re: Udev problems after update |
If it is still in the pacman cache: Code: pacman -U /data/var/cache/pacman/pkg/udev-171-4-i686.pkg.tar.xz
|
Author: | tscholl [ Thu May 03, 2012 8:21 am ] |
Post subject: | Re: Udev problems after update |
I looked in cache but only udev-171-5-i686.pkg.tar.xz is listed. Is there anyway to get a copy? |
Author: | brfransen [ Thu May 03, 2012 9:54 am ] |
Post subject: | Re: Udev problems after update |
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. |
Author: | tscholl [ Thu May 03, 2012 9:59 am ] |
Post subject: | Re: Udev problems after update |
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. |
Author: | brfransen [ Thu May 03, 2012 10:41 am ] |
Post subject: | Re: Udev problems after update |
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. |
Author: | tscholl [ Thu May 03, 2012 2:34 pm ] |
Post subject: | Re: Udev problems after update |
Thanks for the follow up and the additional information on Udev rules. I will give your rule a try. Tim |
Author: | tscholl [ Sun May 06, 2012 1:09 pm ] |
Post subject: | Re: Udev problems after update |
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. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |