PDA

View Full Version : [ubuntu] Failed to configure camera / 100% CPU on UDEVD



thirddeep
April 22nd, 2008, 10:18 AM
Hi all,

Like all who posts here, I have a problem :-)

The built in camera on my laptop does not work. Unlike most people that post here, I don't care.

Unfortunately for me, there are some nasty side effects.

a) All tty's from 1-6 is constantly spammed with :

[incrementing number here] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/dbian/build-generic/media/gspcav1/gspca_core.c : Failed to configure camera
b) The process UDEVD is at 100% CPU all the time.
c) Bootup sits long time and wait (likely due to this)
d) Log's is also being spammed with (messages/syslog/kern.log - all the same):


Apr 22 09:55:40 laptop kernel: [ 2114.316000] usb 5-4: new high speed USB device using ehci_hcd and address 123
Apr 22 09:55:40 laptop kernel: [ 2114.488000] usb 5-4: configuration #1 chosen from 1 choice
Apr 22 09:55:40 laptop kernel: [ 2114.488000] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: USB SPCA5XX camera found.(VC0321)
Apr 22 09:55:40 laptop kernel: [ 2114.708000] usb 5-4: USB disconnect, address 123
Apr 22 09:55:40 laptop kernel: [ 2114.708000] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: Failed to configure camera
Apr 22 09:55:40 laptop kernel: [ 2114.708000] gspca: probe of 5-4:1.0 failed with error -5


Now, if I can get it to work - great. But if it's quicker to disable, I will be just as happy :-)

Here is lsusb output :


Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0603:00f2 Novatek Microelectronics Corp.
Bus 001 Device 001: ID 0000:0000

That is the mouse and keyboard listed there (just found out that Logitech keyboard is a re-branded Novatek).

lsusb -v shows bus 005 as unused.

Any other information that will help, just ask.

All help is much appreciated :-)

Thd.

tcpaiva
May 31st, 2008, 08:12 PM
Nobody can help?!

I have the same problem... :(

Thanks for the thread, thirddeep!

seeya!

cariboo
May 31st, 2008, 08:49 PM
Looks like you've got a seriously hooped installation, linux looks for modules in /lib/modules not where you've got them located. From you error message it looks like you are having trouble with the gspca module.

Do you get the the offending line in recovery mode?

If not then at the prompt type:


lsmod | grep gspca

it should print out a few lines with gspca in them. If it does type:


rmmod gspca

If this solves the problem then just add gspca to /etc/modprobe.d/blacklist

This is of course if you don't want to use your built in camera.

Jim

thirddeep
September 19th, 2008, 11:17 AM
rmmod gspca did not work (no errors, just did not do it).

I went ahead and blacklisted the device in any case, rebooted and all is good.

I really do not care about using the camera ;-)

Thanks to cariboo907

I really should have thought about blacklist, but sometimes we miss simple things like that ;-)