Changes between Version 18 and Version 19 of Docs/Prog/Manual/DeviceSupport/USB


Ignore:
Timestamp:
09/26/13 13:42:48 (11 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/DeviceSupport/USB

    v18 v19  
    1515}}}
    1616The files will then appear in the path /mnt/fl1 such as:
     17
     18Some USB flash drives may be formatted without having a partition table. In this case the mount command is:
     19{{{
     20mount –t vfat /dev/sda /mnt/fl1
     21}}}
     22
     23If a second USB flash drive is connected before the first one is unmounted or if the first one is removed without an proper unmount the drive will appear as sdb1 or sdb.
     24
     25{{{
     26mount –t vfat /dev/sdb1 /mnt/fl1
     27}}}
     28
     29or without partition table:
     30
     31{{{
     32mount –t vfat /dev/sdb /mnt/fl1
     33}}}
     34
     35To find out the status of connected USB devices you may view the virtual file /proc/bus/usb/devices
     36{{{
     37$ cat /proc/bus/usb/devices
     38
     39T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
     40B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
     41D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
     42P:  Vendor=1d6b ProdID=0002 Rev= 2.06
     43S:  Manufacturer=uClinux 2.6.29 ehci_hcd
     44S:  Product=Freescale On-Chip EHCI Host Controller
     45S:  SerialNumber=fsl-ehci.0
     46C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
     47I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
     48E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms
     49
     50T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 4
     51D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
     52P:  Vendor=0451 ProdID=2046 Rev= 1.25
     53C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
     54I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
     55E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms
     56
     57T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
     58D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
     59P:  Vendor=0781 ProdID=5150 Rev= 0.10
     60S:  Manufacturer=SanDisk Corporation
     61S:  Product=Cruzer Mini
     62S:  SerialNumber=20043515110EDEA28110
     63C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
     64I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
     65E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
     66E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
     67}}}
     68In the example above there is a SanDisk Cruzer Mini flash drive attached.
    1769
    1870[[Image(usb_mount.jpg)]]