ICY BOX Sata USB box runs ar 1M instead of 40M+

2012-03-10 Thread Julian H. Stacey
Hi USB folks,
For external disk enclosure, trade name ICY BOX
/var/log messages shows USB configuring for 1.000MB/s

The cardboard box I bought it in from shop says 
1 x 2.5 SATA, 1 x USB 3.0 IB-231StU3 
http://www.icybox.de-
http://www.raidsonic.de/en/products/details.php?we_objectID=7564
Clicking Spec says: USB 3.0 up to 5 Gbit/s

The HP notebook
http://berklix.com/~jhs/hardware/hp/pavilion/dm3-1155ea
has 4 USB 2.0 ports.

If I connect a USB stick on the same port, the notebook offers 40M.

The disk on all 4 ports only offers 1M.
I tried external power to disk too, no help
(well I'd hoped maybe low V might have sabotaged negotiation - long 
shot ;-)

I suspect/ hope I just need to do a quirk table entry ? Hints please ?

8.2-RELEASE amd64,
I'd prefer to stay on 8.2 but I have a smallish space for a temporary current 
or 9 if I have to.

/var/log/messages:
ugen0.2: 01234567890123456789012345678901234567890123 at usbus0
umass0: 01234567890123456789012345678901234567890123 
012345678901234567890123456789012345678901234567, class 0/0, rev 2.10/1.00, 
addr 2 on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: WDC WD25 00BEKT-60A25T1 02.0 Fixed Direct Access SCSI-5 device 
da0: 1.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)

/sbin/devd -f /dev/null -d -D   (extract)

Processing event '+ugen0.2 vendor=0x174c product=0x55aa devclass=0x00 
devsubclass=0x00 sernum=0123456789ABCDEF0188 release=0x0100 at port=2 on 
ugen0.1'
Pushing table
setting device-name=ugen0.2
setting vendor=0x174c
setting product=0x55aa
setting devclass=0x00
setting devsubclass=0x00
setting sernum=0123456789ABCDEF0188
setting release=0x0100
Processing attach event
Popping table
Processing event '!system=USB subsystem=DEVICE type=ATTACH cdev=ugen0.2 
vendor=0x174c product=0x55aa devclass=0x00 devsubclass=0x00 
sernum=0123456789ABCDEF0188 release=0x0100 mode=host port=2 parent=ugen0.1'
Pushing table
setting system=USB
setting subsystem=DEVICE
setting type=ATTACH
setting cdev=ugen0.2
setting vendor=0x174c
setting product=0x55aa
setting devclass=0x00
setting devsubclass=0x00
setting sernum=0123456789ABCDEF0188
setting release=0x0100
setting mode=host
setting port=2
setting parent=ugen0.1
Processing notify event
Popping table
Processing event '!system=USB subsystem=INTERFACE type=ATTACH 
cdev=ugen0.2 vendor=0x174c product=0x55aa devclass=0x00 devsubclass=0x00 
sernum=0123456789ABCDEF0188 release=0x0100 mode=host interface=0 endpoints=2 
intclass=0x08 intsubclass=0x06 intprotocol=0x50'
Pushing table
setting system=USB
setting subsystem=INTERFACE
setting type=ATTACH
setting cdev=ugen0.2
setting vendor=0x174c
setting product=0x55aa
setting devclass=0x00
setting devsubclass=0x00
setting sernum=0123456789ABCDEF0188
setting release=0x0100
setting mode=host
setting interface=0
setting endpoints=2
setting intclass=0x08
setting intsubclass=0x06
setting intprotocol=0x50
Processing notify event
Popping table
Processing event '? at bus=1 hubaddr=2 port=0 devaddr=2 interface=0 
vendor=0x174c product=0x55aa devclass=0x00 devsubclass=0x00 
sernum=0123456789ABCDEF0188 release=0x0100 intclass=0x08 intsubclass=0x06 on 
uhub0'
Pushing table
setting bus=1
setting hubaddr=2
setting port=0
setting devaddr=2
setting interface=0
setting vendor=0x174c
setting product=0x55aa
setting devclass=0x00
setting devsubclass=0x00
setting sernum=0123456789ABCDEF0188
setting release=0x0100
setting intclass=0x08
setting intsubclass=0x06
setting bus=uhub0
Processing nomatch event
Popping table
Processing event '+umass0 vendor=0x174c product=0x55aa devclass=0x00 
devsubclass=0x00 sernum=0123456789ABCDEF0188 release=0x0100 intclass=0x08 
intsubclass=0x06 at bus=1 hubaddr=2 port=0 devaddr=2 interface=0 vendor=0x174c 
product=0x55aa devclass=0x00 devsubclass=0x00 sernum=0123456789ABCDEF0188 
release=0x0100 intclass=0x08 intsubclass=0x06 on uhub0'
Pushing table
setting device-name=umass0
setting vendor=0x174c
setting product=0x55aa
setting devclass=0x00
setting devsubclass=0x00
setting sernum=0123456789ABCDEF0188
setting release=0x0100
setting intclass=0x08
setting intsubclass=0x06
Processing attach event
Popping table

