diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-03-26 13:08:09 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-03-26 13:08:09 +0300 |
| commit | b0431472a7303a03547e8674bc8c761ff744a2f0 (patch) | |
| tree | b922cb17fda04f23a96b9cb91e12816d1e83b63d | |
| parent | c5929dc92639b7091520a780ecd18796b8050a54 (diff) | |
Update keyboard README
| -rw-r--r-- | keyboard/README.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/keyboard/README.md b/keyboard/README.md index b2aeec5..63dfb99 100644 --- a/keyboard/README.md +++ b/keyboard/README.md @@ -8,19 +8,22 @@ Build the program and flash it as usual to the digispark. ```bash $ make clean && make -$ micronucleus usb.hex +$ micronucleus keyboard.hex ``` After the program loads, you should see a new USB device: ```bash $ lsusb -Bus 111 Device 222: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb +Bus 111 Device 222: ID 4242:e131 USB Design by Example ``` -You can now flip the LED by calling the test program, requires root privilege or proper udev rules: +dmesg will also show the new keyboard: ```bash -$ ./usbtest on -$ ./usbtest off +$ dmesg | tail +[1111] usb 1-2: new low-speed USB device number 36 using xhci_hcd +[2222] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes +[3333] input: y3xz.com keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:4242:E131.0009/input/input16 +[4444] hid-generic 0003:4242:E131.0009: input,hidraw5: USB HID v1.01 Keyboard [y3xz.com keyboard] on usb-0000:00:14.0-2/input0 ``` |
