Werner Almesberger wrote:
Andy Green wrote:
This patch stops making Ethernet-over-USB as a built-in and makes it a
module instead. If you use NFS like that you will hate it.
Hmm, I understand the goal. Unfortunately, this also means that having
bad modules can now prevent you from ssh'ing in even more easily :-(
I just wish USB had ports, just like TCP does, or devices had hardware
that lets one emulate hubs ...
- Werner
USB does have something like ports. They are called endpoints. Plus the
samsung chip appears to allow you to setup 2 gadget endpoints, so you
can do something like what you are asking (if limited). You could also
make a multi-function device and create a driver for it that just
multiplexes the functionality you want. Like Ethernet-over-USB, serial,
and umass, etc. The driver would be needed on the host, though, and
isn't as convenient as using an existing driver.
|