Hello, some persons are reporting -ENOSPC errors from usb_submit_urb() in the sn9c102 driver for some unkown reasons. I can't reproduce this bug, although I tested and compiled the driver against the same version of the kernel used by one of the above users (default kubuntu 2.6.20-15-generic namely). Everything is working fine on my machine, so for now I can't give you further details about this issue. I suspect there have been some changes in the USB internals affecting usb_submit_urb(). Is this the reason in your opinion? Below is another bug report. The latest version of the sn9c102 used in these tests is available at http://www.linux-projects.org or included in 2.6.21-mm2.
Best regards Luca ---------- Forwarded Message ---------- Subject: sn9c102 vs 2.6.21 problems Date: sabato 12 maggio 2007 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] I have a Chicony DC-2110 webcam. It was chosen to avoid the need for external linux drivers. Thank you for your contribution to the linux community by making a lot of webcam owners happy around the world. However unfortunately things sometimes go wrong, and I want to report an error here. My webcam have been working fine using Ekiga and sonic-snap until a recent kernel upgrade. I'm using the Hardened favour of Gentoo Linux. First I wasn't sure if the hardening features (PaX, grsecurity) may interfere with the driver, but after I've got exactly the same error messages using a vanilla kernel from kernel.org it was clear that it's not related to these special security additions. The symptom is, that previously functioning v4l2 programs fail to handle or even find the device. 1. the kernel log says: *** May 11 03:03:36 hostname usb 3-1: new full speed USB device using uhci_hcd and address 4 May 11 03:03:36 hostname usb 3-1: configuration #1 chosen from 1 choice May 11 03:03:36 hostname usb 3-1: SN9C10[12] PC Camera Controller detected (vid/pid 0x0C45:0x600D) May 11 03:03:36 hostname usb 3-1: PAS106B image sensor detected May 11 03:03:36 hostname usb 3-1: Initialization succeeded May 11 03:03:36 hostname usb 3-1: V4L2 device registered as /dev/video0 May 11 03:03:36 hostname usb 3-1: Optional device control through 'sysfs' interface ready May 11 03:04:31 hostname usb 3-1: usb_submit_urb() failed, error -28 *** It repeats the last line as many times I try to access the device by any program. 2. sonic-snap fails like this: *** sonic-snap-gui Cannot open '/dev/video0': 28, No space left on device *** 3. Ekiga even won't find the webcam. I have a basic knowledge of the kernel, and it's clear, that the driver calls this function pretty clearly. I also suspect, that the data transfer completely fails. I've noticed, that with 2.6.21, a version bump happened regarding sn9c102, with a couple of new features. I reverted the driver to the previous version, and even after this I couldn't get it to work. It seems to me, that some changes were introduced in the USB layer with the advent of 2.6.21 blocking this driver to function correctly. I assume, that I'm not the only one with this complain. I hope, that I've found the right person, and I'll try to do my best to help you to fix this issue. Do you have any webcams failing with vanilla 2.6.21? Please let me know, what should I do next. Regards, Attila -- dr Tóth Attila, Radiológus Szakorvos jelölt, 06-20-825-8057, 06-30-5962-962 Attila Toth MD, Radiologist in Training, +36-20-825-8057, +36-30-5962-962 ------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel