On Tue, 11 Jan 2005, sai chaitanya wrote:

> Hi All Developers, 

This is the linux-usb-users list, not the linux-usb-devel list.

> I've a few urgent queries  
>  
> 1.  This query is related to bulk read/write . I'am using libusb-0.1.8-2.1, 
> through this I   
> want to write and read data from Bulk endpoints. I've used "usb_write_bulk" 
> to write to the 
> USB device which is a Pen Drive and this operation is reporting success. But 
> when I'am 
> performing a read operation, it is unable to read anything and reporting " 
> Illegal Seek ", I 
> suppose that I should use " SCSI COMMANDS" in sync with libusb but unable to 
> approach 
> further.  

If you're trying to communicate with a pen drive, why aren't you using the 
regular usb-storage driver?  Why do you need to use libusb?

> 2. Is there any sample usb examples for writing a usb driver with multiple 
> interfaces.  

There are such drivers but they aren't very simple.  Audio and video 
drivers, for instance, usually use more than one interface.  Look in the 
kernel source code under drivers/usb/media or drivers/usb/image.

Alan Stern



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to