RFC: new USB quirk

Marcel Moolenaar marcel at xcllnt.net
Mon Nov 5 20:33:42 UTC 2012


On Nov 5, 2012, at 9:58 AM, Hans Petter Selasky <hselasky at c2i.net> wrote:

> Hi,
> 
> Looks good. Go ahead and commit.

Thanks.

> BTW: Is it possible to auto detect this quirk? Then you might consider adding 
> some code to dev/usb/usb_msctest.c .

I don't know enough to say anything with confidence. It looks to
me that you first want to know if the device has removable media
and whether there's a medium inserted before you reach conclusions
about whether a failed "prevent/allow media removal" command is
an indication that UQ_MSC_NO_PREVENT_ALLOW should be used for the
device.

-- 
Marcel Moolenaar
marcel at xcllnt.net




More information about the freebsd-usb mailing list