usb/94132: USB QUIRK for CENTURY EX35QUAT disk enclosure
Daniel Hartmeier
dhartmei at FreeBSD.org
Mon Mar 6 01:50:13 PST 2006
>Number: 94132
>Category: usb
>Synopsis: USB QUIRK for CENTURY EX35QUAT disk enclosure
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 06 09:50:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Daniel Hartmeier
>Release: FreeBSD 6.0-RELEASE-p5 i386
>Organization:
unorganized
>Environment:
System: FreeBSD silverstone.benzedrine.cx 6.0-RELEASE-p5 FreeBSD 6.0-RELEASE-p5 #0: Sun Mar 5 21:52:02 CET 2006 root at silverstone.benzedrine.cx:/usr/obj/usr/src/sys/SILVERSTONE i386
>Description:
CENTURY EX35QUAT USB disk enclosure is detected and attaches to umass, but after a random
amount of IO stalls in BBB.
# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(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), VIA(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb2:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00
port 1 addr 2: high speed, self powered, config 1, EX35QUAT(0x011e), CENTURY corporation(0x07f7), rev 1.00
port 2 powered
port 3 powered
port 4 powered
# dmesg
umass0: CENTURY corporation EX35QUAT, rev 2.00/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Century EX35QUAT 0100> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 1144542MB (2344022352 512 byte sectors: 255H 63S/T 145908C)
# tail /var/log/messages
Mar 5 18:26:56 silverstone kernel: umass0: BBB reset failed, TIMEOUT
Mar 5 18:29:06 silverstone kernel: umass0: BBB reset failed, TIMEOUT
Mar 5 18:31:16 silverstone kernel: umass0: BBB reset failed, TIMEOUT
>How-To-Repeat:
>Fix:
Blatantly stolen from kern/71031.
Index: usbdevs
===================================================================
RCS file: /pub/tmp/cvs/freebsd/src/sys/dev/usb/usbdevs,v
retrieving revision 1.232.2.1
diff -u -r1.232.2.1 usbdevs
--- usbdevs 1 Oct 2005 16:26:25 -0000 1.232.2.1
+++ usbdevs 5 Mar 2006 20:35:34 -0000
@@ -383,6 +383,7 @@
vendor ARASAN 0x07da Arasan
vendor ALLIEDCABLE 0x07e6 Allied Cable
vendor STSN 0x07ef STSN
+vendor CENTURY 0x07f7 Century Corp
vendor ZOOM 0x0803 Zoom
vendor BROADLOGIC 0x0827 BroadLogic
vendor HANDSPRING 0x082d Handspring
@@ -715,6 +716,9 @@
/* CASIO products */
product CASIO NAMELAND 0x4001 CASIO Nameland EZ-USB
+/* Century products */
+product CENTURY EX35QUAT 0x011e Century USB Disk Enclosure
+
/* Cherry products */
product CHERRY MY3000KBD 0x0001 My3000 keyboard
product CHERRY MY3000HUB 0x0003 My3000 hub
Index: umass.c
===================================================================
RCS file: /pub/tmp/cvs/freebsd/src/sys/dev/usb/umass.c,v
retrieving revision 1.122.2.1
diff -u -r1.122.2.1 umass.c
--- umass.c 29 Jul 2005 15:39:26 -0000 1.122.2.1
+++ umass.c 5 Mar 2006 20:40:51 -0000
@@ -317,6 +317,10 @@
};
Static struct umass_devdescr_t umass_devdescrs[] = {
+ { USB_VENDOR_CENTURY, USB_PRODUCT_CENTURY_EX35QUAT, RID_WILDCARD,
+ UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+ FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE
+ },
{ USB_VENDOR_ASAHIOPTICAL, PID_WILDCARD, RID_WILDCARD,
UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I,
RS_NO_CLEAR_UA
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-usb
mailing list