Using opensc 0.15, it looks like my HSM isn’t detected at all. The device is detected, albeit it with some interesting notes in dmesg:
172.302198] usb 1-1: USB disconnect, device number 2
179.326976] usb 1-1: new full-speed USB device number 13 using xhci_hcd
179.491838] usb 1-1: New USB device found, idVendor=20a0, idProduct=4230
179.491849] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
179.491851] usb 1-1: Product: Nitrokey HSM
179.491852] usb 1-1: Manufacturer: Nitrokey
179.491853] usb 1-1: SerialNumber: 010000000000000000000000
179.492769] usb 1-1: ep 0x84 - rounding interval to 64 microframes, ep desc says 80 microframes
179.492775] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 192 microframes
179.493896] input: Nitrokey Nitrokey HSM as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:20A0:4230.0007/input/input17
179.545389] hid-generic 0003:20A0:4230.0007: input,hidraw0: USB HID v1.10 Keyboard [Nitrokey Nitrokey HSM] on usb-0000:00:14.0-1/input0
lsusb also shows it as being a smartcard interface:
[code]# lsusb -s 001:013 -vvv
Bus 001 Device 013: ID 20a0:4230 Clay Logic
…]
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 11 Chip/SmartCard
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0[/code]
However, opensc doesn’t see it at all.
# opensc-tool -l
No smart card readers found.
# pcscd -fd
...]
04338888 hotplug_libudev.c:614:HPEstablishUSBNotifications() USB Device add
00000130 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x20A0, PID: 0x4230, path: /dev/bus/usb/001/014
00000274 hotplug_libudev.c:614:HPEstablishUSBNotifications() USB Device add
00000118 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x20A0, PID: 0x4230, path: /dev/bus/usb/001/014
Note the distinct lack of a driver being loaded/used. When I insert a different (and vastly inferior product!), it works:
[code]00000113 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0529, PID: 0x0620, path: /dev/bus/usb/001/016
00000007 hotplug_libudev.c:435:HPAddDevice() Adding USB device: Aladdin eToken PRO USB 72K Java
$ opensc-tool -l
Detected readers (pcsc)
Nr. Card Features Name
0 Yes Aladdin eToken PRO USB 72K Java [Main Interface] 00 00[/code]
Any ideas on how I can get this working?