Hi, I organized a hub and tested how the machine behaves if I connect the device to the hub. It behaves different than without the hub. I get no disable_endpoint calls and (maybe therefore) _no_ uhci_urb_dequeue calls for my URB. After my wait_event times out (about 3 seconds later), I call usb_unlink_urb() and it returns with -EINPROGRESS:
Jan 15 23:37:24 koffer kernel: spheroncam.c: wait_for_transfer_completion: usb_unlink_urb cdb9b8c0 Jan 15 23:37:24 koffer kernel: Jan 15 23:37:24 koffer kernel: >>> uhci_urb_dequeue cdb9b8c0 Jan 15 23:37:24 koffer kernel: >>> uhci_set_next_interrupt Jan 15 23:37:24 koffer kernel: << uhci_set_next_interrupt Jan 15 23:37:24 koffer kernel: uhci_urb_dequeue cdb9b8c0 list_empty == true Jan 15 23:37:24 koffer kernel: >>> uhci_set_next_interrupt Jan 15 23:37:24 koffer kernel: << uhci_set_next_interrupt Jan 15 23:37:24 koffer kernel: << uhci_urb_dequeue cdb9b8c0 uhci->state: 2 Jan 15 23:37:24 koffer kernel: spheroncam.c: wait_for_transfer_completion: usb_unlink_urb returned -115 The uhci->state is 2 not 3 like without the hub. As I still have disabled the proper wait_for_completion after the unlink (which used to hang) my test program tries to send another URB, this time synchronously and to another endpoint. And now the programs hangs, I didn't check, but I guess it is in the submit_urb call. The syslog says: Jan 15 23:37:25 koffer kernel: usb 1-1.2: bulk timeout on ep1out Jan 15 23:37:25 koffer kernel: >>> uhci_urb_dequeue cdb9b1a0 Jan 15 23:37:25 koffer kernel: << uhci_urb_dequeue cdb9b1a0 uhci->state: 2 This info is possibly completely not of interest here, but maybe... Thanks again, Axel. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel