From b0431472a7303a03547e8674bc8c761ff744a2f0 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sat, 26 Mar 2016 13:08:09 +0300 Subject: Update keyboard README --- keyboard/README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'keyboard') 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 ``` -- cgit v1.3.1