I would like to use an old phone as a USB Mass storage
device/slave, but read/writes to a Network share. So I can attach it to the Kitchen TV and direct it to a
Attempt so far:
My test device is an unbranded tablet, which appears to try to clone a HTC Passion. I'm able to access network shares from it, and make a mount point on the SD card of device.
However, when I activate the "USB Mass Storage", it totally unmounts every thing related to the internal/external storage, so it is accessible via the usb cable to the Host computer only. ;(
When I remount the card and then remount the network share - it just makes it have a hissy-fit, and as you can guess its does not appear to read/write correctly.
Is there something available to do this?
I’m kind-of familiar with USB programming from a Linux Host point of view, because I used to use
/proc/bus/usb/devices lsusb… to know where to read/write the packets to. But I don’t know how to do a program to act as a client/slave device.
I’m not aware of how to access the USB interface because I do not know where the io-file/memory address point could possibly be?
/sys/bus/usb does not appear to help me.
I’m defiantly missing something here, due to lack of knowledge. :(
I know I’m asking to convert/overlay a block device on a network share, but I’ll worry about that later :)