Camera Detection Issues

Bug #151684 reported by marine on 2007-10-11
8
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Undecided
Unassigned

Bug Description

Oct 10 12:14:58 mustang kernel: [ 112.591673] usb 5-7: new high speed USB device using ehci_hcd and address 57
Oct 10 12:14:58 mustang kernel: [ 112.747608] usb 5-7: configuration #1 chosen from 1 choice
Oct 10 12:14:58 mustang kernel: [ 112.748107] /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)
Oct 10 12:14:58 mustang kernel: [ 112.956195] usb 5-7: USB disconnect, address 57
Oct 10 12:14:58 mustang kernel: [ 112.956213] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: Failed to configure camera
Oct 10 12:14:58 mustang kernel: [ 112.956224] gspca: probe of 5-7:1.0 failed with error -5

It goes on until it reaches 97:

Oct 10 12:15:09 mustang kernel: [ 218.902344] usb 5-7: configuration #1 chosen from 1 choice
Oct 10 12:15:09 mustang kernel: [ 219.065945] /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)
Oct 10 12:15:09 mustang kernel: [ 219.422641] usbcore: registered new interface driver gspca
Oct 10 12:15:09 mustang kernel: [ 219.422709] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: gspca driver 01.00.12 registered

Yet, the webcam ain't available anymore. Anyone has a clue about this?

Simon Edwards (simon-simonzone) wrote :

I recently encountered this problem too on my Acer Aspire 5610 laptop with built in camera. (read: very common mid-range laptop). For me it loop through USB addresses up to 127 and then started again at 2 during boot. This stopped the boot process in its tracks(!). Rebooting in safe mode didn't help either. I worked around the problem by booting with a different kernal and then adding gspca to the blacklist.

Looking at lsusb, I'm guessing that the webcam is:

  Bus 005 Device 002: ID 046d:0896 Logitch, Inc

Bellcp (random-net-reg) wrote :

I have found that a Canon Powershot A620 was detected but a Nikon D200 DSLR wasn't.

wids (pwidden) wrote :
Download full text (11.1 KiB)

Get a message every second about this:

Oct 27 13:59:00 x-laptop kernel: [ 1147.576000] usb 5-8: new high speed USB device using ehci_hcd and address 99
Oct 27 13:59:00 x-laptop kernel: [ 1147.748000] usb 5-8: configuration #1 chosen from 1 choice
Oct 27 13:59:00 x-laptop kernel: [ 1147.748000] /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)
Oct 27 13:59:01 x-laptop kernel: [ 1147.960000] usb 5-8: USB disconnect, address 99
Oct 27 13:59:01 x-laptop kernel: [ 1147.960000] gspca: probe of 5-8:1.0 failed with error -5
Oct 27 13:59:01 x-laptop kernel: [ 1148.236000] usb 5-8: new high speed USB device using ehci_hcd and address 100
Oct 27 13:59:01 x-laptop kernel: [ 1148.408000] usb 5-8: configuration #1 chosen from 1 choice
Oct 27 13:59:01 x-laptop kernel: [ 1148.408000] /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)
Oct 27 13:59:01 x-laptop kernel: [ 1148.620000] usb 5-8: USB disconnect, address 100
Oct 27 13:59:01 x-laptop kernel: [ 1148.620000] gspca: probe of 5-8:1.0 failed with error -5
Oct 27 13:59:02 x-laptop kernel: [ 1148.896000] usb 5-8: new high speed USB device using ehci_hcd and address 101
Oct 27 13:59:02 x-laptop kernel: [ 1149.052000] usb 5-8: configuration #1 chosen from 1 choice
Oct 27 13:59:02 x-laptop kernel: [ 1149.052000] /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)
Oct 27 13:59:02 x-laptop kernel: [ 1149.260000] usb 5-8: USB disconnect, address 101
Oct 27 13:59:02 x-laptop kernel: [ 1149.260000] gspca: probe of 5-8:1.0 failed with error -5

Acer Travelmate 8204WLMi

Gutsy Gibbon 7.10

2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Fam...

CompDan (paisible88) wrote :

I have the same issue as well with my ACER Aspire 5672 using the Logitech Orbicam.

Boot is longer due to issues with the camera and system log shows after boot:

     usb 5-8: new high speed USB device using ehci_hcd and address 16
     usb 5-8: configuration #1 chosen from 1 choice
     /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)
     usb 5-8: USB disconnect, address 20
     gspca: probe of 5-8:1.0 failed with error -5

This also is resulting in a blank return from 'lsusb':

     Bus 005 Device 001: ID 0000:0000
     Bus 004 Device 001: ID 0000:0000
     Bus 001 Device 001: ID 0000:0000
     Bus 003 Device 001: ID 0000:0000
     Bus 002 Device 001: ID 0000:0000

Which makes me think that the camera does not load so it will not allow the other usb connections work either... a usb mouse will not work nor a flash drive.

