From ac89f0c227519d081f13aabc8657b60fe442f0b5 Mon Sep 17 00:00:00 2001 From: nickray Date: Sun, 28 Oct 2018 14:30:06 +0100 Subject: [PATCH] Update udev.md --- docs/udev.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/udev.md b/docs/udev.md index e6ff08c..0ff860d 100644 --- a/docs/udev.md +++ b/docs/udev.md @@ -39,7 +39,11 @@ Try reading and writing to the device node you identified in the previous step. * write: try `echo "hello, Solo" > /dev/hidraw0`. Again, if you don't get denied permission, you're OK. ## Which rule should I use, and how do I do it? -Simplest is probably to copy [Yubico's rule file](https://github.com/Yubico/libu2f-host/blob/master/70-u2f.rules) to `/etc/udev/rules.d/fido.rules` on your system. This contains rules for Yubico's keys, the U2F Zero, and many others. The relevant line for U2F Zero is: +Simplest is probably to copy [Yubico's rule file](https://github.com/Yubico/libu2f-host/blob/master/70-u2f.rules) to `/etc/udev/rules.d/fido.rules` on your system, for instance: +``` +$ (cd /etc/udev/rules.d/ && sudo curl https://raw.githubusercontent.com/Yubico/libu2f-host/master/70-u2f.rules -O) +``` +This contains rules for Yubico's keys, the U2F Zero, and many others. The relevant line for U2F Zero is: ``` KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8acf", TAG+="uaccess" ```