2015年11月9日 星期一


USB auto-mounting lighting considerations



道德經:
反者道之動;弱者道之用。天下萬物生於有,有生於無。

USB device detection method is UUID (Unversally unique identifier) as a USB storage(disk) identifier, This method can surely distinguish and identify a general USB disk with USB 3G dongle storage, even it is a USB printer, in theoretics and in practice,
In short, when any USB device( a USB disk, 3G/4G dongle, printer ) is inserting, just only two detecting states will occur, one is mounted successfully, and the second is  mounting failure. In the UUID identifying method, we just have two conditions:
Ø   Case I: If it is “mount successfully”, then it means the USB device is a  disk (storage) only, it is impossible a 3G/4G dongle, even a printer

Ø   Case II: If it is "mounting failure", then it means the USB device is a unrecognized or unsupported device.
Ø   Case III: If it is remove the USB disk from USB port, then the USB LED shall be turn off.
Attention:
USB LED ON/OFF doesn’t mean software meaning of “safe removal” for the USB disk

沒有留言:

張貼留言