Error log count reaches 800 before full boot into system and then after 2 hours reachs 2800, so 1000 errors logged in an hour just for this camera. I fear to use my system for a long period in case error log tops out at some point.

If there is any fix I would greatly appreciate some information as to why this is happening or a way to stop it, such as disabling the camera.

The hardware profiler for the usb looks like the image in the attachment.

wids (pwidden) wrote :

To disable acer camera:

echo "blacklist gspca" >> /etc/modprobe.d/blacklist

CompDan (paisible88) wrote :

Thank you for this fix, it is rather a disable for the driver that supports webcams and digital cameras, but does the job for me as well!

Jroq (jdenomy) wrote :

I put in that command but i was given the error message:

bash: /etc/modprobe.d/blacklist: permission denied

I was never given the chance to enter my admin password

Is the a permission i need to set?

CompDan (paisible88) wrote :

put sudo in front of the command

I have this bug on my Acer travelmate 4220

Bus 005 Device 003: ID 046d:0896 Logitech, Inc.

Will try to build from the latest source from http://mxhaard.free.fr/download.html

Craig Maloney (craig-decafbad) wrote :

Marking as confirmed.

Craig Maloney (craig-decafbad) wrote :

Just to confirm: is this bug still present in Intrepid or Jaunty?

Thanks!

wids (pwidden) wrote :

It has a slightly different signature, but yes i believe it's still present in Intrepid. I seem to recall seeing that it was moved into the kernel and disabling the driver no longer works, resulting in a 5 minute boot delay and continual writing to /var/log/messsage of the following:

Mar 5 18:30:15 laptop kernel: [ 76.096232] usb 5-8: configuration #1 chosen from 1 choice
Mar 5 18:30:15 laptop kernel: [ 76.096741] gspca: probing 046d:0892
Mar 5 18:30:15 laptop kernel: [ 76.304536] vc032x: check sensor header 44
Mar 5 18:30:15 laptop kernel: [ 76.305310] usb 5-8: USB disconnect, address 95
Mar 5 18:30:15 laptop kernel: [ 76.305405] vc032x: I2c Bus Busy Wait 0
Mar 5 18:30:15 laptop kernel: [ 76.305410] vc032x: I2c Bus Busy Wait 0
Mar 5 18:30:15 laptop kernel: [ 76.305414] vc032x: I2c Bus Busy Wait 0
Mar 5 18:30:15 laptop kernel: [ 76.305418] vc032x: I2c Bus Busy Wait 0
Mar 5 18:30:15 laptop kernel: [ 76.305422] vc032x: I2c Bus Busy Wait 0
Mar 5 18:30:15 laptop kernel: [ 76.305426] vc032x: I2c Bus Busy Wait 0
Mar 5 18:30:15 laptop kernel: [ 76.305428] vc032x: Unknown sensor...
Mar 5 18:30:15 laptop kernel: [ 76.305433] vc032x: probe of 5-8:1.0 failed with error -22
Mar 5 18:30:15 laptop kernel: [ 76.580117] usb 5-8: new high speed USB device using ehci_hcd and address 96

repeats every second
...

Mar 5 18:39:30 laptop kernel: [ 766.880590] usb 5-8: configuration #1 chosen from 1 choice
Mar 5 18:39:30 laptop kernel: [ 766.881974] gspca: probing 046d:0892
Mar 5 18:39:31 laptop kernel: [ 767.088537] vc032x: check sensor header 44
Mar 5 18:39:31 laptop kernel: [ 767.089431] usb 5-8: USB disconnect, address 32
Mar 5 18:39:31 laptop kernel: [ 767.089640] vc032x: I2c Bus Busy Wait 0
Mar 5 18:39:31 laptop kernel: [ 767.089651] vc032x: I2c Bus Busy Wait 0
Mar 5 18:39:31 laptop kernel: [ 767.089659] vc032x: I2c Bus Busy Wait 0
Mar 5 18:39:31 laptop kernel: [ 767.089667] vc032x: I2c Bus Busy Wait 0
Mar 5 18:39:31 laptop kernel: [ 767.089675] vc032x: I2c Bus Busy Wait 0
Mar 5 18:39:31 laptop kernel: [ 767.089683] vc032x: I2c Bus Busy Wait 0
Mar 5 18:39:31 laptop kernel: [ 767.089687] vc032x: Unknown sensor...
Mar 5 18:39:31 laptop kernel: [ 767.091353] vc032x: probe of 5-8:1.0 failed with error -22
Mar 5 18:39:31 laptop kernel: [ 767.369163] usb 5-8: new high speed USB device using ehci_hcd and address 33

The last resort is....

warning:only use this if you know what it means, bad things *will* happen:
sudo pkill udevd

Can you please tell us if this happens with supported Ubuntu versions? Thank you!

Changed in hal (Ubuntu):
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for hal (Ubuntu) because there has been no activity for 60 days.]

Changed in hal (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments