LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Can Linux emulate a USB drive? (https://www.linuxquestions.org/questions/linux-hardware-18/can-linux-emulate-a-usb-drive-806870/)

andrew_nh 05-09-2010 08:40 PM

Can Linux emulate a USB drive?
 
This is an interesting question. Can Linux emulate a USB disk? Why would you want to do this you ask? Say you have a digital picture frame that uses a USB thumb drive you could connect your computer to it and quickly change what was on the screen.

I realize you need some special hardware for this as both the PC and the frame would want to be USB masters. But there are USB transfer cables you can buy on-line that do USB master to master connections.

I have seen other users ask this question with no answers. So maybe it's not possible?

Simon Bridge 05-10-2010 06:01 AM

Simple answer - yes.

For the photoframe approach, you want to pretend to be a UMS device.
It is still not clear why you'd want to do this. Try to come up with a problem that is best solved by this approach.

For another context see:
http://www.linuxquestions.org/questi...device-654308/

smoker 05-10-2010 06:07 AM

Plug both together using A to A usb cables.

Basically, try it and see what happens. Then you can answer all those questions.

andrew_nh 05-10-2010 08:24 AM

Quote:

Originally Posted by Simon Bridge (Post 3963142)
Simple answer - yes.

For the photoframe approach, you want to pretend to be a UMS device.
It is still not clear why you'd want to do this. Try to come up with a problem that is best solved by this approach.

For another context see:
http://www.linuxquestions.org/questi...device-654308/

Thanks, I want to do this so I can for example show a live picture from a web can on the frame. The picture would be updated every minute or so.

How can I do this? Is there a Daemon that can be run to emulate a USB key?

jefro 05-10-2010 03:10 PM

What you want to do is change a usb port from Host I/F to storage. It can be done on some usb chips. Some of the portable devices can do that.


All times are GMT -5. The time now is 02:22 AM.