From owner-freebsd-usb@FreeBSD.ORG Mon Jan 29 06:32:38 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC8E816A520 for ; Mon, 29 Jan 2007 06:32:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 5D5A613C4AA for ; Mon, 29 Jan 2007 06:32:38 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe07.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 397834364; Mon, 29 Jan 2007 07:32:36 +0100 From: Hans Petter Selasky To: perryh@pluto.rain.com Date: Mon, 29 Jan 2007 07:32:13 +0100 User-Agent: KMail/1.9.5 References: <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com> <200701281120.39855.hselasky@c2i.net> <45bd5bdc.A/uT8ocOP1CCCWnH%perryh@pluto.rain.com> In-Reply-To: <45bd5bdc.A/uT8ocOP1CCCWnH%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701290732.13714.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: adding quirks to umass(4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 06:32:38 -0000 On Monday 29 January 2007 03:28, perryh@pluto.rain.com wrote: > > > umass0: vendor 0x0784 product 0x4300, rev 1.10/3.00, addr 2 > > > umass0: Get Max Lun not supported (SHORT_XFER) > > > umass0: Invalid CSW: sig 0x43425355 should be 0x53425355 > > ... > > > > so I guess I need to set CAM_QUIRK_NOLUNS and something to adjust > > > the sig. This is on a Dell Optiplex GX1 with 6.1, and the camera > > > is a Vivitar ViviCam 3825. > > > > There is a quirk, WRONG_CSWSIG, that will fix this. > > How do I do that? Do I need to edit kernel sources and rebuild, > or can quirks be set up using something like camcontrol(8)? You need to edit the "sys/dev/usb/umass.c" sources. --HPS