From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 2 05:50:01 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5ED5106566B for ; Sat, 2 Jan 2010 05:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 781ED8FC19 for ; Sat, 2 Jan 2010 05:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o025o18Y072277 for ; Sat, 2 Jan 2010 05:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o025o1gw072276; Sat, 2 Jan 2010 05:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 2 Jan 2010 05:50:01 GMT Resent-Message-Id: <201001020550.o025o1gw072276@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yoshikazu GOTO Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 174371065679 for ; Sat, 2 Jan 2010 05:45:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 059678FC0A for ; Sat, 2 Jan 2010 05:45:57 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o025juWF097742 for ; Sat, 2 Jan 2010 05:45:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o025juIR097741; Sat, 2 Jan 2010 05:45:56 GMT (envelope-from nobody) Message-Id: <201001020545.o025juIR097741@www.freebsd.org> Date: Sat, 2 Jan 2010 05:45:56 GMT From: Yoshikazu GOTO To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/142228: [PATCH] add a USB-HDD to usb_quirk.c and usbdevs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 05:50:01 -0000 >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: