Logitech Quickcam IM (SPCA5xx) not working [breezy-dapper regression]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
I have a Logitech Quickcam IM, it is a USB camera, which makes use of the spca5xx driver.
In breezy, on this machien and with this camera, it worked fine, in dapper, beta2+updates til 30/4/06, it does not
Appropriate error messages in dmesg
[4295856.375000] usb 2-10: new full speed USB device using ohci_hcd and address 7
[4295856.515000] drivers/
[4295864.703000] drivers/
[4295875.554000] ohci_hcd 0000:00:02.0: leak ed f7883700 (#81) state 2
[4295876.610000] drivers/
I obtained the latest spca5xx driver from its homepage and it showsup the following errors:
[4303841.029000] /home/lathiat/
[4303872.991000] /home/lathiat/
[4303872.991000] /home/lathiat/
[4303872.991000]
[4303874.600000] ohci_hcd 0000:00:02.0: leak ed f7883780 (#81) state 2
[4303875.254000] /home/lathiat/
[4303875.254000] /home/lathiat/
[4303875.254000]
Subject: [PATCH] spca5xx patch for “No space left on device” error message
Related bugs: /launchpad. net/distros/ ubuntu/ +source/ spca5xx/ +bug/34543 /launchpad. net/distros/ ubuntu/ +source/ linux-source- 2.6.15/ +bug/42132 /launchpad. net/distros/ ubuntu/ +source/ linux-source- 2.6.15/ +bug/38906
https:/
https:/
https:/
Please take a look at the following for more details and fixes: ubuntuforums. org/showthread. php?t=247646
http://
Subject: [PATCH] spca5xx patch for “No space left on device” error message
This patch Fixes the bandwidth problem that occurs when other USB devices
are on the same host controller bus as the camera by gradually lowering the
bandwidth requirements of the driver.
When the patch is applied, spca5xx drivers works even when other USB devices
are present on the same host controller bus as the camera.
This patch is currently against the spca5xx-20060501 source.
To apply the patch from your current working directory, with a subdirectory 20060501- vodunvibe- Nospaceleftonde vice.patch
called spca5xx-20060501 use:
patch -p0 < spca5xx-
To apply the patch, in the spca5xx-20060501 directory use: 20060501- vodunvibe- Nospaceleftonde vice.patch
patch -p1 < spca5xx-
Bandwidth Problem details:
When other USB devices are present on the same host controller
bus as the camera, the bandwidth requirements of the spca5xx driver
are not being met. The spca5xx driver is asking for more bandwidth
than is available which results in the following error messages:
No space left on device
can't open /dev/video0: No space left on device.
usb_submit_urb(0) ret -28
Thanks,
vodunvibe
diff -urN spca5xx- 20060501. orig/drivers/ usb/spca5xx. c spca5xx- 20060501/ drivers/ usb/spca5xx. c 20060501. orig/drivers/ usb/spca5xx. c 2006-04-29 11:38:07.000000000 -0400 20060501/ drivers/ usb/spca5xx. c 2006-09-05 13:19:04.000000000 -0400
spca50x- >funct. stopN(spca50x) ;
--- spca5xx-
+++ spca5xx-
@@ -1574,6 +1574,66 @@
}
+ ******* ******* ******* ******* ******* ******* ******* ******* ******* ** tSize ******* ******* ******* ******* ******* ******* ******* ******* ******* **/ tSize(struct usb_spca50x *spca50x, int n, int err) PacketSize: vodunvibe - The usb_submit_urb(%d) transfer request submission failed - You probably have another dev...
+/*****
+* spcaReducePacke
+* Function Fixes the bandwidth problem that occurs
+* when other USB devices are on the same host controller bus as the
+* camera by gradually lowering the bandwidth requirements of the driver.
+* It works even when other USB devices are present on the same
+* host controller bus as the camera.
+*
+* Problem
+* When other USB devices are present on the same host controller
+* bus as the camera, the bandwidth requirements of the spca5xx driver
+* are not being met. The spca5xx driver is asking for more bandwidth
+* than is available which results in the following error messages:
+*
+* No space left on device
+* can't open /dev/video0: No space left on device.
+* usb_submit_urb(0) ret -28
+*
+*
+* Many thanks to all the wonderful people contributing to this project.
+*
+* Great work!
+* vodunvibe [AT] <email address hidden> yahoo DOT com
+* 2006-08-27
+*
+******
+static int spcaReducePacke
+{
+ int size=896, fx, i;
+ err("spcaReduce