From owner-freebsd-current Mon Jan 20 23: 2:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96D4E37B401 for ; Mon, 20 Jan 2003 23:02:17 -0800 (PST) Received: from alpha.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2544643F13 for ; Mon, 20 Jan 2003 23:02:16 -0800 (PST) (envelope-from culverk@yumyumyum.org) Received: from alpha.yumyumyum.org (localhost [127.0.0.1]) by alpha.yumyumyum.org (8.12.6/8.12.6) with ESMTP id h0L71aXM018310; Tue, 21 Jan 2003 02:01:37 -0500 (EST) (envelope-from culverk@yumyumyum.org) Received: from localhost (culverk@localhost) by alpha.yumyumyum.org (8.12.6/8.12.6/Submit) with ESMTP id h0L71aWp018307; Tue, 21 Jan 2003 02:01:36 -0500 (EST) (envelope-from culverk@yumyumyum.org) X-Authentication-Warning: alpha.yumyumyum.org: culverk owned process doing -bs Date: Tue, 21 Jan 2003 02:01:36 -0500 (EST) From: Kenneth Culver To: Nate Lawson Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD panic with umass In-Reply-To: Message-ID: <20030121015437.I18263-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.3 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING,AWL version=2.31 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG here are a few pointers when you look at the linux driver: several devices in linux/drivers/usb/storage/unusual_devs.h have the quirk flag: US_FL_FIX_INQUIRY. in the same directory, searching for USB_FL_FIX_INQUIRY yields the following in usb.c: /* Handle those devices which need us to fake * their inquiry data */ if ((us->srb->cmnd[0] == INQUIRY) && (us->flags & US_FL_FIX_INQUIRY)) { unsigned char data_ptr[36] = { 0x00, 0x80, 0x02, 0x02, 0x1F, 0x00, 0x00, 0x00}; US_DEBUGP("Faking INQUIRY command\n"); fill_inquiry_response(us, data_ptr, 36); us->srb->result = GOOD << 1; So unless I'm reading it wrong, this device can't respond to a basic inquiry :-P Ken > I'll take a look at the Linux driver but I'd be very surprised if the > device can't even respond to a basic inquiry (extended inquiry could > cause problems). > > -Nate > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message