usb/137616: [usbdevs] [patch]: usbdevs update: Please add JMicron's entry

Yoshikazu GOTO goto at on-link.jp
Mon Aug 10 06:00:13 UTC 2009


>Number:         137616
>Category:       usb
>Synopsis:       [usbdevs] [patch]: usbdevs update: Please add JMicron's entry
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 10 06:00:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yoshikazu GOTO
>Release:        7.2-RELEASE
>Organization:
>Environment:
>Description:
I get a HDD case that is connected to PC using USB2.0 and to HDD using S-ATA.
This case is used JMicron chip named JM20337.

Japanese Web page is here.
http://www.century.co.jp/products/pc/hdd-case/cps35u2.html

The output of usbdevs on 7.2-STABLE are as follows:
$ usbdevs -d
addr 1: UHCI root hub, Intel
  uhub0
addr 1: UHCI root hub, Intel
  uhub1
addr 1: EHCI root hub, Intel
  uhub2
addr 1: UHCI root hub, Intel
  uhub3
addr 1: UHCI root hub, Intel
  uhub4
addr 1: UHCI root hub, Intel
  uhub5
addr 1: EHCI root hub, Intel
  uhub6
 addr 2: USB Mass Storage Device, Myson Century, Inc.
   umass0
 addr 3: USB to ATA/ATAPI Bridge, JMicron
   umass1
$ usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: USB Mass Storage Device, Myson Century, Inc.
 addr 3: USB to ATA/ATAPI Bridge, JMicron


>How-To-Repeat:

>Fix:
I have 2 patches for 8-current.


Patch attached with submission follows:

--- /usr/src/sys/dev/usb/usbdevs.orig	2009-08-01 01:44:03.541985314 +0900
+++ /usr/src/sys/dev/usb/usbdevs	2009-08-10 14:22:07.816658498 +0900
@@ -598,6 +598,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
@@ -1539,6 +1540,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/storage/umass.c.orig	2009-06-27 06:47:37.000000000 +0900
+++ /usr/src/sys/dev/usb/storage/umass.c	2009-08-10 14:21:54.625561430 +0900
@@ -553,6 +553,10 @@
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		NO_TEST_UNIT_READY
 	},
+	{USB_VENDOR_JMICRON, USB_PRODUCT_JMICRON_JM20337, RID_WILDCARD,
+		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+		NO_SYNCHRONIZE_CACHE
+	},
 	{USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_FINECAM_L3, RID_WILDCARD,
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		NO_INQUIRY


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


More information about the freebsd-usb mailing list