adding quirks to umass(4)

Hans Petter Selasky hselasky at c2i.net
Sun Jan 28 10:21:04 UTC 2007


On Sunday 28 January 2007 03:56, perryh at 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


More information about the freebsd-usb mailing list