Hi, Trying to workaround the aiptek graphic tablet driver I fund a strange thing in usb core. On message.c usb_internal_control_msg return negative status on error and positive value on ok. usb_internal_control_msg call usb_start_wait_urb. In usb_start_wait_urb when timeout occur return status is set to status = urb->status and length to urb->actual_length. But in my workaround timeout occur and urb->status is 0. So return status is 0 and in usb_internal_control_msg no error is detected, so length are returned (no even 0).
I'm not familiar with kernel source, I'm wrong or there is some thing bad ? Fred.
pgp9v3icJw1gS.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users