Results 1 to 1 of 1
Hi All,
I am new to usb device driver development and i am writing the device driver using libusb in Ubuntu for memory stick. I am stuck in a place ...
- 09-08-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 1
urgent usblib help
Hi All,
I am new to usb device driver development and i am writing the device driver using libusb in Ubuntu for memory stick. I am stuck in a place where I am trying to read and write into memory stick using usb_bulk_read() and usb_bulk_write() APIs. I get -2 error code when I try reading back the data from memory stick. I get proper return number of bytes while using usb_bulk_write() API. I am also not sure how to read the files which are already there into the USB memory stick?
Thanks and Regards,
njain


Reply With Quote