From: Umberto R. a. U. <op...@gt...> - 2017-10-20 13:46:25
|
Dear developers, I just stumbled on a smart card reader that should be an AK910, that is packed with a hub plus storage, I think it would be a good thing to have it supported. The seller page is https://www.pec.it/cns-arubakey.aspx (sorry, language is Italian). The vendorID:deviceID are 2021:0002 (I see CCID has provisions for 0001, 0011 and 0101 but not 0002). This is what I read in the logs at insertion time: Oct 20 16:39:40 pes-app-blank-01 kernel: usb 1-11: new high speed USB device number 12 using xhci_hcd Oct 20 16:39:40 pes-app-blank-01 kernel: usb 1-11: New USB device found, idVendor=058f, idProduct=6254 Oct 20 16:39:40 pes-app-blank-01 kernel: usb 1-11: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Oct 20 16:39:40 pes-app-blank-01 kernel: usb 1-11: configuration #1 chosen from 1 choice Oct 20 16:39:40 pes-app-blank-01 kernel: hub 1-11:1.0: USB hub found Oct 20 16:39:40 pes-app-blank-01 kernel: hub 1-11:1.0: 4 ports detected Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.1: new high speed USB device number 13 using xhci_hcd Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.1: New USB device found, idVendor=1307, idProduct=0165 Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.1: Product: USB Mass Storage Device Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.1: Manufacturer: USBest Technology Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.1: SerialNumber: 000000000002BA Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.1: configuration #1 chosen from 1 choice Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: new full speed USB device number 14 using xhci_hcd Oct 20 16:39:41 pes-app-blank-01 kernel: Initializing USB Mass Storage driver... Oct 20 16:39:41 pes-app-blank-01 kernel: scsi7 : SCSI emulation for USB Mass Storage devices Oct 20 16:39:41 pes-app-blank-01 kernel: usbcore: registered new interface driver usb-storage Oct 20 16:39:41 pes-app-blank-01 kernel: USB Mass Storage support registered. Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: New USB device found, idVendor=2021, idProduct=0002 Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: Product: HKey Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: Manufacturer: AK910 Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: configuration #1 chosen from 1 choice Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: ep 0x2 - rounding interval to 64 microframes, ep desc says 80 microframes Oct 20 16:39:41 pes-app-blank-01 kernel: usb 1-11.2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes Oct 20 16:39:41 pes-app-blank-01 kernel: generic-usb 0003:2021:0002.0001: hiddev96,hidraw0: USB HID v1.00 Device [AK910 HKey] on usb-0000:00:14.0-11.2/input0 Oct 20 16:39:42 pes-app-blank-01 kernel: scsi 7:0:0:0: Direct-Access 0.00 PQ: 0 ANSI: 2 Oct 20 16:39:42 pes-app-blank-01 kernel: sd 7:0:0:0: Attached scsi generic sg2 type 0 Oct 20 16:39:42 pes-app-blank-01 kernel: sd 7:0:0:0: [sdb] 1972744 512-byte logical blocks: (1.01 GB/963 MiB) Oct 20 16:39:42 pes-app-blank-01 kernel: sd 7:0:0:0: [sdb] Write Protect is off Oct 20 16:39:42 pes-app-blank-01 kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through Oct 20 16:39:42 pes-app-blank-01 kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through Oct 20 16:39:42 pes-app-blank-01 kernel: sdb: Oct 20 16:39:42 pes-app-blank-01 kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through Oct 20 16:39:42 pes-app-blank-01 kernel: sd 7:0:0:0: [sdb] Attached SCSI removable disk This is the lsusb output: Bus 001 Device 013: ID 2021:0002 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x2021 idProduct 0x0002 bcdDevice 1.00 iManufacturer 1 AK910 iProduct 2 HKey iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 34 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 10 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 10 Device Status: 0x0000 (Bus Powered) Best regards Umberto Rustichelli |