pico-hsm
pico-hsm copied to clipboard
waveshare zero build fails.
after copying file for waveshare zero, the device blinks red.
The color is not important, but the blink pattern.
What opensc-tool -an
reports?
debug output as requested:
sudo opensc-tool -an No smart card readers found. Failed to connect to reader: No readers found
unfortunately, device still blinks steady red, every .5sec.
my apologies for not including this earlier. version 3.6 specifically fails to launch on the waveshare zero. version 3.0 of the code loads OK
the last successful build for this device is 3.2.
Can you include any log from dmesg to see pcscd messages?
Also paste lsusb
.
im working with version 3.6 on waveshare zero and its working ok red led blinking but working ok BTW if i load the simple pico build to the board its also working ok with no blinking
interesting! ill test now
still failing 3.6. opensc-tool doesnt see the device :\
dmesg output as follows after loading the pico-patched (nitrokey)
[ 4304.635423] usb 1-6: new full-speed USB device number 22 using xhci_hcd [ 4304.945226] usb 1-6: config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 0, changing to 10 [ 4304.957210] usb 1-6: New USB device found, idVendor=20a0, idProduct=4230, bcdDevice= 5.00 [ 4304.957216] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4304.957220] usb 1-6: Product: Pico Key [ 4304.957223] usb 1-6: Manufacturer: Pol Henarejos [ 4304.957226] usb 1-6: SerialNumber: E6625887D3345230 [ 4333.662700] usb 1-6: USB disconnect, device number 22 [ 4336.595592] usb 1-6: new full-speed USB device number 23 using xhci_hcd [ 4336.905270] usb 1-6: config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 0, changing to 10 [ 4336.916851] usb 1-6: New USB device found, idVendor=20a0, idProduct=4230, bcdDevice= 5.00 [ 4336.916864] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4336.916870] usb 1-6: Product: Pico Key [ 4336.916875] usb 1-6: Manufacturer: Pol Henarejos [ 4336.916880] usb 1-6: SerialNumber: E6625887D3345230
dmesg output from the 3.0 build [ 1998.466955] usb 1-5: USB disconnect, device number 10 [ 2007.277538] usb 1-6: USB disconnect, device number 9 [ 2009.010705] usb 1-6: new full-speed USB device number 11 using xhci_hcd [ 2009.334184] usb 1-6: New USB device found, idVendor=20a0, idProduct=4230, bcdDevice= 3.04 [ 2009.334199] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2009.334205] usb 1-6: Product: Pico HSM CCID [ 2009.334210] usb 1-6: Manufacturer: Pol Henarejos [ 2009.334215] usb 1-6: SerialNumber: E6625887D3345230
curiously enough, opensc-tool -an does not see a card reader here either.
additional debug info
opensc 0.25.1-1 Linux malt 6.8.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:49:46 +0000 x86_64 GNU/Linux
pcsclite 2.2.1-1
[root@malt Downloads]# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 258a:0012 SN TECH USBGamingMouse Bus 001 Device 003: ID 0c45:7016 Microdia USB DEVICE Bus 001 Device 020: ID 1050:0030 Yubico.com Pico Key Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 002: ID 046d:085b Logitech, Inc. Logitech Webcam C925e Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
I use earlier versions of opensc. 0.22 or 0.23 should work fine. Can you test it?
Does pcsctest
provide useful info?
not sure i have pcsctest available (my OS is arch)
is there an OS i can try with? I have a homelab, and the ability to present the dev environment to you remotely if you like.
v4.0 should work with OpenSC 0.25. Feel free to reopen if still persists.