unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Mike Gerwitz <mtg@gnu.org>
To: Raghav Gururajan <rvgn@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: Adding NitoKey Rules to U-Dev Rules
Date: Fri, 05 Jul 2019 21:16:12 -0400	[thread overview]
Message-ID: <87d0iovu77.fsf@gnu.org> (raw)
In-Reply-To: <ba4935b6324723f90c717137b2232d785b3c5878.camel@disroot.org> (Raghav Gururajan's message of "Fri, 05 Jul 2019 15:56:26 -0400")

[-- Attachment #1: Type: text/plain, Size: 1735 bytes --]

On Fri, Jul 05, 2019 at 15:56:26 -0400, Raghav Gururajan wrote:
> I have NitroKey (https://nitrokey.com). To make it work, it appears
> nitrokey rules (https://raw.githubusercontent.com/Nitrokey/libnitrokey/
> master/data/41-nitrokey.rules) has to be added to udev rules
> (/etc/udev/rules.d/). Not sure how to do this in guix way. Any ideas?

Is it not working for you today?

I have a Nitrokey Pro that I purchased at least a couple years back that
I use every day on a Guix system, including to sign this email.  Here's
my dmesg output:

--8<---------------cut here---------------start------------->8---
[12763.938755] usb 6-2: new full-speed USB device number 9 using uhci_hcd
[12764.125823] usb 6-2: New USB device found, idVendor=20a0, idProduct=4108, bcdDevice= 1.00
[12764.125827] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12764.125830] usb 6-2: Product: Nitrokey Pro
[12764.125832] usb 6-2: Manufacturer: Nitrokey
[12764.125835] usb 6-2: SerialNumber: XXXXXXXXXXXXXXXXXXXXXXXX
[12764.134361] input: Nitrokey Nitrokey Pro as /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:20A0:4108.0008/input/input20
[12764.191376] hid-generic 0003:20A0:4108.0008: input,hidraw0: USB HID v1.10 Keyboard [Nitrokey Nitrokey Pro] on usb-0000:00:1d.0-2/input0
--8<---------------cut here---------------end--------------->8---

Maybe there's trouble with newer versions or different types of keys,
though.

With regards to udev rules---I haven't done so myself, but see
`udev-rule' in the Guix manual under `Base Services'.

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2019-07-06  1:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05 19:56 Adding NitoKey Rules to U-Dev Rules Raghav Gururajan
2019-07-06  1:16 ` Mike Gerwitz [this message]
2019-07-06  8:42   ` Pierre Neidhardt
2019-07-06 21:01     ` Raghav Gururajan
2019-07-06 21:04   ` Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0iovu77.fsf@gnu.org \
    --to=mtg@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=rvgn@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).