-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPI Pico 2 - No smart card readers found
#62
Comments
Originally posted in #34 (comment) |
Yubico HSM is not supported by OpenSC. Try with FISJ or Nitrokey HSM. |
Let me give it a try. |
It's the same. No changes for Nitrokey HSM > opensc-tool -i
OpenSC 0.25.1 [gcc 13.2.1 20230801]
Enabled features: locking zlib readline openssl pcsc(libpcsclite.so.1) When I tried configuring as FISJ it's not configured. I've erased the pico with |
Paste dmesg log |
Sure. Here is the steps followed after copying
[ 9679.039775] usb 1-2: new full-speed USB device number 42 using xhci_hcd
[ 9679.181077] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 0, changing to 10
[ 9679.181539] usb 1-2: New USB device found, idVendor=feff, idProduct=fcfd, bcdDevice= 7.00
[ 9679.181542] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9679.181544] usb 1-2: Product: Pico Key
[ 9679.181546] usb 1-2: Manufacturer: Pol Henarejos
[ 9679.181548] usb 1-2: SerialNumber: 8D68603BBDE18CBE
~ >
[ 9679.039775] usb 1-2: new full-speed USB device number 42 using xhci_hcd
[ 9679.181077] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 0, changing to 10
[ 9679.181539] usb 1-2: New USB device found, idVendor=feff, idProduct=fcfd, bcdDevice= 7.00
[ 9679.181542] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9679.181544] usb 1-2: Product: Pico Key
[ 9679.181546] usb 1-2: Manufacturer: Pol Henarejos
[ 9679.181548] usb 1-2: SerialNumber: 8D68603BBDE18CBE
[10189.395786] usb 1-2: USB disconnect, device number 42
[10196.786623] usb 1-2: new full-speed USB device number 43 using xhci_hcd
[10196.928324] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 0, changing to 10
[10196.928817] usb 1-2: New USB device found, idVendor=20a0, idProduct=4230, bcdDevice= 7.00
[10196.928827] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10196.928834] usb 1-2: Product: Pico Key
[10196.928840] usb 1-2: Manufacturer: Pol Henarejos
[10196.928845] usb 1-2: SerialNumber: 8D68603BBDE18CBE
~ >
> opensc-tool -an
No smart card readers found.
Failed to connect to reader: No readers found
~ >
|
Seems a problem with OpenSC+Linux, perhaps a permission issue. Does |
No. |
Then you should try to recover pcsclite. Ensure that |
> OPENSC_DEBUG=9 opensc-tool -l
P:8203; T:0x128690580975168 18:43:09.958 [opensc-tool] ctx.c:753:process_config_file: Used configuration file '/etc/opensc.conf'
P:8203; T:0x128690580975168 18:43:09.958 [opensc-tool] ctx.c:981:sc_context_create: ===================================
P:8203; T:0x128690580975168 18:43:09.958 [opensc-tool] ctx.c:982:sc_context_create: OpenSC version: 0.25.1
P:8203; T:0x128690580975168 18:43:09.958 [opensc-tool] ctx.c:983:sc_context_create: Configured for opensc-tool (/usr/bin/opensc-tool)
P:8203; T:0x128690580975168 18:43:09.959 [opensc-tool] reader-pcsc.c:890:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=0 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1
P:8203; T:0x128690580975168 18:43:09.959 [opensc-tool] reader-pcsc.c:1397:pcsc_detect_readers: called
P:8203; T:0x128690580975168 18:43:09.959 [opensc-tool] reader-pcsc.c:1410:pcsc_detect_readers: Probing PC/SC readers
P:8203; T:0x128690580975168 18:43:09.959 [opensc-tool] reader-pcsc.c:1463:pcsc_detect_readers: Establish PC/SC context
P:8203; T:0x128690580975168 18:43:09.973 [opensc-tool] reader-pcsc.c:1458:pcsc_detect_readers: SCardListReaders failed: 0x8010002e
P:8203; T:0x128690580975168 18:43:09.973 [opensc-tool] reader-pcsc.c:1579:pcsc_detect_readers: returning with: -1101 (No readers found)
No smart card readers found.
P:8203; T:0x128690580975168 18:43:09.973 [opensc-tool] ctx.c:1066:sc_release_context: called
P:8203; T:0x128690580975168 18:43:09.973 [opensc-tool] reader-pcsc.c:978:pcsc_finish: called Is it something to do with |
Done a quick check with macOS and it's finding it. # Detected readers (pcsc)
Nr. Card Features Name
0 Yes Nitrokey Nitrokey HSM |
I've similar issues with Arch. My hardware is RPI Pico 2. Flashed with pico-hsm from https://www.picokeys.com/getting-started/
dmesg
outputlsusb
returnsBus 003 Device 005: ID 1050:0030 Yubico.com Pico Key
When I run
opensc-tool -v -sc
opensc-tool
versionThe text was updated successfully, but these errors were encountered: