* USB drivers
@ 2009-04-01 17:24 Ron Madrid
2009-04-02 7:03 ` Li Yang-R58472
0 siblings, 1 reply; 2+ messages in thread
From: Ron Madrid @ 2009-04-01 17:24 UTC (permalink / raw)
To: linuxppc-dev
I have a custom board based on the MPC8313ERDB and have communications
capabilities over Ethernet using internet sockets. Basically, just data
transfer from the host (my board) to a client (a PC). I want to be able to
perform similar transactions across USB.
I have done some cursory reading but am a little unclear on how I should
approach this. Am I going to have to write a host driver for my custom
board, and also write a gadget driver for any client machine? Also, since I
am desiring to do simple data transfers only, which drivers could I use as a
point of reference for my application?
Thanks in advance for any tips and suggestions.
Ron
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: USB drivers
2009-04-01 17:24 USB drivers Ron Madrid
@ 2009-04-02 7:03 ` Li Yang-R58472
0 siblings, 0 replies; 2+ messages in thread
From: Li Yang-R58472 @ 2009-04-02 7:03 UTC (permalink / raw)
To: ron_madrid, linuxppc-dev
> I have a custom board based on the MPC8313ERDB and have=20
> communications capabilities over Ethernet using internet=20
> sockets. Basically, just data transfer from the host (my=20
> board) to a client (a PC). I want to be able to perform=20
> similar transactions across USB.
>=20
> I have done some cursory reading but am a little unclear on=20
> how I should approach this. Am I going to have to write a=20
> host driver for my custom board, and also write a gadget=20
> driver for any client machine? Also, since I am desiring to=20
> do simple data transfers only, which drivers could I use as a=20
> point of reference for my application?
>=20
> Thanks in advance for any tips and suggestions.
Linux has a g_ether gadget, which can simulate a ethernet tunnal over
USB. If you already have the communication code through ethernet, it
will be easier to make use of that gadget. However, it has more
overhead than pure usb transactions. The best way is like you said,
custom gadget driver and host driver.
- Leo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-02 7:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-01 17:24 USB drivers Ron Madrid
2009-04-02 7:03 ` Li Yang-R58472
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox