On Fri, May 25, 2012 at 3:51 PM, Fabian Weiss <fab...@fabske.de> wrote: > Hello everyone! > > I try to communicate with an USB device: http://nopaste.info/bc655859b3.html > I want to read the 42 bytes of bEndpointAddress 0x83 EP 3 IN. > Therefore I installed libusb(x) under my Linux and wrote this little > programm: http://nopaste.info/98c35ab092.html > > I dont understand why it doesnt work, so I am asking you. My output is: > > Device Opened > Claimed Interface > libusb:error [submit_bulk_transfer] submiturb failed error -1 errno=2 > read Error: -1 > Data read: > Released Interface > > :( > Can somebody tell my what I am doing wrong?
Do you know the communication protocol of the device? If not, you have to do some reverser engineering before using libusb. -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel