From 2a5ce5ef70f1b1d77042c1edd9e69c36d21880a2 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 5 Sep 2012 02:46:34 +0900 Subject: [PATCH] Add converter/usb_usb/README --- converter/usb_usb/README | 35 +++++++++++++++++++++++++++++++++++ protocol/usb_hid/README | 3 ++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 converter/usb_usb/README mode change 100755 => 100644 protocol/usb_hid/README diff --git a/converter/usb_usb/README b/converter/usb_usb/README new file mode 100644 index 000000000..2ffa46ca4 --- /dev/null +++ b/converter/usb_usb/README @@ -0,0 +1,35 @@ +USB to USB keyboard protocol converter +====================================== + +Hardware requirement +-------------------- +Arduino Leonardo + http://arduino.cc/en/Main/ArduinoBoardLeonardo + +Circuit@Home USB Host Sheild 2.0 + http://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino + + +Build firmware +-------------- + $ git clone git://github.com/tmk/tmk_keyboard.git + $ cd tmk_keyboard + $ git checkout usb_hid + $ git submodule init + $ git submodule update + +and download LUFA and unzip under protocol/lufa and edit LUFA_PATH in protocol/lufa.mk. Then, + + $ cd converter/usb_usb + $ make + +You will get usb_usb.hex if you are lucky. +Program your Leonardo with avrdude(or easy-going Arduino IDE): + + $ avrdude -patmega32u4 -cavr109 -PCOM17 -b57600 -Uflash:w:usb_usb.hex + + +Limitation +---------- +Only supports 'HID Boot protocol'. +Not support keyboard LED yet. diff --git a/protocol/usb_hid/README b/protocol/usb_hid/README old mode 100755 new mode 100644 index 1357a4c72..0d2efc2aa --- a/protocol/usb_hid/README +++ b/protocol/usb_hid/README @@ -25,7 +25,8 @@ You can see HID keyboard reports on debug output. Restriction and Bug ------------------- -Not statble yet. +Not supported/confirmed yet. + Hub, suspend, keyboard LED Switching power on VBUS: To power reset device.