[linux-usb-devel] [PATCH] Fix dead lock in usbtest

2006-05-15 Thread Franck Bui-Huu
ctrl_complete functions acquires ctx-lock and tries to unlink all queued urbs in case of errors through usb_unlink_urb func. In its turn usb_unlink_urb calls, through the hcd driver, usb_hcd_giveback_urb which calls ctrl_complete again. At this time, ctx-lock is already taken by the same

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v2

2006-05-15 Thread Oliver Neukum
Am Montag, 15. Mai 2006 10:49 schrieb [EMAIL PROTECTED]: +   urb-status = 0; +   urb-actual_length = 0; These are not needed. Indeed you should never write to those fields. Regards Oliver --- Using Tomcat but

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v2

2006-05-15 Thread Oliver Neukum
Am Montag, 15. Mai 2006 10:49 schrieb [EMAIL PROTECTED]: +static void qcm_setup_input_int(struct qcm *cam, struct uvd *uvd) +{ This should report errors. Regards Oliver --- Using Tomcat but need to do more? Need to

[linux-usb-devel] [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v2

2006-05-15 Thread jayakumar . video
Hi Greg KH, USB folk, kernel folk, Appended is v2 of my patch adding a usbvideo driver for the Logitech Quickcam Messenger USB webcam. This patch is against 2.6.16.5. The corrections are as follows: (Thanks to Oliver Neukum for the review and suggestions) - removing structs built on the stack

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v2

2006-05-15 Thread Oliver Neukum
Am Montag, 15. Mai 2006 14:50 schrieb Jaya Kumar: On 5/15/06, Oliver Neukum [EMAIL PROTECTED] wrote: Am Montag, 15. Mai 2006 10:49 schrieb [EMAIL PROTECTED]: +urb-status = 0; +urb-actual_length = 0; These are not needed. Indeed you should never write to those fields.

Re: [linux-usb-devel] OHCI_hcd 1.10 overrides EHCI_hcd 2.0

2006-05-15 Thread Alan Stern
On Mon, 15 May 2006, Ian wrote: The following is part of the readout from Usbview. As it is quite a long readout I've only posted part of it in the hope someone can help. The main controller EHCI_hcd is 2.00 then there seem to be 3 secondary controllers OHCI_hcd 1.10. Problem, the

Re: [linux-usb-devel] About SET_CONFIGURATION at file_storage.c

2006-05-15 Thread Alan Stern
On Mon, 15 May 2006, Peter Chen wrote: Hi,all When i recive SET_CONFIGURATION at SETUP status,i enter stardard_setup_req,but my return value is alway DELAYED_STATUS. Is it normal? Yes. And my udc is full speed device,but the host still send get DEVICE_QUALIFIER descriptor.Is it

[linux-usb-devel] 2.6.16 regression: Non-powered hubs no longer capable of operating some devices

2006-05-15 Thread Daniel Drake
Hi, Several Gentoo users are reporting that usb-storage devices no longer work on 2.6.16 with unpowered hubs. Here's some logs: hub 2-2:1.0: state 7 ports 3 chg evt 0002 hub 2-2:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 2-2:1.0: debounce: port 1: total 100ms stable 100ms status

Re: [linux-usb-devel] [PATCH] USB-Gadget: support for fhg_usb32

2006-05-15 Thread Thomas Brinker
Am Samstag 13 Mai 2006 04:56 schrieb David Brownell: On Wednesday 08 March 2006 4:42 pm, Greg KH wrote: On Wed, Mar 08, 2006 at 07:36:06PM +0100, Thomas Brinker wrote: Hi! This adds support for the FHG_USB32 IP-Core Modul from emsys GmbH and Fraunhofer Gesellschaft. This is a USB

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v2

2006-05-15 Thread Oliver Neukum
Am Montag, 15. Mai 2006 10:49 schrieb [EMAIL PROTECTED]: +   struct qcm *cam = (struct qcm *) uvd-user_data; + +   cam-width = camera_sizes[cam-size].width; +   cam-height = camera_sizes[cam-size].height; +   uvd-videosize = VIDEOSIZE(cam-width, cam-height); +   

[linux-usb-devel] I have puzzled about usb_request struct for udc driver

2006-05-15 Thread Peter Chen
Hi,all When i develop udc driver,i can assign some values for the struct of usb_request through fsg-setup(file_storage.c) at bus enumeration But,as far as other ep's tx/rx are conterned,how to ensure the req is not NULL when the other ep's interrupt comes.Usually,we see req =

Re: [linux-usb-devel] OHCI_hcd 1.10 overrides EHCI_hcd 2.0=Explanation

2006-05-15 Thread Ian
Hi Alan, Thankyou for your reply. I'll try to explain, I'm very much a noob when it comes to things like this. The issue is with a webcam using driver SPCA5XX. Or are you saying that your high-speed devices don't run at high speed, they only run at full speed? Under windows the cam advertises

[linux-usb-devel] Problem sending to Bulk Out Endpoint

2006-05-15 Thread Florian Echtler
Hello everybody, I'm currently trying to write a rudimentary driver for the NaturalPoint Optitrack cameras (they directly output thresholded 1-bit video at 120 FPS, are infrared-only and intended for tracking applications). I have obtained some traces under WinXP with SnoopyPro and took the