Support of internal card-reader for ASUS K43SJ
Eugene Dzhurinsky
jdevelop at gmail.com
Wed Oct 19 20:01:33 UTC 2011
On Wed, Oct 19, 2011 at 09:52:51PM +0200, Hans Petter Selasky wrote:
> > > Also see the quirks available how to force the UMASS mode of a device.
> > Hi, with configuration descriptor you mean dump_curr_config_desc ?
>
> Yes.
ugen0.5: <USB2.0-CRW Generic> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
Configuration index 0
bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0027
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0004 <CARD READER>
bmAttributes = 0x00a0
bMaxPower = 0x00fa
Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0003
bInterfaceClass = 0x00ff
bInterfaceSubClass = 0x0006
bInterfaceProtocol = 0x0050
iInterface = 0x0005 <Bulk-In, Bulk-Out, Interface>
Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0001 <OUT>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0082 <IN>
bmAttributes = 0x0002 <BULK>
wMaxPacketSize = 0x0200
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000
Endpoint 2
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0083 <IN>
bmAttributes = 0x0003 <INTERRUPT>
wMaxPacketSize = 0x0003
bInterval = 0x000a
bRefresh = 0x0000
bSynchAddress = 0x0000
> > Also I don't really understand what are the quirks and how can/should I
> > force something. Could you please explain?
>
> usbconfig dump_quirk_names | grep MSC
>
> UQ_MSC_FORCE_WIRE_BBB
> UQ_MSC_FORCE_WIRE_CBI
> UQ_MSC_FORCE_WIRE_CBI_I
> UQ_MSC_FORCE_PROTO_SCSI
> UQ_MSC_FORCE_PROTO_ATAPI
> UQ_MSC_FORCE_PROTO_UFI
> UQ_MSC_FORCE_PROTO_RBC
>
> After applying the quirk you need to use USB config to reset the device.
I'm a bit lost, which quirk I should apply? I'm sorry, but I know very little
about all this stuff :(
UQ_MSC_NO_TEST_UNIT_READY
UQ_MSC_NO_RS_CLEAR_UA
UQ_MSC_NO_START_STOP
UQ_MSC_NO_GETMAXLUN
UQ_MSC_NO_INQUIRY
UQ_MSC_NO_INQUIRY_EVPD
UQ_MSC_NO_SYNC_CACHE
UQ_MSC_SHUTTLE_INIT
UQ_MSC_ALT_IFACE_1
UQ_MSC_FLOPPY_SPEED
UQ_MSC_IGNORE_RESIDUE
UQ_MSC_WRONG_CSWSIG
UQ_MSC_RBC_PAD_TO_12
UQ_MSC_READ_CAP_OFFBY1
UQ_MSC_FORCE_SHORT_INQ
UQ_MSC_FORCE_WIRE_BBB
UQ_MSC_FORCE_WIRE_CBI
UQ_MSC_FORCE_WIRE_CBI_I
UQ_MSC_FORCE_PROTO_SCSI
UQ_MSC_FORCE_PROTO_ATAPI
UQ_MSC_FORCE_PROTO_UFI
UQ_MSC_FORCE_PROTO_RBC
UQ_MSC_EJECT_HUAWEI
UQ_MSC_EJECT_SIERRA
UQ_MSC_EJECT_SCSIEJECT
UQ_MSC_EJECT_REZERO
UQ_MSC_EJECT_ZTESTOR
UQ_MSC_EJECT_CMOTECH
UQ_MSC_EJECT_WAIT
UQ_MSC_EJECT_SAEL_M460
UQ_MSC_EJECT_HUAWEISCSI
UQ_MSC_EJECT_TCT
--
Eugene N Dzhurinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20111019/de083dc9/attachment.pgp
More information about the freebsd-usb
mailing list