|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
USB SD, MMC, MS, CF card reader?-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi All, I have an old USB card reader which is not recognized by 8.0. The reader is based on a C-Media CM320L chip. Does this reader need special handling or umass driver can be used? # usbconfig -u 7 -a 2 dump_info ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON # usbconfig -u 7 -a 2 dump_device_quirks Dumping current device quirks: VID=0x0b05 PID=0x1726 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x1608 PID=0x0001 REVLO=0x0094 REVHI=0x0094 QUIRK=UQ_SWAP_UNICODE VID=0x04fa PID=0x4201 REVLO=0x00a2 REVHI=0x00a2 QUIRK=UQ_BAD_ADC VID=0x04fa PID=0x4201 REVLO=0x00a2 REVHI=0x00a2 QUIRK=UQ_AU_NO_XU VID=0x04d2 PID=0x0070 REVLO=0x0103 REVHI=0x0103 QUIRK=UQ_BAD_ADC VID=0x04d2 PID=0xff05 REVLO=0x0000 REVHI=0x0000 QUIRK=UQ_BAD_AUDIO VID=0x05c7 PID=0x2011 REVLO=0x0110 REVHI=0x0110 QUIRK=UQ_SPUR_BUT_UP VID=0x0566 PID=0x2802 REVLO=0x0001 REVHI=0x0001 QUIRK=UQ_SPUR_BUT_UP VID=0x0711 PID=0x0100 REVLO=0x0102 REVHI=0x0102 QUIRK=UQ_BUS_POWERED VID=0x0711 PID=0x0210 REVLO=0x0102 REVHI=0x0102 QUIRK=UQ_BUS_POWERED VID=0x0451 PID=0x1446 REVLO=0x0110 REVHI=0x0110 QUIRK=UQ_POWER_CLAIM VID=0x0562 PID=0x0001 REVLO=0x0009 REVHI=0x0009 QUIRK=UQ_AU_NO_FRAC VID=0x1527 PID=0x0201 REVLO=0x0100 REVHI=0x0100 QUIRK=UQ_AU_INP_ASYNC VID=0x046d PID=0xc032 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_NO_STRINGS VID=0x05cc PID=0x2265 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_CFG_INDEX_1 VID=0x03f0 PID=0x0004 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_BROKEN_BIDIR VID=0x03f0 PID=0x0104 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_BROKEN_BIDIR VID=0x03f0 PID=0x0204 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_BROKEN_BIDIR VID=0x03f0 PID=0x0304 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_BROKEN_BIDIR VID=0x03f0 PID=0x0404 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_BROKEN_BIDIR VID=0x03f0 PID=0x0212 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_BROKEN_BIDIR VID=0x0924 PID=0xffef REVLO=0x0000 REVHI=0xffff QUIRK=UQ_BROKEN_BIDIR VID=0x051d PID=0x0002 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x050d PID=0x0551 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0764 PID=0x0501 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x1163 PID=0x0100 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x04d8 PID=0x0002 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x04d8 PID=0xc001 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0463 PID=0x0001 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0463 PID=0xffff REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x05ac PID=0x1290 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x05ac PID=0x1292 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x04b4 PID=0x0bad REVLO=0x0000 REVHI=0xffff QUIRK=UQ_KBD_IGNORE VID=0x04b4 PID=0x0bad REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x1781 PID=0x083e REVLO=0x0000 REVHI=0xffff QUIRK=UQ_KBD_IGNORE VID=0x1781 PID=0x083e REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x1130 PID=0xf211 REVLO=0x0101 REVHI=0x0101 QUIRK=UQ_AUDIO_SWAP_LR VID=0x045e PID=0x008c REVLO=0x0000 REVHI=0xffff QUIRK=UQ_MS_LEADING_BYTE VID=0x1781 PID=0x083f REVLO=0x0000 REVHI=0xffff QUIRK=UQ_KBD_IGNORE VID=0x1781 PID=0x083f REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkr62kkACgkQxJBWvpalMpk/OACdE8++xMFCcX51jTrwtw0edFuX NQAAn2/UUI3OJdOeFClJRwXeqsHNLlbq =Umxy -----END PGP SIGNATURE----- _______________________________________________ freebsd-hardware@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@..." |
|
|
Re: USB SD, MMC, MS, CF card reader?On Wednesday 11 November 2009 16:37:45 Krassimir Slavchev wrote:
> Hi All, > > I have an old USB card reader which is not recognized by 8.0. > The reader is based on a C-Media CM320L chip. > > Does this reader need special handling or umass driver can be used? > > # usbconfig -u 7 -a 2 dump_info > ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON > > # usbconfig -u 7 -a 2 dump_device_quirks > Hi, The umass quirks are currently not available through the USB quirks API. Can you do: dump_device_desc and dump_curr_config_desc ? You probably need to edit sys/dev/usb/storage/umass.c and add a device entry there. --HPS _______________________________________________ freebsd-hardware@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@..." |
|
|
Re: USB SD, MMC, MS, CF card reader?Hans Petter Selasky wrote:
> On Wednesday 11 November 2009 16:37:45 Krassimir Slavchev wrote: >> Hi All, >> >> I have an old USB card reader which is not recognized by 8.0. >> The reader is based on a C-Media CM320L chip. >> >> Does this reader need special handling or umass driver can be used? >> >> # usbconfig -u 7 -a 2 dump_info >> ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST >> spd=HIGH (480Mbps) pwr=ON >> >> # usbconfig -u 7 -a 2 dump_device_quirks >> > > Hi, > > The umass quirks are currently not available through the USB quirks API. > Can you do: dump_device_desc and dump_curr_config_desc ? > You probably need to edit sys/dev/usb/storage/umass.c and add a device entry > there. > > --HPS > > Yes, I will try but I am not sure whether this will be enough # usbconfig -u 7 -a 2 dump_device_desc ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0d8c idProduct = 0x5200 bcdDevice = 0x0100 iManufacturer = 0x0000 <no string> iProduct = 0x0000 <no string> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 # usbconfig -u 7 -a 2 dump_curr_config_desc ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0027 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0002 wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 bmAttributes = 0x0003 wMaxPacketSize = 0x0004 bInterval = 0x0009 bRefresh = 0x0000 bSynchAddress = 0x0000 _______________________________________________ freebsd-hardware@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@..." |
|
|
Re: USB SD, MMC, MS, CF card reader?Hans Petter Selasky wrote:
> On Wednesday 11 November 2009 16:37:45 Krassimir Slavchev wrote: >> Hi All, >> >> I have an old USB card reader which is not recognized by 8.0. >> The reader is based on a C-Media CM320L chip. >> >> Does this reader need special handling or umass driver can be used? >> >> # usbconfig -u 7 -a 2 dump_info >> ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST >> spd=HIGH (480Mbps) pwr=ON >> >> # usbconfig -u 7 -a 2 dump_device_quirks >> > > Hi, > > The umass quirks are currently not available through the USB quirks API. > Can you do: dump_device_desc and dump_curr_config_desc ? > You probably need to edit sys/dev/usb/storage/umass.c and add a device entry > there. I have tried almost all possible protocol combinations but no luck. With UMASS_PROTO_SCSI | UMASS_PROTO_BBB: umass0: <vendor 0x0d8c product 0x5200, class 0/0, rev 2.00/1.00, addr 2> on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0: Get Max Lun not supported (USB_ERR_TIMEOUT) umass0:0:0:-1: Attached to scbus0 Adding NO_GETMAXLUN quirk: umass0: <vendor 0x0d8c product 0x5200, class 0/0, rev 2.00/1.00, addr 2> on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:0:0:-1: Attached to scbus0 The same reader works on windows with 'Generic USB Mass Storage' driver and in the chip documentation I found that it is 'Compliant with USB Mass Storage Device Class specifications'. May be something is handled differently? Best Regards _______________________________________________ freebsd-hardware@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@..." |
|
|
Re: USB SD, MMC, MS, CF card reader?On Friday 13 November 2009 08:19:11 Krassimir Slavchev wrote:
> Hans Petter Selasky wrote: > > On Wednesday 11 November 2009 16:37:45 Krassimir Slavchev wrote: > >> Hi All, > >> > >> I have an old USB card reader which is not recognized by 8.0. > >> The reader is based on a C-Media CM320L chip. > >> > >> Does this reader need special handling or umass driver can be used? > >> > >> # usbconfig -u 7 -a 2 dump_info > >> ugen7.2: <product 0x5200 vendor 0x0d8c> at usbus7, cfg=0 md=HOST > >> spd=HIGH (480Mbps) pwr=ON > >> > >> # usbconfig -u 7 -a 2 dump_device_quirks > > > > Hi, > > > > The umass quirks are currently not available through the USB quirks API. > > Can you do: dump_device_desc and dump_curr_config_desc ? > > You probably need to edit sys/dev/usb/storage/umass.c and add a device > > entry there. > > I have tried almost all possible protocol combinations but no luck. > With UMASS_PROTO_SCSI | UMASS_PROTO_BBB: > > umass0: <vendor 0x0d8c product 0x5200, class 0/0, rev 2.00/1.00, addr 2> > on usbus7 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0: Get Max Lun not supported (USB_ERR_TIMEOUT) > umass0:0:0:-1: Attached to scbus0 > > Adding NO_GETMAXLUN quirk: > umass0: <vendor 0x0d8c product 0x5200, class 0/0, rev 2.00/1.00, addr 2> > on usbus7 > umass0: SCSI over Bulk-Only; quirks = 0x0100 > umass0:0:0:-1: Attached to scbus0 > > The same reader works on windows with 'Generic USB Mass Storage' driver > and in the chip documentation I found that it is 'Compliant with USB > Mass Storage Device Class specifications'. > > May be something is handled differently? I don't know. Maybe your device needs some special command before it responds. --HPS _______________________________________________ freebsd-hardware@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@..." |
| Free embeddable forum powered by Nabble | Forum Help |