Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 2004 16:14:46 +0100
From:      Darksidex <humprhey@gmail.com>
To:        freebsd-usb@freebsd.org
Subject:   How to mount usb2 devices
Message-ID:  <41CD83E6.1010304@gmail.com>

next in thread | raw e-mail | index | archive | help
I want to mount an external usb20 HD. I try this:
#mount_msdosfs /dev/da0s1 /mnt  (yes it is in Fat32 for windows 
compatibility, I need it)
and it works, but I think that it is mounted like an usb1.1 device 
because the transfer speed is very low.

# diskinfo -tv /dev/da0
/dev/da0
       512             # sectorsize
       200049647616    # mediasize in bytes (186G)
       390721968       # mediasize in sectors
       24321           # Cylinders according to firmware.
       255             # Heads according to firmware.
       63              # Sectors according to firmware.

Seek times:
       Full stroke:      250 iter in   6.311385 sec =   25.246 msec
       Half stroke:      250 iter in   4.893561 sec =   19.574 msec
       Quarter stroke:   500 iter in   7.958041 sec =   15.916 msec
       Short forward:    400 iter in   3.085002 sec =    7.713 msec
       Short backward:   400 iter in   2.780074 sec =    6.950 msec
       Seq outer:       2048 iter in   6.159274 sec =    3.007 msec
       Seq inner:       2048 iter in   6.163366 sec =    3.009 msec
Transfer rates:
       outside:       102400 kbytes in   6.701524 sec =    15280 kbytes/sec
       middle:        102400 kbytes in   6.700645 sec =    15282 kbytes/sec
       inside:        102400 kbytes in   6.702691 sec =    15277 kbytes/sec

My kernel configuration:

device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ukbd            # Keyboard
device          ulpt            # Printer
device          umass           # Disks/Mass storage - Requires scbus and da
device          ums             # Mouse
device          urio            # Diamond Rio 500 MP3 player
device          uscanner        # Scanners
device          ehci

and usbdevs output:

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, EasyTrack Optical 
U+P(0x0019), KYE(0x0458), rev 0.00
 port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 addr 2: high speed, self powered, config 1, USB2.0 Storage 
Device(0x6830), Cypress Semiconductor(0x04b4), rev 0.01
 port 4 powered
 port 5 powered
 port 6 powered



PD: If this list is not for this message, I'm sorry, tell me where I can 
send it, and I will do it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41CD83E6.1010304>