Michael Schnell schreef:
assume that you have 2 platforms with usb support. In fact, one
device and a PC.
On the first platform, you have a USB device attached (e.g. a memory
stick).
You connect the platform with the PC through their usb ports.
Is there any way you can control the memory stick through the PC?
(The first platform will act something like a USB relay?).
Its not mandatory that the platform can access the USB device at the
same time. I can even have 2 different firmwares, one for normal
use(ttyUSBx) and another as a Linux Hub. How can I make mt platform
behave like a usb hub? (I have no experience in USB, any hints are
welcomed).
To me this seems like a very dangerous thing. The PC software will
assume that the data on the memory stick is unchanged unless it is
plugged out and re-discovered. So if your device works as a hub and
under the covers accesses the memory stick, the PC will easily fail or
corrupt the data on the stick.
Seems that Dimitris only wants one of the two options: Either a very
expensive memory stick or a device running linux with some added flash
memory. In that case the problem you mentioned doesn't exist, otherwise
I also doubt that it's going to work.
Of course the "expensive memory stick" option can also be implemented
with Linux running on the uC, but it indeed shouldn't access the memory
stick on it's own then.
How is the device connected to the PC? What is between the USB connector
and the microcontroller? If it's such a nice FTDI serial converter, than
it's not going to work anyway (without a lot of work).
Kind regards,
Remco Poelstra
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev