adding quirks to umass(4)

Hans Petter Selasky hselasky at c2i.net
Mon Jan 29 06:32:38 UTC 2007


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


More information about the freebsd-usb mailing list