kern/142228: [PATCH] add a USB-HDD to usb_quirk.c and usbdevs

Yoshikazu GOTO goto at on-link.jp
Sat Jan 2 05:50:01 UTC 2010


>Number:         142228
>Category:       kern
>Synopsis:       [PATCH] add a USB-HDD to usb_quirk.c and usbdevs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 02 05:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Yoshikazu GOTO
>Release:        FreeBSD 9.0-CURRENT
>Organization:
none
>Environment:
FreeBSD 9.0-CURRENT
>Description:
I would like to use a USB Mass Storage Device. Please add one entry to usb_quirk.c and usbdevs.


>How-To-Repeat:

>Fix:
--- /usr/src/sys/dev/usb/usbdevs	2010-01-01 01:17:43.000000000 +0900
+++ usbdevs	2010-01-02 14:05:20.000000000 +0900
@@ -603,6 +603,7 @@
 vendor PLANEX3		0x14ea	Planex Communications
 vendor SILICONPORTALS	0x1527	Silicon Portals
 vendor UBIQUAM		0x1529	UBIQUAM Co., Ltd.
+vendor JMICRON		0x152d	JMicron
 vendor UBLOX		0x1546	U-blox
 vendor PNY		0x154b	PNY
 vendor OQO		0x1557	OQO
@@ -1671,6 +1672,9 @@
 /* Jaton products */
 product JATON EDA		0x5704	Ethernet
 
+/* JMicron products */
+product	JMICRON JM20337		0x2338	USB to ATA/ATAPI Bridge
+
 /* JVC products */
 product JVC GR_DX95		0x000a	GR-DX95
 product JVC MP_PRX1		0x3008	MP-PRX1 Ethernet
--- /usr/src/sys/dev/usb/quirk/usb_quirk.c	2009-12-29 01:17:44.000000000 +0900
+++ usb_quirk.c	2010-01-02 14:04:27.000000000 +0900
@@ -225,6 +225,9 @@
 	USB_QUIRK(IOMEGA, ZIP100, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
 	    UQ_MSC_FORCE_PROTO_SCSI,
 	    UQ_MSC_NO_TEST_UNIT_READY), /* XXX ZIP drives can also use ATAPI */
+	USB_QUIRK(JMICRON, JM20337, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
+	    UQ_MSC_FORCE_PROTO_SCSI,
+	    UQ_MSC_NO_SYNC_CACHE),
 	USB_QUIRK(KYOCERA, FINECAM_L3, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
 	    UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY),
 	USB_QUIRK(KYOCERA, FINECAM_S3X, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_CBI,


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list