Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2007 11:20:39 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: adding quirks to umass(4)
Message-ID:  <200701281120.39855.hselasky@c2i.net>
In-Reply-To: <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com>
References:  <45bc10d0.uA36rj8LmuUpXUxA%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 28 January 2007 03:56, perryh@pluto.rain.com wrote:
> I think I need to add a quirk entry to get umass(4) to handle my
> camera, but I haven't found any coverage of this in the handbook.
> Is there a "how to" somewhere (or is there something else I should
> be doing)?
>
> Upon connecting the camera, I get:
>
>   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
>   umass0: Invalid CSW: sig 0x43425355 should be 0x53425355
>   umass0: Invalid CSW: sig 0x43425355 should be 0x53425355
>   umass0: Invalid CSW: sig 0x43425355 should be 0x53425355
>   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.

To me it seems like we should just accept both of these signatures, and avoid 
that growing quirk table.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701281120.39855.hselasky>