GSPCA webcam no longer working: no /dev/video0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
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-
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.(
[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_
usbcore 170648 9 gspca,usb_
lsb_release -rd:
Description: Ubuntu intrepid (development branch)
Release: 8.10
description: | updated |
Leann Ogasawara (leannogasawara) wrote : | #1 |
Warren Butler (grumpymole) wrote : | #2 |
Problem still exists with 2.6.27.
It appears that the module is correctly loaded, but that /dev/video0 is not created. This is causing the problem.
captive (salvo-schifani) wrote : | #3 |
Problem still here on 2.6.27-5
dmesg shows:
[ 507.757460] gspca: probing 046d:092f
[ 507.959471] gspca: probe ok
[ 530.744169] gspca: usb_submit_urb [0] err -28
Rajeev Sharma (rajeev1982) wrote : | #4 |
I also had my webcam working on Hardy, but the same cam on same machine is not working in Intrepid.
I can not get the cam working with any of the app, cheese or skype. I get no error while running cheese or skype, but don't get he video.
$ dmesg | grep gspca
[ 3206.645675] gspca: main v2.2.0 registered
[ 3206.662601] gspca: probing 046d:08af
[ 3208.340246] gspca: probe ok
it looks OK to me.
Derek7 (enrico-vittorini) wrote : | #5 |
Kernel: 2.6.27-7-generic
lsusb:
Bus 002 Device 003: ID 046d:08f6 Logitech, Inc. Quickcam Messenger Plus
dmesg
5419.799627] usb 2-1: USB disconnect, address 3
[ 5426.492023] usb 2-1: new full speed USB device using ohci_hcd and address 4
[ 5426.711608] usb 2-1: configuration #1 chosen from 1 choice
[ 5426.714405] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
[ 5426.714422] quickcam: Kernel:
xawtv:
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-7-generic)
xinerama 0: 1280x1024+0+0
WARNING: No DGA direct video mode for this display.
can't open /dev/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such file or directory
v4l2: open /dev/video0: No such file or directory
v4l: open /dev/video0: No such file or directory
no video grabber device available
so, no vode0 creation1!!!
Ala (ala-luszczak) wrote : | #6 |
I also had camera working on Hardy in camorama and skype, but now it's not working. I've got /dev/video0 but no picture in skype or camorama.
Kernel: 2.6.27-7
lsusb:
Bus 005 Device 005: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX
dmesg | grep gspca:
[ 13.980933] gspca: main v2.2.0 registered
[ 13.993209] gspca: probing 046d:08d7
[ 15.720605] gspca: probe ok
[ 15.720628] gspca: probing 046d:08d7
[ 15.720644] gspca: probing 046d:08d7
lsmod | grep gspca:
gspca_zc3xx 55936 0
gspca_main 29312 1 gspca_zc3xx
videodev 41344 1 gspca_main
usbcore 148848 9 snd_usb_
Cerbaiola (gianni-omniway) wrote : | #7 |
I'm running Intrepid with kernel 2.6.27-7-generic
Camera works with XawTV and Ekiga but not with Skype!!
Camera is seen by Skype, but video captured is only a green garbled disturbed screen...
Any ideas or tests that I can do???
Bus 002 Device 002: ID 054c:0155 Sony Corp. Eyetoy Namtai
dmesg | grep gspca
[ 2300.069842] gspca: main v2.2.0 registered
[ 2300.083849] gspca: probing 054c:0155
[ 2300.310441] gspca: probe ok
lsmod | grep gspca
gspca_ov519 23812 0
gspca_main 29312 1 gspca_ov519
videodev 41344 1 gspca_main
usbcore 148848 8 gspca_ov519,
Andrey Beljakov (andvalb) wrote : | #8 |
Ubuntu Intrepid Ibex (with kernel 2.6.27-
Camera (D'Link DSB C320 - pixart chip (pac7311)) work only in Chease or Ekiga (without recording video) but have very poor image quality (colour saturation flashing with very poor image resolution) that make it unusable.
In Chease captured images don't have colour and saturation artefacts but have poor resolution (mixed noise?)
Sound from camera (internal microphone) don't work.
TVtime say "frames too short from pac7311" in displayed blue screen.
if I'm trying record video in Chease - Chease hangs or record no more then one second of video with huge memory (RAM) consumption.
In Windows XP camera works well.
lsmod | grep gspca
gspca_pac7311 23040 1
gspca_main 33536 1 gspca_pac7311
compat_ioctl32 18176 1 gspca_main
videodev 46720 3 gspca_main,
usbcore 175376 13 gspca_pac7311,
dmesg | grep gspca
[160514.347340] gspca: usb_submit_urb [0] err -28
[160517.449123] gspca: usb_submit_urb [0] err -28
[161079.201955] gspca: disconnect complete
[161079.228088] gspca: main deregistered
[161120.361275] gspca: main v2.2.0 registered
[161178.320397] gspca: probing 093a:260e
[161178.327909] gspca: probe ok
[161196.946873] gspca: usb_submit_urb [0] err -28
[161199.011068] gspca: usb_submit_urb [0] err -28
[162163.853507] gspca: usb_submit_urb [0] err -28
[162166.063832] gspca: usb_submit_urb [0] err -28
zour1el (zour1el) wrote : | #9 |
It got the cam to work 100% in intrepid Release Can... I had to compile an older kernel, but it is working.
Today the updated kernel hit the repo 2.6.27-7-generic
and well cam video is gone again
Cheese is a white screen other apps is static
lsmod | grep gspca
gspca_zc3xx 55936 0
gspca_main 29312 1 gspca_zc3xx
videodev 41344 1 gspca_main
usbcore 148848 8 snd_usb_
dmesg | grep gspca
[ 2279.845028] gspca: main v2.2.0 registered
[ 2279.853222] gspca: probing 0ac8:0302
[ 2281.386985] gspca: probe ok
[ 2281.387505] gspca: probing 0ac8:0302
[ 2281.388147] gspca: probing 0ac8:0302
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-7-generic)
xinerama 0: 1440x900+0+0
WARNING: No DGA support available for this display.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string "-*-ledfixed-
cheese
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffff
Bus 002 Device 005: ID 0ac8:0302 Z-Star Microelectronics Corp. ZC0302 WebCam
Boot back in to old kernel and all is well
Daniel Holm (danielholm) wrote : | #10 |
I to get the error:
[11664.290309] gspca: usb_submit_urb [0] err -28
And the bug, which this one is reported duplicated with doesn't say anything about this message?
I'm trying to use these two cams with ZoneMinder:
Bus 001 Device 006: ID 093a:2468 Pixart Imaging, Inc. Cammaestro 2.5DU/X-EYE/Orite SC-120/ICGear TravelCam/Easy Snap Snake Eye WebCam
Bus 001 Device 005: ID 041e:4028 Creative Technology, Ltd Vista Plus cam [VF0090]
lsmod | grep gspca
gspca_pac207 14848 0
gspca_main 29312 1 gspca_pac207
videodev 41344 1 gspca_main
usbcore 149360 7 gspca_pac207,
ls /dev | grep video
video0
video1
Please help.
Mitsch (kontakt-riotmusic) wrote : | #11 |
I guess, the duplicate status of this bug is wrong. It starts with a report, that /dev/videoX is not created when plugging a "gspca"-webcam. This is also my problem, running Ubuntu 8.10 with a 2.6.27-8-generic kernel and an "Aiptek Minicam", which is recognized as a "Sunplus Technology Co., Ltd SPCA504a Digital Camera". (The other comments complain about problems with some applications, but most of the reporters HAD a /dev/video on their machine!)
Reffering to the drivers, I had no problems in hardy and earlier versions of Ubuntu using the "gspca" module. The /dev/video0 file was created and I could use the device with "ekiga" and lately "cheese".
So me and the reporter of the initial bugreport have a problem with the driver (gspca_XXX), not with a library (libv4l) as in #260918.
Some further informations about my webcam/camera:
lsusb:
Bus 004 Device 012: ID 04fc:504a Sunplus Technology Co., Ltd SPCA504a Digital Camera
If I connect it, this message is written in /var/log/messages:
Nov 24 23:53:35 blah kernel: [43443.744506] usb 4-2: USB disconnect, address 3
Nov 24 23:53:35 blah kernel: [43443.744521] usb 4-2.3: USB disconnect, address 6
Nov 24 23:53:36 blah kernel: [43444.244108] usb 4-2: new high speed USB device using ehci_hcd and address 10
Nov 24 23:53:36 blah kernel: [43444.420161] usb 4-2: configuration #1 chosen from 1 choice
Nov 24 23:53:36 blah kernel: [43444.423105] hub 4-2:1.0: USB hub found
Nov 24 23:53:36 blah kernel: [43444.424663] hub 4-2:1.0: 4 ports detected
Nov 24 23:53:36 blah kernel: [43444.720330] usb 4-2.3: new full speed USB device using ehci_hcd and address 11
Nov 24 23:53:36 blah kernel: [43444.871781] usb 4-2.3: configuration #1 chosen from 1 choice
Nov 24 23:53:36 blah kernel: [43444.998349] usb 4-2.4: new full speed USB device using ehci_hcd and address 12
Nov 24 23:53:36 blah kernel: [43445.098144] usb 4-2.4: configuration #1 chosen from 1 choice
Nov 24 23:53:37 blah kernel: [43445.689154] Linux video capture interface: v2.00
Nov 24 23:53:37 blah kernel: [43445.710079] gspca: main v2.2.0 registered
Nov 24 23:53:37 blah kernel: [43445.717058] gspca: probing 04fc:504a
Nov 24 23:53:39 blah kernel: [43447.890638] gspca: probe ok
Nov 24 23:53:39 blah kernel: [43447.891372] gspca: probing 04fc:504a
Nov 24 23:53:39 blah kernel: [43447.893127] usbcore: registered new interface driver sunplus
Nov 24 23:53:39 blah kernel: [43447.893682] sunplus: registered
Nov 24 23:53:40 blah kernel: [43448.476749] gspca: disconnect complete
Ubuntu uses the "gspca_sunplus" driver with my device. "gspca_main" and "videodev" is also loaded. An icon is also placed on the desktop - I guess it's for the photo- and not for the webcam-function. ;)
Interesting detail: I've got the "Platten einbinden"-applet (I don't know, how it is originally called. It is for mounting and unmounting devices, I guess it's called the "drivemount-
israel vainsencher (israel-mat) wrote : | #12 |
the sony vaio builtin webcam worked fine in 8.4; stopped in 8.10:
Linux israel-laptop 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux
israel@
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-9-generic)
xinerama 0: 1366x768+0+0
can't open /dev/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such file or directory
v4l2: open /dev/video0: No such file or directory
v4l: open /dev/video0: No such file or directory
no video grabber device available
israel@
Bus 005 Device 006: ID 044e:300d Alps Electric Co., Ltd Bluetooth Controller (ALPS/UGPZ6)
Bus 005 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 005 Device 005: ID 05ca:183a Ricoh Co., Ltd
Bus 005 Device 002: ID 054c:02d5 Sony Corp.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 147e:2016
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Andres Mujica (andres.mujica) wrote : | #13 |
unmarked as dupe because this problem reflects a missing /dev/vide0 device. Sorry for the delay
Launchpad Janitor (janitor) wrote : Kernel team bugs | #14 |
Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https:/
Mircea (tramir) wrote : | #15 |
I have a similar problem with a Logitech ClickSmart 310 camera, supported by gspca (spca500), which used to work without problems in Hardy. Here is the dmesg output when plugging it in:
[ 99.612061] usb 5-1: new full speed USB device using uhci_hcd and address 2
[ 99.805082] usb 5-1: configuration #1 chosen from 1 choice
[ 100.199693] Linux video capture interface: v2.00
[ 100.221425] gspca: main v2.2.0 registered
[ 100.248271] gspca: probing 046d:0900
[ 100.266417] gspca: probe ok
[ 100.266944] gspca: probing 046d:0900
[ 100.270080] usbcore: registered new interface driver spca500
[ 100.271448] spca500: registered
[ 100.446131] gspca: disconnect complete
No /dev/video is created, and hence no application finds the camera. The camera is found by lsusb:
Bus 005 Device 003: ID 046d:0900 Logitech, Inc. ClickSmart 310
I installed the libv4l packages as per bug 260918, but I don't think that's relevant because the error is at the point of mounting the camera. Any progress on the issue? Any workarounds? (Again, the camera worked without problems in Hardy, I don't know what caused the regression and there are no workarounds that I know of yet).
Tom Byrne (inverted-sheep) wrote : | #16 |
I have also encountered this problem as Mitsch writes:
My Apitek Mega camera pen cam is recognised as 'Sunplus Technology Co., Ltd SPCA504a Digital Camera' in nautilus (duplicated with only one mounted). and when pluged in a message pops up saying:
Unable to mount Sunplus Technology Co., Ltd SPCA504a Digital Camera
Error initialising camera: -60: Could not lock the device
My dmesg gives:
[37968.720106] usb 2-2: USB disconnect, address 13
[37974.172132] usb 2-2: new full speed USB device using uhci_hcd and address 14
[37974.296164] usb 2-2: device descriptor read/64, error -71
[37974.620890] usb 2-2: configuration #1 chosen from 1 choice
[37974.624331] gspca: probing 04fc:504a
[37977.923104] gspca: probe ok
[37977.923735] gspca: probing 04fc:504a
[37978.605816] gspca: disconnect complete
And lsusb gives:
Bus 002 Device 014: ID 04fc:504a Sunplus Technology Co., Ltd SPCA504a Digital Camera
The webcam was working fine in hardy (cheese) with no alterations.
Jonathan Blackhall (johnny-one-eye) wrote : | #17 |
Is this related to: https:/
Andres Mujica (andres.mujica) wrote : | #18 |
different lsusb id's .. related but not identical. But probably solved with the same patch (as soon as it's available)
Petar Velkovski (pvelkovski) wrote : | #19 |
I have the same problem with Mustek gSmart 300 in Jaunty RC. Mustek gSmart 300 is basically a webcam that was made to look as a digital camera, has a very small inbuilt memory enough for taking 20-30 pictures of 640x480. But the webcam functionality is the main reason people bought it. When the webcam is pluged-in it shows almost the same behavior as described in bug report #291906 (Mustek gSmart 300 not working in Ubuntu 8.10) which was marked as duplicate of bug #285682 (Ubuntu 8.10 can't mount digital camera showing a window popup message: -60 could not lock the device message). This time there is no window popup message: -60 but there are 3 beeps. The end result is that the camera is properly detected, but no /dev/video0 is created. We can see this from
dmesg
...
[59707.024530] usb 2-2: new full speed USB device using uhci_hcd and address 52
[59707.322348] usb 2-2: configuration #1 chosen from 1 choice
[59707.325155] gspca: probing 055f:c200
[59707.327177] gspca: probe ok
[59707.327245] gspca: probing 055f:c200
[59708.523532] gspca: disconnect complete
As you can see the device is probed twice, and after the second probing there is some kind of disconnect.
lsmod | grep gspca gives
gspca_spca500 21632 0
gspca_main 29952 1 gspca_spca500
videodev 41600 1 gspca_main
I found a temporary solution by removing gspca modules from the memory and then installing them again by:
sudo rmmod gspca_spca500
sudo rmmod gspca_main
sudo modprobe gspca_spca500
After this is done, there are no multiple beeps, and dmesg gives:
...
[60252.278571] usbcore: deregistering interface driver spca500
[60252.280145] spca500: deregistered
[60252.282087] gspca: main deregistered
[60252.306251] gspca: main v2.3.0 registered
[60252.307925] gspca: probing 055f:c200
[60252.309122] gspca: probe ok
[60252.309139] gspca: probing 055f:c200
[60252.309168] usbcore: registered new interface driver spca500
[60252.309173] spca500: registered
This time /dev/video0 is properly created and the webcam works under skype. It has other problems under cheese, kopete, vlc etc. which I presume are related to other kind of bugs.
The second temporary solution I found was to kill /usr/lib/
p.s. Sebastien Bacher is an idiot
Antonio (tritemio) wrote : | #20 |
I have the same problem: in Jaunty the Creative PC-CAM 600 webcam does not work anymore. This is a fresh Jaunty installation. The webcam was working in a previous release such Feisty so the bug is a regression.
At each connect I get this message:
abramo kernel: [ 3031.407320] usb 2-1: USB disconnect, address 9
abramo kernel: [ 3042.244054] usb 2-1: new full speed USB device using ohci_hcd and address 10
abramo kernel: [ 3042.510182] usb 2-1: configuration #1 chosen from 1 choice
abramo kernel: [ 3042.513457] gspca: probing 041e:400b
abramo kernel: [ 3043.012972] sunplus: reg write: error -110
abramo kernel: [ 3043.587880] gspca: probe ok
abramo kernel: [ 3043.588921] gspca: probing 041e:400b
abramo kernel: [ 3044.033373] gspca: disconnect complete
I need to reload the gspca_sunplus module manully each time I connect the webcam:
sudo modprobe -r gspca_sunplus
sudo modprobe gspca_sunplus
in order to have the correct creation of /dev/video0. The log message while unloading/reloading the module is:
abramo kernel: [ 3140.197307] usbcore: deregistering interface driver sunplus
abramo kernel: [ 3140.204126] sunplus: deregistered
abramo kernel: [ 3140.209516] gspca: main deregistered
abramo kernel: [ 3149.946656] Linux video capture interface: v2.00
abramo kernel: [ 3149.963714] gspca: main v2.3.0 registered
abramo kernel: [ 3149.971319] gspca: probing 041e:400b
abramo kernel: [ 3150.586091] gspca: probe ok
abramo kernel: [ 3150.586134] gspca: probing 041e:400b
abramo kernel: [ 3150.586180] usbcore: registered new interface driver sunplus
abramo kernel: [ 3150.586189] sunplus: registered
After the module reloading the webcam works well with Cheese and xawtv. However with skype and ekiga the image quality in very poor (dark) at a level that I can hardly distinguish any shape.
I'll be happy to provide any further information.
Mitsch (kontakt-riotmusic) wrote : | #21 |
Tried my webcam in karmic - still no success!
The modules ("gspca-sunplus", "gspca-main" and "videodev") are loaded, but still no /dev/video* device to make "cheese" and other apps working with my webcam. In /var/log/messages nothing happens when I plug in the camera, so I added the messages of "sudo udevadmin monitor":
KERNEL[
KERNEL[
UDEV [1249427867.748572] add /devices/
UDEV [1249427867.756381] add /devices/
KERNEL[
KERNEL[
UDEV [1249427871.841807] add /devices/
UDEV [1249427871.845068] add /devices/
KERNEL[
UDEV [1249427872.074279] remove /devices/
The mass-storage-part of that device is - by the way - no more recognized. I can't mount it. The good news about it is that I no longer get an error message from nautilus on every start up... :) I got this behaviour since intrepid. So, no change for me in jaunty and karmic.
Conclusion: Ubuntu recognizes the device correctly, all modules are loaded - but there is no /dev/video. Is it possible to try a mknod by hand? If yes, what are the correct options (major and minor numbers) to do it? Maybe, it's the missing thing to do to get a working webcam... O.k. - maybe not, but it's worth a try! :)
Greetings!
Mitsch
Mitsch (kontakt-riotmusic) wrote : | #22 |
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!
Mircea Postolache (mircea273) wrote : Re: [Bug 255678] Re: GSPCA webcam no longer working: no /dev/video0 | #23 |
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:/
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-
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.(
[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_
usbcore 170648 9 gspca,usb_
lsb_release -rd:
Description: Ubuntu intrepid (development branch)
Release: 8.10
Mitsch (kontakt-riotmusic) wrote : | #24 |
Got it working.
The problem was not, that rc.local wasn't executed, but the modprobe trick seems to work only, if booting is finished. My rc.local now looks like this:
modprobe -r gspca_sunplus && sleep 60s && modprobe gspca_sunplus
exit 0
Now, everything works.
Antonio (tritemio) wrote : | #25 |
Following from comment #20. I have the exact same behaviour as described in #20 in karmic too (fresh installation). The syslog is the same too. To summarize:
1. Creative PC-600 webam does not work out of the box anymore in jaunty and karmic
2. The module unload-reload trick works (must be redone each time the webcam is connected)
3. Skype gives almost black (unusable) video (worked before jaunty).
dusoft (dusoft-staznosti) wrote : | #26 |
kubuntu karmic 9.10
2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux
[147978.536029] usb 2-2: new full speed USB device using uhci_hcd and address 9
[147978.737284] usb 2-2: configuration #1 chosen from 1 choice
[147978.742429] gspca: probing 041e:403b
[147978.876207] gspca: probe ok
[148344.096077] usb 2-2: USB disconnect, address 9
[148344.096206] gspca: disconnect complete
[148348.304038] usb 3-1: new full speed USB device using uhci_hcd and address 10
[148348.507348] usb 3-1: configuration #1 chosen from 1 choice
[148348.512537] gspca: probing 041e:403b
[148348.633432] gspca: probe ok
[148371.428244] gspca: usb_submit_urb [0] err -28
[148371.467983] gspca: usb_submit_urb [0] err -28
dusoft (dusoft-staznosti) wrote : | #27 |
cam is Bus 003 Device 010: ID 041e:403b Creative Technology, Ltd Creative Webcam Vista [VF0010]
doesn't work. skype gives weird green video
dusoft (dusoft-staznosti) wrote : | #28 |
solution proposed here works:
https:/
e.g.: download and install proposed library, then do:
#!/bin/bash
export LD_PRELOAD=
/usr/bin/skype
Heather Van Wilde (heatheriac) wrote : | #29 |
Tried dusoft's compat workaround, still not connecting to webcam.
Camera: Intel CS630
Linux lumiere 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux (Jaunty)
lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 009: ID 047d:1020 Kensington Expert Mouse Trackball
Bus 003 Device 008: ID 04f3:0103 Elan Microelectronics Corp.
Bus 003 Device 004: ID 03f0:020c Hewlett-Packard Multimedia Keyboard
Bus 003 Device 003: ID 03f0:010c Hewlett-Packard Multimedia Keyboard Hub
Bus 003 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 009: ID 8086:0630 Intel Corp. Pocket PC Camera <---------- My cam
Bus 002 Device 002: ID 0925:8888 Lakeview Research
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep gspca
[343560.237165] gspca: probing 8086:0630
[343560.238366] gspca: probe ok
[343560.238419] gspca: probing 8086:0630
[343560.619230] gspca: disconnect complete
lsmod | grep gspca
gspca_spca500 21632 0
gspca_main 29952 1 gspca_spca500
videodev 41600 1 gspca_main
I get the same errors that have been coming up about no directory for /dev/video0
andreselsuave (andreselsuave) wrote : | #30 |
Same problem here on Karmic, kernel 2.6.31-17-generic. Webcam model: PC-CAM 300.
Can't get it to work in any program, not even with the unloading-reloading modules trick. No creation of /dev/video0
dmesg output:
[45837.428031] usb 2-2: new full speed USB device using uhci_hcd and address 12
[45837.674218] usb 2-2: configuration #1 chosen from 1 choice
[45837.677914] gspca: probing 041e:400a
[45837.678002] gspca: probe ok
[45837.678096] gspca: probing 041e:400a
[45837.872514] gspca: disconnect complete
lsmod | grep gspca:
gspca_spca500 11996 0
gspca_main 22812 1 gspca_spca500
videodev 36736 1 gspca_main
any workarounds found yet?
andres el suave
HelToupee (heltoupee) wrote : | #31 |
Same problem here on Karmic:
uname -a:
Linux ~~hostname~~ 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux
webcam: Logitech ClickSmart 310
driver: should use gspca_spca500
dmesg output:
[526547.262544] usb 2-1: new full speed USB device using ohci_hcd and address 3
[526547.482178] usb 2-1: configuration #1 chosen from 1 choice
[526548.442486] Linux video capture interface: v2.00
[526548.488869] gspca: main v2.6.0 registered
[526548.491867] gspca: probing 046d:0900
[526548.538130] gspca: probe ok
[526548.538180] gspca: probing 046d:0900
[526548.538227] usbcore: registered new interface driver spca500
[526548.538234] spca500: registered
[526549.020441] gspca: disconnect complete
There is NO /dev/video0 created at this point. I have my suspicions that there was one there between the last 2 messages, but it is nearly immediately disconnected.
lsmod | grep gspca:
gspca_spca500 13664 0
gspca_main 26816 1 gspca_spca500
videodev 43360 1 gspca_main
I will try the unloading and then reloading modules trick described in #19.
The driver author lists this model camera as "not tested": http://
-Patiently waiting
Paul
HelToupee (heltoupee) wrote : | #32 |
Followup to #31:
After seeing the 'gspca: disconnect complete' line in dmesg, I executed the following:
sudo rmmod gspca_spca500
sudo rmmod gspca_main
sudo modprobe gspca_spca500
And the following appeared in dmesg:
[604283.194613] usbcore: deregistering interface driver spca500
[604283.194694] spca500: deregistered
[604291.541320] gspca: main deregistered
[604344.435960] gspca: main v2.6.0 registered
[604344.438662] gspca: probing 046d:0900
[604344.486734] gspca: probe ok
[604344.486759] gspca: probing 046d:0900
[604344.486802] usbcore: registered new interface driver spca500
[604344.486810] spca500: registered
At that point, I have a /dev/video0, and cheese can see it and use it. Skype, however, requires the following to work properly:
export LD_PRELOAD=
I'm also seeing a great number of these types of errors in dmesg after the camera is active:
[656668.677877] gspca: ISOC data error: [4] len=387, status=-70
[656681.637876] gspca: ISOC data error: [15] len=398, status=-70
[656681.733925] gspca: ISOC data error: [28] len=379, status=-70
[656681.861886] gspca: ISOC data error: [10] len=425, status=-70
[656701.893906] gspca: ISOC data error: [9] len=328, status=-70
[656701.989899] gspca: ISOC data error: [12] len=395, status=-70
[656702.085890] gspca: ISOC data error: [26] len=377, status=-70
but at least the workaround seems to work OK for me.
Heather Van Wilde (heatheriac) wrote : | #33 |
Oh, thank you, thank you, thank you ... i had the same errors as you did, but this command does work for me:
sudo rmmod gspca_spca500
sudo rmmod gspca_main
sudo modprobe gspca_spca500
after plugging in the camera ... got the same dmesg output. haven't tries skype yet though
Heather Van Wilde (heatheriac) wrote : | #34 |
oh, and on another note, it appears the commands need to be run every time you plug in the camera (and likely everyime you turn on the computer)
skywriter (xxxiter) wrote : | #35 |
After plugging camera i got the following from "dmesg":
[61670.227091] gspca: probing 055f:c520
[61670.617116] gspca: probe ok
[61670.617195] gspca: probing 055f:c520
[61670.746256] gspca: disconnect complete
This looks similiar to comment #19 but instead of "gspca_spca500" I got "gspca_sunplus" in result of "lsmod" command. I healed this by replacing the module gspca_sunplus with gspca_spca500 this way:
sudo modprobe -r gspca_sunplus
sudo modprobe -r gspca_main
sudo modprobe gspca_spca500
Now i get the following from dmesg:
[63545.151603] Linux video capture interface: v2.00
[63545.157233] gspca: main v2.7.0 registered
[63545.159371] usbcore: registered new interface driver spca500
[63545.160261] spca500: registered
Seems OK, but I still have no "/dev/video0". How to get back it to live?
Is there any manual way? This webcam worked OK in ALT Linux 4.0 Desktop.
lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
skywriter (xxxiter) wrote : | #36 |
I have tried to compile the driver gspca from source (http://
First it reported the following: "asm/semaphore.h: No such file or directory''.
After reading this comment (http://
In file included from /home/user/
/home/user/
/home/user/
/home/user/
/home/user/
In file included from /home/user/
/home/user/
/home/user/
/home/user/
/home/user/
/home/user/
/home/user/
/home/user/
/home/user/
/home/user/
Any suggestions? Is there any stable driver which produces device file /dev/video0?
skywriter (xxxiter) wrote : | #37 |
I seems gspca driver is a part of kernel now so there is no sense in compiling old drivers from mxhaard:
http://
Should be another way.
sae.area (saearea-test) wrote : | #38 |
Webcam: Logitech ClickSmart 310
OS: Mint 9 (based on Ubuntu 10.04 LTS)
Kernel: 2.6.32-25-generic #45-Ubuntu
Plugging in webcam results in the following dmesg:
[24398.959400] usb 3-1: configuration #1 chosen from 1 choice
[24398.961440] gspca: probing 046d:0900
[24398.994297] gspca: probe ok
[24398.994453] gspca: probing 046d:0900
[24399.291428] gspca: disconnect complete
No /dev/video0 is created
Both workarounds of #19 work (THANK YOU!):
after plugging in the webcam I run:
sudo rmmod gspca_spca500
sudo rmmod gspca_main
sudo modprobe gspca_spca500
or
before plugging in the webcam I kill:
/usr/lib/
Skype video options tests the cam successfully and Cheese works. No errors in dmesg.
I've tested the cam on an older Laptop running Mint 9 LXDE. Same procedure, but this time errors in dmesg as seen in #32
sae.area (saearea-test) wrote : | #39 |
Sorry, I forgot to mention that I always run Skype with "export LD_PRELOAD=
sae.area (saearea-test) wrote : | #40 |
Upgraded the kernel from 2.6.32 to 2.6.35. Problem still the same. But for workaround to work I need remove one more module: sudo rmmod gspca_spca561
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix". | #41 |
This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.
Changed in linux (Ubuntu): | |
status: | Triaged → Won't Fix |
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:
1) If you are comfortable installing packages on your own, the linux-image- 2.6.27- * package is currently available for you to install and test.
--or--
2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http:// www.ubuntu. com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.
Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.