usb2 quirks

Alexander Best alexbestms at math.uni-muenster.de
Tue Jan 6 16:38:27 PST 2009


instead of using usbconfig to add the quirks for my device i added them to
umass2.c and usb2_devid.h. with the changes the device works without any
problems. here's the dmesg output:

ugen3.2: <Meizu   Electronics> at usbus3
umass0: <Meizu   Electronics MiniPlayer, class 0/0, rev 2.00/1.00, addr 2> on
usbus3
umass0:  SCSI over Bulk-Only; quirks = 0x4400
umass0:7:0:-1: Attached to scbus7
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <  > Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 3864MB (7913472 512 byte sectors: 255H 63S/T 492C)

it would be nice to see the changes make it into HEAD.

cheers.
alex


Hans Petter Selasky schrieb am 2008-12-23:
> On Tuesday 23 December 2008, Alexander Best wrote:
> > hi there,

> > could somebody tell me where i can find info about the quirk
> > settings used
> > in usbconfig (usb2) please? i had a look at usbconfig(8), but the
> > manual
> > doesn't contain any information concerning usb quirks.


> Hi,

> If you type:

> usbconfig -h

> You see that you have the following quirk commands available:

>   add_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> <quirk>
>   remove_dev_quirk_vplh <vid> <pid> <lo_rev> <hi_rev> <quirk>
>   dump_quirk_names
>   dump_device_quirks

> Before you can use quirks you need to:

> kldload usb2_quirk

> --HPS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb2meizu.patch
Type: application/octet-stream
Size: 1366 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20090107/d0f314c7/usb2meizu.obj


More information about the freebsd-usb mailing list