Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libgphoto2 udev Rule Errors on Boot [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jschweg
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 85

PostPosted: Sat Jan 20, 2007 5:15 am    Post subject: libgphoto2 udev Rule Errors on Boot [Solved] Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sat Jan 20, 2007 7:09 am    Post subject: Reply with quote

What version of sys-fs/udev is installed on the system?
Back to top
View user's profile Send private message
jschweg
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 85

PostPosted: Sat Jan 20, 2007 3:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sat Jan 20, 2007 4:10 pm    Post subject: Reply with quote

Either that or move /etc/udev/rules.d/99-libgphoto2.rules aside until udev gets updated.
Back to top
View user's profile Send private message
jschweg
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 85

PostPosted: Sat Jan 20, 2007 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sat Jan 20, 2007 4:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
HermanR
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 293
Location: The Netherlands

PostPosted: Thu Feb 01, 2007 7:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
_MacBaum_
n00b
n00b


Joined: 15 Oct 2006
Posts: 17

PostPosted: Fri Feb 02, 2007 2:20 am    Post subject: Reply with quote

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
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Feb 02, 2007 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
HermanR
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 293
Location: The Netherlands

PostPosted: Fri Feb 02, 2007 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
jschweg
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 85

PostPosted: Fri May 25, 2007 2:03 am    Post subject: Reply with quote

This is really old, but...

After upgrading udev, I popped the rules back in and they work fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum