Comment 23 for bug 255678

Revision history for this message
Mircea Postolache (mircea273) wrote : Re: [Bug 255678] Re: GSPCA webcam no longer working: no /dev/video0

Make sure rc.local is executable and use full path on the things you want to run e.g. /sbin/modprobe ...

________________________________
From: Mitsch <email address hidden>
To: <email address hidden>
Sent: Sat, October 31, 2009 10:39:13 AM
Subject: [Bug 255678] Re: GSPCA webcam no longer working: no /dev/video0

Got a good hint in #440590:
The modules must be reloaded after boottime to work correctly:

modprobe -r gspca-sunplus
modprobe gscpa-sunplus

That does the trick for me! A /dev/videoX is created, accessable and full functioning!
I hadn't success putting these lines in rc.local - it won't be executed. Still have to figure out, why. But if I execute the two lines by hand after every boot, I have my webcam back, again!

--
GSPCA webcam no longer working: no /dev/video0
https://bugs.launchpad.net/bugs/255678
You received this bug notification because you are a direct subscriber
of the bug.

Status in “linux” package in Ubuntu: Triaged

Bug description:
I am running Intrepid amd64 and plug in an Intel webcam, documented to be support by the gspca driver. This camera worked on a Hardy installation on the same machine.

The device appears to be properly detected and the gspca driver loaded.

However, it cannot be accessed by any applications.

Error returned when running gstreamer-properties:
Video for Linux (v4l): Device "/dev/video0" does not exist.

dmesg:
[50888.838640] usb 3-1: new full speed USB device using uhci_hcd and address 3
[50889.024621] usb 3-1: configuration #1 chosen from 1 choice
[50889.242073] gspca: USB GSPCA camera found.(SPCA500+unknown CCD)
[50889.243115] usbcore: registered new interface driver gspca
[50889.243115] gspca: gspca driver 01.00.20 registered
[50889.842497] gspca: init isoc: usb_submit_urb(0) ret -2

*-2 return code is for no such file or directory.

lsusb:
Bus 005 Device 005: ID 046d:c521 Logitech, Inc. MX620 Laser Cordless Mouse
Bus 005 Device 004: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 005 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 8086:0630 Intel Corp. Pocket PC Camera
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsmod (grep for gspca):
gspca 665680 0
compat_ioctl32 18304 1 gspca
videodev 43648 2 gspca,compat_ioctl32
usbcore 170648 9 gspca,usb_storage,libusual,hci_usb,usbhid,ehci_hcd,uhci_hcd

lsb_release -rd:
Description: Ubuntu intrepid (development branch)
Release: 8.10