]> err.no Git - yubikey-personalization.old/commitdiff
Add some internal and useful documentation
authorlevitte <levitte@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Thu, 18 Sep 2008 09:02:21 +0000 (09:02 +0000)
committerlevitte <levitte@b62f149e-849f-11dd-9899-c7ba65f7c4c7>
Thu, 18 Sep 2008 09:02:21 +0000 (09:02 +0000)
git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@3 b62f149e-849f-11dd-9899-c7ba65f7c4c7

docs/0README [new file with mode: 0644]
docs/quirks-and-workarounds.txt [new file with mode: 0644]

diff --git a/docs/0README b/docs/0README
new file mode 100644 (file)
index 0000000..6e831b8
--- /dev/null
@@ -0,0 +1,3 @@
+This is a directory with all kinds of developer documentation, not
+really meant for a release, but still good to know.  They should
+eventually go into a documentation repository, but for now...
diff --git a/docs/quirks-and-workarounds.txt b/docs/quirks-and-workarounds.txt
new file mode 100644 (file)
index 0000000..8b091cd
--- /dev/null
@@ -0,0 +1,12 @@
+It seems like the Linux kernel takes exclusive ownership over the
+Yubikey, making it difficult for our programs to talk with it.
+There's a workaround, though, to set a quirks mode for the key, as
+follows:
+
+  rmmod usbhid && modprobe usbhid quirks=0x1050:0x0010:0x04
+
+In that mode, though, the Yubikey will not work as a keyboard and
+therefore not generate any string at all, so to have it work as usual
+again, you'll have to take usbhid out of quirks more:
+
+  rmmod usbhid && modprobe usbhid