View previous topic :: View next topic |
Author |
Message |
jschweg Tux's lil' helper
Joined: 21 Feb 2004 Posts: 85
|
Posted: Sat Jan 20, 2007 5:15 am Post subject: libgphoto2 udev Rule Errors on Boot [Solved] |
|
|
Last night I emerged digikam, which obviously included the gphoto2 libraries as a dependancy. Everything complied fine, digikam works great.
After rebooting my system, I see the following errors (repeated about 1000 times) during boot when it's doing the udev stuff:
Code: |
udevd[11294]: add_to_rules: unknown key 'ATTRS{idVendor}', in 'ATTRS{idVendor}'
udevd[11294]: add_to_rules: unknown key 'ATTRS{idProduct}', in 'ATTRS{idVendor}'
udevd[11294]: add_to_rules: unknown key 'ATTRS{idVendor}', in 'ATTRS{idVendor}'
udevd[11294]: add_to_rules: unknown key 'ATTRS{idProduct}', in 'ATTRS{idVendor}'
|
After doing some searching, I discovered that libgphoto added:
Code: |
/etc/udev/rules.d/99-libgphoto2.rules
|
Inside the file, it lists all the different digital cameras that gphoto2 supports. I'm guessing that during boot it's trying to either search for or process the rules for all these cameras.
Is this normal? This is the first time I've used gphoto.
Last edited by jschweg on Fri May 25, 2007 2:03 am; edited 1 time in total |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Jan 20, 2007 7:09 am Post subject: |
|
|
What version of sys-fs/udev is installed on the system? |
|
Back to top |
|
|
jschweg Tux's lil' helper
Joined: 21 Feb 2004 Posts: 85
|
Posted: Sat Jan 20, 2007 3:43 pm Post subject: |
|
|
desultory wrote: | What version of sys-fs/udev is installed on the system? |
Code: |
* sys-fs/udev
Latest version available: 103
Latest version installed: 087-r1
Size of files: 195 kB
Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
License: GPL-2
|
Think it needs to be updated? |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Jan 20, 2007 4:10 pm Post subject: |
|
|
Either that or move /etc/udev/rules.d/99-libgphoto2.rules aside until udev gets updated. |
|
Back to top |
|
|
jschweg Tux's lil' helper
Joined: 21 Feb 2004 Posts: 85
|
Posted: Sat Jan 20, 2007 4:21 pm Post subject: |
|
|
Any reason why I shoudn't update udev? I finally got my system working exactly the way I want it so I'm not in the mood to break anything
I noticed that udev and coldplug block eachother. After some more reading it seems that the new stable version of udev makes coldplug extinct and I can saftley unmerge it and rely on udev for coldplugging? |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Jan 20, 2007 4:30 pm Post subject: |
|
|
jschweg wrote: | Any reason why I shoudn't update udev? | None that I know of.
jschweg wrote: | I noticed that udev and coldplug block eachother. After some more reading it seems that the new stable version of udev makes coldplug extinct and I can saftley unmerge it and rely on udev for coldplugging? | It should be quite safe, backup the packages to be sure. |
|
Back to top |
|
|
HermanR Apprentice
Joined: 08 Jan 2004 Posts: 293 Location: The Netherlands
|
Posted: Thu Feb 01, 2007 7:57 pm Post subject: |
|
|
I'm having the same errors. But I'm on AMD64 and stable udev is still at 087-r1 here. Is there some issue with udev 103 that doesn't work on AMD64? _________________ Gentoo (64 bits) on AMD64 X2 4400+, MSI K8T Neo2-FIR, 2 Gb RAM, 320 + 160 Gb SATA, nVidia Geforce 6600 |
|
Back to top |
|
|
_MacBaum_ n00b
Joined: 15 Oct 2006 Posts: 17
|
Posted: Fri Feb 02, 2007 2:20 am Post subject: |
|
|
libgphoto2 is adding some rules to udev to make (known) Camera-Devices accessible by users in "plugdev"-Group.
So move ist out there, upgrade your System or take the errors. |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Fri Feb 02, 2007 2:47 pm Post subject: |
|
|
HermanR wrote: | I'm having the same errors. But I'm on AMD64 and stable udev is still at 087-r1 here. Is there some issue with udev 103 that doesn't work on AMD64? |
I have an AMD64 3700+, I ran into this same problem last week. Updating to the 1.0.x udev corrected the boot messages without any side complications.
You might want to run 'revdep-rebuild -ip' afterwards just to verify the sanity of the installed software but it should be a big deal.
that being said, i haven't actually tried plugging my camera into the comp since.... |
|
Back to top |
|
|
HermanR Apprentice
Joined: 08 Jan 2004 Posts: 293 Location: The Netherlands
|
Posted: Fri Feb 02, 2007 8:16 pm Post subject: |
|
|
Okay, thanks. Mine is only a 3200+, but it should work too... _________________ Gentoo (64 bits) on AMD64 X2 4400+, MSI K8T Neo2-FIR, 2 Gb RAM, 320 + 160 Gb SATA, nVidia Geforce 6600 |
|
Back to top |
|
|
jschweg Tux's lil' helper
Joined: 21 Feb 2004 Posts: 85
|
Posted: Fri May 25, 2007 2:03 am Post subject: |
|
|
This is really old, but...
After upgrading udev, I popped the rules back in and they work fine. |
|
Back to top |
|
|
|