[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nitrokey and udev rules

From: Mike Gerwitz
Subject: Re: Nitrokey and udev rules
Date: Thu, 24 May 2018 21:44:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)


On Thu, May 24, 2018 at 16:04:31 +0200, Pierre Neidhardt wrote:
> Mike Gerwitz <address@hidden> writes:


> I did:
>> sudo pcscd 
>> gpg --card-status
> gpg: selecting openpgp failed: No such device
> gpg: OpenPGP card not available: No such device
> Can you share your udev rules?

I don't have any udev rules that weren't included by default with
GuixSD.  The packages I installed are: gnupg, pcsc-lite, ccid, and

I used to know how to debug this problem very well back when I
contributed the pcsc-lite package, but it's been a couple years, but I
can try to help you through this.

Looking through my notes, it looks like I symlinked
`/run/current-system/profile/pcsc/drivers/' to `/var/lib/pcsc/drivers'.
See Marius Bakke's message on ccid here:


Can you see if that solves your problem?

While we're at it, here's my dmesg output for the Nitrokey Pro:

--8<---------------cut here---------------start------------->8---
[17145.084169] usb 6-2: new full-speed USB device number 9 using uhci_hcd
[17145.269203] usb 6-2: New USB device found, idVendor=20a0, idProduct=4108
[17145.269211] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17145.269215] usb 6-2: Product: Nitrokey Pro
[17145.269219] usb 6-2: Manufacturer: Nitrokey
[17145.269223] usb 6-2: SerialNumber: 00003C750000000000000000
[17145.276690] input: Nitrokey Nitrokey Pro as 
[17145.336410] hid-generic 0003:20A0:4108.0009: input,hidraw0: USB HID v1.10 
Keyboard [Nitrokey Nitrokey Pro] on usb-0000:00:1d.0-2/input0
--8<---------------cut here---------------end--------------->8---

And `pcscd -f' output (which looks bad, but `gpg --card-status' does work):

--8<---------------cut here---------------start------------->8---
00000000 ifdhandler.c:150:CreateChannelByNameOrChannel() failed
00000023 readerfactory.c:1106:RFInitializeReader() Open Port 0x200000 Failed 
00000006 readerfactory.c:376:RFAddReader() Nitrokey Nitrokey Pro 
(00003C750000000000000000) init failed.
--8<---------------cut here---------------end--------------->8---

If you're still having a problem then we can continue from that point.

Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]