Date: Wed, 19 Oct 2011 23:01:29 +0300 From: Eugene Dzhurinsky <jdevelop@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Support of internal card-reader for ASUS K43SJ Message-ID: <20111019200129.GA22707@devbox> In-Reply-To: <201110192152.51444.hselasky@c2i.net> References: <20111019183247.GA1735@devbox> <201110192142.51927.hselasky@c2i.net> <20111019195110.GA12385@devbox> <201110192152.51444.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ? >=20 > Yes. ugen0.5: <USB2.0-CRW Generic> at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480M= bps) pwr=3DON Configuration index 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0002=20 wTotalLength =3D 0x0027=20 bNumInterfaces =3D 0x0001=20 bConfigurationValue =3D 0x0001=20 iConfiguration =3D 0x0004 <CARD READER> bmAttributes =3D 0x00a0=20 bMaxPower =3D 0x00fa=20 Interface 0 bLength =3D 0x0009=20 bDescriptorType =3D 0x0004=20 bInterfaceNumber =3D 0x0000=20 bAlternateSetting =3D 0x0000=20 bNumEndpoints =3D 0x0003=20 bInterfaceClass =3D 0x00ff=20 bInterfaceSubClass =3D 0x0006=20 bInterfaceProtocol =3D 0x0050=20 iInterface =3D 0x0005 <Bulk-In, Bulk-Out, Interface> Endpoint 0 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0001 <OUT> bmAttributes =3D 0x0002 <BULK> wMaxPacketSize =3D 0x0200=20 bInterval =3D 0x0000=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 Endpoint 1 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0082 <IN> bmAttributes =3D 0x0002 <BULK> wMaxPacketSize =3D 0x0200=20 bInterval =3D 0x0000=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 Endpoint 2 bLength =3D 0x0007=20 bDescriptorType =3D 0x0005=20 bEndpointAddress =3D 0x0083 <IN> bmAttributes =3D 0x0003 <INTERRUPT> wMaxPacketSize =3D 0x0003=20 bInterval =3D 0x000a=20 bRefresh =3D 0x0000=20 bSynchAddress =3D 0x0000=20 > > Also I don't really understand what are the quirks and how can/should I > > force something. Could you please explain? >=20 > usbconfig dump_quirk_names | grep MSC >=20 > 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 >=20 > 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 litt= le 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 --=20 Eugene N Dzhurinsky --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJOnyyZAAoJEJl2g18bZPdRyFEH/3z6kMYaUAU+jnhO9HALHc1/ 64mJ/79+8oN7tid5cXbQg/sLAaNZma3q/2vcT+6UVkOEb69mhdztFANoNxb9ex6b auae7hPbXrvHTMAix64wiIJbP0fGgUbZugQjZjUwQ0Xnuo6agFlH7J4aalnhDzHx 1oYKrvJUmAUsoJP7VfoG/AujL8uDj583Jkwu5IQTaWcVP00+ukoFxAxRFZ9fuGQO vqGX2T4jfhRLk55PqYwHbLrBvPNCx3ZjrCQ+MTefeUpgRISjKkUxjToLjKed3f4N gIMfwkUJVzJpQjDGthebZfOp+6O94l5Zalq8PISFa4gXWBiR+kr7f1mYD7vSyv8= =Jj85 -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111019200129.GA22707>