Re: ICY BOX Sata USB box runs ar 1M instead of 40M+

2012-03-10 Thread Julian H. Stacey
 Hi USB folks,

PS In case it adds info

  ohci0: OHCI (generic) USB controller mem 0xf2406000-0xf2406fff irq 16 at 
device 18.0 on pci0
  ohci0: [ITHREAD]
  usbus0: OHCI (generic) USB controller on ohci0
  ohci1: OHCI (generic) USB controller mem 0xf2405000-0xf2405fff irq 16 at 
device 18.1 on pci0
  ohci1: [ITHREAD]
  usbus1: OHCI (generic) USB controller on ohci1
  ehci0: EHCI (generic) USB 2.0 controller mem 0xf2407500-0xf24075ff irq 17 
at device 18.2 on pci0
  ehci0: [ITHREAD]
  usbus2: EHCI version 1.0
  usbus2: EHCI (generic) USB 2.0 controller on ehci0
  ohci2: OHCI (generic) USB controller mem 0xf2404000-0xf2404fff irq 18 at 
device 19.0 on pci0
  ohci2: [ITHREAD]
  usbus3: OHCI (generic) USB controller on ohci2
  ehci1: EHCI (generic) USB 2.0 controller mem 0xf2407400-0xf24074ff irq 19 
at device 19.2 on pci0
  ehci1: [ITHREAD]
  usbus4: EHCI version 1.0
  usbus4: EHCI (generic) USB 2.0 controller on ehci1
  pci0: serial bus, SMBus at device 20.0 (no driver attached)
  
  usbus0: 12Mbps Full Speed USB v1.0
  usbus1: 12Mbps Full Speed USB v1.0
  usbus2: 480Mbps High Speed USB v2.0
  usbus3: 12Mbps Full Speed USB v1.0
  usbus4: 480Mbps High Speed USB v2.0
  
  ugen0.1: ATI at usbus0
  uhub0: ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus0
  ugen1.1: ATI at usbus1
  uhub1: ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus1
  ugen2.1: ATI at usbus2
  uhub2: ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus2
  ugen3.1: ATI at usbus3
  uhub3: ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1 on usbus3
  ugen4.1: ATI at usbus4
  uhub4: ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1 on usbus4
  uhub0: 3 ports with 3 removable, self powered
  uhub1: 3 ports with 3 removable, self powered
  uhub3: 3 ports with 3 removable, self powered
  
  Root mount waiting for: usbus4 usbus2
  Root mount waiting for: usbus4 usbus2
  uhub2: 6 ports with 6 removable, self powered
  uhub4: 6 ports with 6 removable, self powered
  ugen2.2: Chicony Electronics Co., Ltd. at usbus2
  
  ugen0.2: 01234567890123456789012345678901234567890123 at usbus0
  umass0: 01234567890123456789012345678901234567890123 
012345678901234567890123456789012345678901234567, class 0/0, rev 2.10/1.00, 
addr 2 on usbus0
  umass0:  SCSI over Bulk-Only; quirks = 0x
  umass0:0:0:-1: Attached to scbus0
  da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
  da0: WDC WD25 00BEKT-60A25T1 02.0 Fixed Direct Access SCSI-5 device 
  da0: 1.000MB/s transfers
  da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: ICY BOX Sata USB box runs ar 1M instead of 40M+

2012-03-10 Thread Julian H. Stacey
Hans Petter Selasky wrote:
 On Saturday 10 March 2012 15:16:05 Julian H. Stacey wrote:
  Hi USB folks,
  For external disk enclosure, trade name ICY BOX
  /var/log messages shows USB configuring for 1.000MB/s
  
  The cardboard box I bought it in from shop says
  1 x 2.5 SATA, 1 x USB 3.0 IB-231StU3
  http://www.icybox.de-
  http://www.raidsonic.de/en/products/details.php?we_objectID=7564
  Clicking Spec says: USB 3.0 up to 5 Gbit/s
  
  The HP notebook
  http://berklix.com/~jhs/hardware/hp/pavilion/dm3-1155ea
  has 4 USB 2.0 ports.
  
  If I connect a USB stick on the same port, the notebook offers 40M.
  
  The disk on all 4 ports only offers 1M.
  I tried external power to disk too, no help
  (well I'd hoped maybe low V might have sabotaged negotiation - long shot
  ;-)
  
  I suspect/ hope I just need to do a quirk table entry ? Hints please ?
  
  8.2-RELEASE amd64,
  I'd prefer to stay on 8.2 but I have a smallish space for a temporary
  current or 9 if I have to.
 
 Hi,
 
 Are there any errors in dmesg?

