diff options
author | Jun Wako <wakojun@gmail.com> | 2014-12-10 06:35:46 +0100 |
---|---|---|
committer | Jun Wako <wakojun@gmail.com> | 2014-12-10 06:52:39 +0100 |
commit | 9de992ba0be93a7fcc539ad0418c8ebfd3cd6281 (patch) | |
tree | 150b2b58284a177ff25103415cd983e40fa7eb6e /converter/usb_usb | |
parent | f6f698dda0a1cc9e92b75927b0273205402de9e2 (diff) | |
download | qmk_firmware-9de992ba0be93a7fcc539ad0418c8ebfd3cd6281.tar.gz qmk_firmware-9de992ba0be93a7fcc539ad0418c8ebfd3cd6281.tar.xz |
Change USB PID
Diffstat (limited to 'converter/usb_usb')
-rw-r--r-- | converter/usb_usb/Makefile | 2 | ||||
-rw-r--r-- | converter/usb_usb/README | 15 | ||||
-rw-r--r-- | converter/usb_usb/config.h | 2 |
3 files changed, 14 insertions, 5 deletions
diff --git a/converter/usb_usb/Makefile b/converter/usb_usb/Makefile index 13f77ca9b..4f983e7f6 100644 --- a/converter/usb_usb/Makefile +++ b/converter/usb_usb/Makefile @@ -120,7 +120,7 @@ VPATH += $(TOP_DIR) # program Leonardo -PROGRAM_CMD = avrdude -p$(MCU) -cavr109 -P$(DEV) -b57600 -Uflash:w:$(TARGET).hex +PROGRAM_CMD = avrdude -p$(MCU) -cavr109 -b57600 -Uflash:w:$(TARGET).hex -P$(DEV) diff --git a/converter/usb_usb/README b/converter/usb_usb/README index a48937110..985458ed0 100644 --- a/converter/usb_usb/README +++ b/converter/usb_usb/README @@ -19,13 +19,22 @@ Build firmware $ 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): +Program converter. Push reset button on Leonardo before run this command. Serial port name(COM17) depends your system. On Linux I got /dev/ttyACM0. + + $ DEV=COM17 make program + or + $ avrdude -patmega32u4 -cavr109 -b57600 -Uflash:w:usb_usb.hex -PCOM17 - $ avrdude -patmega32u4 -cavr109 -PCOM17 -b57600 -Uflash:w:usb_usb.hex Limitation ---------- Only supports 'HID Boot protocol'. Not support keyboard LED yet. + + +Resource +-------- +http://deskthority.net/workshop-f7/is-remapping-a-usb-keyboard-using-teensy-possible-t2841.html +https://github.com/felis/USB_Host_Shield_2.0 +https://github.com/arduino/Arduino/hardware/arduino/{cores,variants} diff --git a/converter/usb_usb/config.h b/converter/usb_usb/config.h index d614973f7..bdc02868c 100644 --- a/converter/usb_usb/config.h +++ b/converter/usb_usb/config.h @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED -#define PRODUCT_ID 0xCAFE +#define PRODUCT_ID 0x005B #define DEVICE_VER 0x0814 #define MANUFACTURER t.m.k. #define PRODUCT USB to USB keyboard converter |