![]() ![]() The g_file_storage driver behaves as a USB Mass Storage device such as a USB hard-disk or USB flash drive. Most of the info in this article was taken from Gatework's wiki Available modes and their drivers (in linux kernel) The USB port you use with this feature must be native, not generated by independent controllers (connected over PCIe usually), nor by a USB hub (that has a well-defined upstream port and downstream ports). This feature requires hardware support and its own drivers, and some kind of system configuration before being used. ![]() Yes, there is a Linux system inside them, among other things.Īlso most Android phones can do this, to show themselves as mass storage (usually not anymore in newer phones), to show themselves as MTP devices (most modern smartphones do this) so you can transfer files over, and as ethernet ports (when you enable usb tethering). To make an example, most modern 3G/4G dongles use this functionality to show themselves as: ethernet port (to provide the network connection), some serial ports (for comntrolling them), a CD drive (that holds an installer for some program to use them on Windows/MacOS) and usb storage (if they have a microSDcard port). It allows to connect your device as if it was a USB peripheral of various types (serial port, usb storage, ethernet port, CD drive, audio device, keyboard/mouse and more). This Linux functionality is a bit obscure to most people yet very commonplace in consumer embedded linux devices.
0 Comments
Leave a Reply. |