Not that I can see,
(I've got a cold so I might have missed something but dont think so)
After a fresh reboot  plugging in disk I see:
ugen0.2: 01234567890123456789012345678901234567890123 at usbus0
umass0: 01234567890123456789012345678901234567890123 
012345678901234567890123456789012345678901234567, class 0/0, rev 2.10/1.00, 
addr 2 on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: WDC WD25 00BEKT-60A25T1 02.0 Fixed Direct Access SCSI-5 device 
da0: 1.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
GEOM: da0: partition 4 does not start on a track boundary.
GEOM: da0: partition 4 does not end on a track boundary.
GEOM: da0: partition 3 does not start on a track boundary.
GEOM: da0: partition 3 does not end on a track boundary.
GEOM: da0: partition 2 does not start on a track boundary.
GEOM: da0: partition 2 does not end on a track boundary.
GEOM: da0: partition 1 does not start on a track boundary.
GEOM: da0: partition 1 does not end on a track boundary.


 1.0 MByte/s is because it enumerates at FULL speed instead of HIGH speed.


Umm. Yes the puzzle is why it doesnt do USB-2 = High.


 Check with usbconfig

ugen0.1: OHCI root HUB ATI at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=SAVE
ugen1.1: OHCI root HUB ATI at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=SAVE
ugen2.1: EHCI root HUB ATI at usbus2, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE
ugen3.1: OHCI root HUB ATI at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=SAVE
ugen4.1: EHCI root HUB ATI at usbus4, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE
ugen0.2: 012345678901234567890123456789012345678901234567 
012345678901234567890123456789012345, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.2: CNF9012 Chicony Electronics Co., Ltd. at usbus2, cfg=0 
md=HOST spd=HIGH (480Mbps) pwr=ON

usbconfig -d ugen0.2 dump_device_desc
ugen0.2: 012345678901234567890123456789012345678901234567 
012345678901234567890123456789012345, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0210 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x174c 
  idProduct = 0x55aa 
  bcdDevice = 0x0100 
  iManufacturer = 0x0002  01234567890123456789012345678901234567890123
  iProduct = 0x0003  012345678901234567890123456789012345678901234567
  iSerialNumber = 0x0001  0123456789ABCDEF0188
  bNumConfigurations = 0x0001 

usbconfig -d ugen0.2 dump_curr_config_desc
ugen0.2: 012345678901234567890123456789012345678901234567 
012345678901234567890123456789012345, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON


 Configuration index 0

bLength = 0x0009 
bDescriptorType = 0x0002 
wTotalLength = 0x0020 
bNumInterfaces = 0x0001 
bConfigurationValue = 0x0001 
iConfiguration = 0x  no string
bmAttributes = 0x00c0 
bMaxPower = 0x 

Interface 0
  bLength = 0x0009 
  bDescriptorType = 0x0004 
  bInterfaceNumber = 0x 
  bAlternateSetting = 0x 
  bNumEndpoints = 0x0002 
  bInterfaceClass = 0x0008 
  bInterfaceSubClass = 0x0006 
  bInterfaceProtocol = 0x0050 
  iInterface = 0x  no string

 Endpoint 0
bLength = 0x0007 
bDescriptorType = 0x0005 
bEndpointAddress = 0x0081  IN
bmAttributes = 0x0002  BULK
wMaxPacketSize = 0x0040 
bInterval = 0x 
bRefresh = 0x 
bSynchAddress = 0x 

 Endpoint 1
bLength = 0x0007 
bDescriptorType = 0x0005 
bEndpointAddress = 0x0002  OUT
bmAttributes = 0x0002  BULK
wMaxPacketSize = 0x0040 
bInterval 

Re: ICY BOX Sata USB box runs ar 1M instead of 40M+

2012-03-10 Thread Hans Petter Selasky
On Saturday 10 March 2012 20:33:16 Julian H. Stacey wrote:
 usbconfig dump_quirk_names | more
 shows nothing I might think of as Force this to USB-2 high speed.

Hi Julian,

There is no such quirk. You can only do the opposite:

sysctl -a hw.usb.ehci.no_hs

The EHCI port reset code is found here:

/sys/dev/usb/controller/ehci.c


Look for ehci_disown(). Maybe we need to reset the port multiple times 
before giving up High-Speed USB ?


--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: ICY BOX Sata USB box runs ar 1M instead of 40M+

2012-03-10 Thread Julian H. Stacey
Hi,
Reference:
 From: Hans Petter Selasky hsela...@c2i.net 
 Date: Sat, 10 Mar 2012 20:37:58 +0100 
 Message-id:   201203102037.58043.hsela...@c2i.net 

Hans Petter Selasky wrote:
 On Saturday 10 March 2012 20:33:16 Julian H. Stacey wrote:
  usbconfig dump_quirk_names | more
  shows nothing I might think of as Force this to USB-2 high speed.
 
 Hi Julian,
 
 There is no such quirk. You can only do the opposite:
 
 sysctl -a hw.usb.ehci.no_hs
 
 The EHCI port reset code is found here:
 
 /sys/dev/usb/controller/ehci.c
 
 
 Look for ehci_disown(). Maybe we need to reset the port multiple times 
 before giving up High-Speed USB ?

Thanks Hans,
I'll look more tomorrow.

Meantime I tried disc box on another 8.2 amd64 PC.  which doesnt
even see it, might be a sagging cable ?  Or maybe something to do
with USB-3 Blue plug on end of cable that goes into PC.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org