From owner-freebsd-bugs Sun Jan 12 20:20: 5 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A3B737B401 for ; Sun, 12 Jan 2003 20:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C97FC43F3F for ; Sun, 12 Jan 2003 20:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0D4K2NS081713 for ; Sun, 12 Jan 2003 20:20:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0D4K2f9081712; Sun, 12 Jan 2003 20:20:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79C5737B401 for ; Sun, 12 Jan 2003 20:12:20 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EA6843E4A for ; Sun, 12 Jan 2003 20:12:20 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.6/8.12.6) with ESMTP id h0D4CEYp000421; Sun, 12 Jan 2003 20:12:14 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.6/8.12.6/Submit) id h0D4CELb000420; Sun, 12 Jan 2003 20:12:14 -0800 (PST) Message-Id: <200301130412.h0D4CELb000420@apollo.backplane.com> Date: Sun, 12 Jan 2003 20:12:14 -0800 (PST) From: Matthew Dillon Reply-To: Matthew Dillon To: FreeBSD-gnats-submit@FreeBSD.org Cc: Nate Lawson X-Send-Pr-Version: 3.113 Subject: kern/47006: Quirk entry required for LEXR PLUG DRIVE USB diskkey Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47006 >Category: kern >Synopsis: Quirk entry required for LEXR PLUG DRIVE USB diskkey >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 12 20:20:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Matthew Dillon >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD apollo.backplane.com 4.7-STABLE FreeBSD 4.7-STABLE #14: Tue Nov 12 20:14:37 PST 2002 dillon@apollo.backplane.com:/FreeBSD/FreeBSD-4.x/src/sys/compile/APOLLO i386 FreeBSD-4.7p3 >Description: A bug report was posted on hackers by George Hartzell regarding his keychain usb storage device. I suggested that he create a quirk entry in cam/scsi/scsi_da.c. He replied that the quirk entry successfully solved the problem. I have included George's email below, please follow-up with him if you need more information. I also asked him to generate output from usbdevs -v, which he did. :From: George Hartzell :To: Matthew Dillon :Cc: Paul Halliday , freebsd-hackers@FreeBSD.ORG :Subject: Re: usb keychain memory disk doesn't work on 4.7p3 : :Matthew Dillon writes: : > [...] : > Urk! Sorry! I plugged in the names for one of my keychains. Don't : > use Stormblue :-) Use yours. Try: : > : > { : > {T_DIRECT, SIP_MEDIA_REMOVABLE, "LEXAR*", "*", "*"}, : > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE : > }, : > : > And als osend me the output of 'usbdevs -v' (with either the old kernel : > or the new one). : :It works! Cool, I've got a quirk. Wow! Thanks! : :> sudo usbdevs -v :Controller /dev/usb0: :addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 : port 1 powered : port 2 addr 2: power 90 mA, config 1, LEXR PLUG DRIVE(0x0080), LEXR PLUG DRIVE(0x05dc), rev 0.01 :> : :g. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message