Hi, all, I use libusb to send data to printer. during my test, when the printer is epson stylus photo 820, the usb_bulk_write would do well. But if I change the printer to HP deskjet 1125c, than the libusb complain that "connection time out", no one line data sent to printer. And the epson printer has only one interface, on altsetting, and has 2 endpoint(one in and one one, 0x01 and 0x82) while the hp printer has one interface, 3 altsetting: first has 1 endpoint(one out 0x01), the second has 2 endpoint( one in, one out, 0x01, 0x82), and the third ahs 3 endpoint(one out, two in, 0x01, 0x82, 0x83). so when send data, I use 0x01 to the endpoint parameter in usb_bulk_write. But it said that connection time out , no matter the timeout is big or small, even I set the timeout to 500000ms.
does I miss something before sending data? or wrong endpoint address set? Please show me a hand. Thanks in advance! ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel