Date: Wed, 07 Jan 2009 00:02:32 +0100 (CET) From: Alexander Best <alexbestms@math.uni-muenster.de> To: <freebsd-usb@freebsd.org> Subject: Re: usb2 quirks Message-ID: <permail-200901062302321e86ffa8000024e9-a_best01@message-id.uni-muenster.de> In-Reply-To: <200812232242.30638.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot. There are two more questions i'd like to ask: 1. where can i find <vid>, <pid>, <lo_rev> and <hi_rev> in the following device_desc dump? ugen3.2: <MiniPlayer Meizu Electronics> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0492 idProduct = 0x0140 bcdDevice = 0x0100 iManufacturer = 0x0001 <Meizu Electronics > iProduct = 0x0002 <MiniPlayer> iSerialNumber = 0x0003 <000000F1F1000> bNumConfigurations = 0x0001 2. what are the usb2 equivalents to the following usb1 quirks: UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_INQUIRY | NO_SYNCHRONIZE_CACHE right now i'm getting the following error message when attaching the device: 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 = 0x0000 umass0:7:0:-1: Attached to scbus7 (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-200901062302321e86ffa8000024e9-a_best01>