Hi all I want to get the usb printer 's device_id_string, by sending the request: usb_control_msg(usbdev, 0xa1, //request type 0, //request 0, //wvalue 0, //wIndex deviceid, //string contains the id string sizeof(deviceid), //size 1000 //timeout );
but it faild by return the errno 16 which shows that the device or source busy. I only open the device and then do this control, why it complains that device busy? Thanks in advance! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel