From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 17:10:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0F89D6EE for ; Sun, 20 Jan 2013 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D257CC1B for ; Sun, 20 Jan 2013 17:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0KHA0CS033380 for ; Sun, 20 Jan 2013 17:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0KHA0HZ033375; Sun, 20 Jan 2013 17:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 20 Jan 2013 17:10:00 GMT Resent-Message-Id: <201301201710.r0KHA0HZ033375@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Waitman Gobble Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BB4E860F for ; Sun, 20 Jan 2013 17:02:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AC9DBBDF for ; Sun, 20 Jan 2013 17:02:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0KH2g5O059756 for ; Sun, 20 Jan 2013 17:02:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0KH2gr1059755; Sun, 20 Jan 2013 17:02:42 GMT (envelope-from nobody) Message-Id: <201301201702.r0KH2gr1059755@red.freebsd.org> Date: Sun, 20 Jan 2013 17:02:42 GMT From: Waitman Gobble To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/175454: update usbdevs and usb_quirk.c for SanDisk SDDR-289 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 17:10:01 -0000 >Number: 175454 >Category: usb >Synopsis: update usbdevs and usb_quirk.c for SanDisk SDDR-289 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 20 17:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Waitman Gobble >Release: FreeBSD 9.1-RELEASE >Organization: Waitman Gobble >Environment: FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #5 r245537M: Sun Jan 20 08:45:56 PST 2013 root@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 >Description: With a SanDisk ImageMate SDDR-289 usb 3.0 card reader attached to the computer, a reboot takes over 20 minutes. Shutdown is about 5 minutes, boot up is about 15. Adding the device to usbdevs and updating the quirks totally solves the reboot issue. # usbconfig -u 0 -a 4 dump_device_desc ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0009 idVendor = 0x0781 idProduct = 0xb6ba bcdDevice = 0x0124 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <11150005027> bNumConfigurations = 0x0001 >How-To-Repeat: >Fix: 1) add to sys/dev/usb/usbdevs: product SANDISK IMAGEMATE_SDDR289 0xb6ba ImageMate SDDR-289 2) add to sys/dev/usb/quirk/usb_quirk.c USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_GETMAXLUN), thank you. >Release-Note: >Audit-Trail: >Unformatted: