Some information on USB API
Meher <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I would like to know if there is any specific API that will be
used by the Applications that read/write to USB devices. For example
if a flash device is plugged into a system then the HCD will enumerate
the device and load the appropriate device driver for that flash
device to handle the device. Now say if the USB flash drive is mounted
as /dev/flashd. Then application will not even bother if he is a USB
device or on board flash and just do the normal read/write from
/dev/flashd?
When application does a read or even mount of the flash device how
is that information passed on to the device driver so that it can
convert that to specific Ctrl/Bulk transfer types and pass it on to
HCD?
Does the same process happen for all of the devices? Like if a USB
keyboard is connected and if I want to read from USB keyboard, I will
still read from standard keyboard interface?
If I use libusb, can I get develop the driver in the user space and
get rid of the driver at kernel level? Also does libusb work on all
HCD's(UHCI, EHCI, Mentor graphics MUSBHDRC etc.,)?
--
Regards,
Meher
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel