Hi Sebastien,

I am working with an TI Omap 1510 and a 2.4.15 linux kernel
on an embedded device. I would like to show to my pc the memory content of my mobile device via the USB port.

I have read some documentation and as far as i know
i have to use the mass storage interface class to write my device side USB driver.
That seems like overkill to just see the memory, where
all you need is a pointer (32 bits) and length ... that
could be done with a control request (use wIndex and
wValue to make the pointer, and nonstandard bRequestType).


I am looking for some sample code of driver making that,
and google couldn't help me... Anyone know where i could
find that kind of stuff ?
Not specifically for that TI processor.  But I've been
working on some hardware-neutral APIs to such USB device
hardware (vs the host side hardware found in PCs), and
just posted an update for it (you'll see it if you're
subscribed to linux-usb-devel).

The way it'd work is two drivers cooperating:  at the
lower level, one talks to the USB 1.1 function hardware
in the OMAP 1510, and abstracts it.  At the upper level,
code just queues I/O to the endpoints and implements
some protocol ... such as a custom "give me memory"
control request, or a standard mass storage protocol.

I'd certainly be interested in seeing someone write a
"gadget" driver that implements the usb mass-storage
protocol on top of that API ... such code would likely
get a certain amount of re-use!

- Dave




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to