Commit Graph

457 Commits (44ee4f3fcd26f4d849a527c6f3418c6510ce7057)

Author SHA1 Message Date
tmk d9a8eb59df usb_usb: Update Makefile.debug
enable debug print on USB Host lib and disable on LUFA
2020-11-06 00:19:35 +09:00
tmk 7f7b7ffdc2 xt_usb: Fix comment of scancode 2020-10-27 04:28:01 +09:00
tmk 842b3f29b6 ibmpc: Fix XT reset comment and add inhibit_xt() 2020-10-27 02:33:33 +09:00
tmk 19853b4b83 ibmpc_usb: Update prebuilt firmware files 2020-07-05 12:56:43 +09:00
tmk 5bcec22440 ibmpc: Update prebuilt firmware files 2020-05-22 13:15:51 +09:00
tmk c6a6049bc8 ibmpc_usb: Add 'protocol change detection'
for better keybaord hotswap support
2020-05-13 14:47:18 +09:00
tmk d987783c1a ibmpc_usb: Fix scan code set change detection 2020-05-12 21:57:32 +09:00
tmk c124220997 ibmpc_usb: Update debug prints 2020-05-12 18:59:19 +09:00
tmk 9fda70c476 ibmpc_usb: Add AT_RESET with reset command 'FF' 2020-05-12 18:56:54 +09:00
tmk fa58765325 ibmpc_usb: Fix led_set for XT keyobard 2020-05-12 11:32:28 +09:00
tmk 42b7bf8942 ibmpc_usb: Update prebuilt firmware files 2020-05-11 17:16:37 +09:00
tmk b59f7655e3 ibmpc_usb: Remove invalid code check in Code Set 1 2020-05-11 16:13:47 +09:00
tmk 0661ef8a56 ibmpc_usb: Update Overrun and buffer full handling(00, FF) 2020-05-11 16:13:47 +09:00
tmk 846f55389a ibmpc_usb: Fix led_set 2020-05-11 16:12:36 +09:00
tmk fcebf2215f ibmpc_usb: Add protocol and isr_debug check 2020-05-11 16:12:36 +09:00
tmk 8c72e93314 ibm4704: Use INTERRUPT_CONTROL_ENDPOINT to debug prints 2020-05-08 22:39:55 +09:00
tmk e2ac2d746f usb_usb: Remove hook_usb_startup_wait_loop
matrix_scan in hook_usb_startup_wait_loop is not required for
FC660C since commit dd7b75: SOF timing fix of USB_Host_Shield_2.0.
Without INTERRUPT_CONTROL_ENDPOINT the matrix_scan blocks around 2300ms
and prevents getting USB configured. In the result console_putc
starts sending before hid_listen is ready and chars are lost.

console_is_ready delay value should be around 5000ms if matrix_scan
is needed in hook_usb_startup_wait_loop.
2020-05-08 22:39:55 +09:00
tmk 2173767a78 Remove INTERRUPT_CONTROL_ENDPOINT from converters
The LUFA feature can prevent converter's ISR from handing signal instantly.
The interrupt can block a while for Standard Device Requests and 500-1000us
for keyboard LED report.
2020-05-08 22:39:55 +09:00
tmk 2a98bf516a ibmpc_usb: Fix Code Set 2 for Z-150 SysRq
Zenith Z-150 AT sends scan code 0x7F for SysRq.
Accoding to i8042 translation table it maps both 0x7F and
0x84 into 0x54(Print Screen).
https://geekhack.org/index.php?topic=103648.msg2897404#msg2897404

Swap MUTE and PSCR in unimap_cs2.
2020-05-08 21:45:45 +09:00
tmk 2c08ed9d94 ibmpc_usb: Fix Makefile 2020-05-08 21:43:24 +09:00
tmk 6332da2b95 ibmpc_usb: Add keyboard id AB85, BFB0
Other 122-key Teminals and IBM RT
2020-05-06 15:56:44 +09:00
tmk 2e5e6a69bc ibmpc_usb: Update firmware files again 2020-04-28 12:29:07 +09:00
tmk b6ccbacdaa ibmpc_usb: Update prebuilt firmware files 2020-04-28 12:21:05 +09:00
tmk aa276d55c4 ibmpc_usb: Add some comments 2020-04-28 12:18:56 +09:00
tmk c4f65d4f5e ibmpc_usb: Remove G80-2551 support from Code Set 2 2020-04-28 12:07:19 +09:00
tmk c6786290bc ibmpc_usb: Add G80-2551 support in Code Set 3
https://deskthority.net/wiki/Cherry_G80-2551
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#g80-2551-in-code-set-3
https://geekhack.org/index.php?topic=103648.msg2894921#msg2894921
2020-04-28 11:59:20 +09:00
tmk 87bd991afa ibmpc_usb: Add codes in Set 3
GUI, Application, Henkan, Mehenkan, Kana used in PS/2 PC
keyboard when it is switched to Set 3
https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol#g80-3600-and-skidata2-de-in-code-set-3
2020-04-28 11:33:02 +09:00
tmk 1575db9166 ibmpc_usb: Update prebuilt firmware hex files 2020-04-26 23:35:59 +09:00
tmk da1ca3ab6f ibmpc_usb: Add support for G80-2551
Support for extra keys around cursor keys
https://deskthority.net/wiki/Cherry_G80-2551
https://geekhack.org/index.php?topic=103648.msg2893404#msg2893404
https://gist.github.com/tmk/22cb8680ca8ef854630ecd1953268c5b
2020-04-26 23:28:03 +09:00
tmk 890af7e7e3 ibmpc_usb: Change key mapping for Code Set 3 2020-04-26 18:39:47 +09:00
tmk 48058c638e sun_usb: Add prebuilt firmware files 2020-04-09 13:57:48 +09:00
tmk e63aff8715 sun_usb: Add Makefile for ATmega32U4 2020-04-09 13:56:20 +09:00
tmk 05c2df1237 sun_usb: Update README and rename to .md 2020-04-08 17:54:15 +09:00
tmk 8898747b09 sun_usb: Add unimap support 2020-04-08 17:38:33 +09:00
tmk 8f86d125c3 ibmpc_usb: Update firmware hex files 2020-03-22 21:30:22 +09:00
tmk fefe1028de ibmpc_usb: Add comment on INTERRUPT_CONTROL_ENDPOINT 2020-03-20 14:43:52 +09:00
tmk a4d4f14942 ibmpc_usb: Fix CS3 scan code in comment 2020-03-04 08:02:16 +09:00
tmk f99d1b12e7 ibmpc_usb: Update README 2020-03-02 14:44:39 +09:00
tmk c7160e29bb ibmpc_usb: Update firmware binary 2020-03-02 14:33:25 +09:00
tmk f9fb97707f ibmpc_usb: Change keymap for application key 2020-03-02 14:21:54 +09:00
tmk 8e7027f115 ibmpc_usb: Check overrun error for CS2 and CS3 2020-03-02 14:10:27 +09:00
tmk 28cd55c1bf ibmpc_usb: Check invalid code for CS1 2020-03-02 14:09:34 +09:00
tmk c023e5feea ibmpc_usb: Wait BAT(AA) code forever 2020-03-01 23:33:29 +09:00
tmk 0c80bfca71 ibmpc_usb: Error recovery with invalid scan code 2020-03-01 23:23:55 +09:00
tmk 83ebf5212d ibmpc_usb: Fix init code not to block main loop
blocking loop prevents console output at startup
2020-02-29 17:29:55 +09:00
tmk 9acc900ffb ibmpc: Add two-byte buffer for data received 2020-02-29 17:29:55 +09:00
tmk a42cc4bddb ibmpc_usb: Fix hard reset code 2020-02-29 17:29:55 +09:00
tmk e7d6d24c17 ibm_usb: Fix interrupt enable macro
clear interrupt flag before enabling to ditch unwanted interrupt
2020-02-29 17:29:54 +09:00
tmk 9a06c701b0 ibmpc_usb: Fix keyboard initialize 2020-02-29 17:29:54 +09:00
tmk cb026d74a5 ibmpc_usb: Fix Disable/Enable keyboard
- Return without enabling with F4 for 84-key AT wrongly before this fix
- disable/enable doesn't seems to be needed
2020-02-29 17:29:54 +09:00
tmk 7587fe3382 ibmpc: Fix how to initialize keyboard 2020-02-29 17:29:54 +09:00
tmk f68a1f5590 ibmpc: Fix error handling for keyobard hotswap 2020-02-29 17:29:54 +09:00
tmk fc4b6cd341 adb_usb: Update prebuilt firmware 2020-02-13 09:04:44 +09:00
tmk ce5e565f58 adb_usb: Fix start up delay for AEK/AEKII
Without proper delay keyboard the converter starts talking too early
before keyboard wakes up. ISO recognition and enabling Extention protocol
would be failed in the result.
https://github.com/tmk/tmk_keyboard/issues/640#issuecomment-585411393
200ms is enough for AEKs but 1000ms is used here for safety.
2020-02-13 08:49:09 +09:00
tmk 6209ceebfb lufa: Rename LUFA_DEBUG to TMK_LUFA_DEBUG 2020-02-09 21:17:52 +09:00
tmk a4abe50f18 adb_usb: Fix mouse init and debug print 2020-02-09 20:47:04 +09:00
tmk 3b7bf1f6e0 usb_usb: Fix unimap translation for Power 2020-02-03 12:47:05 +09:00
tmk 45e45691e0 ibmpc_usb: Add prebuilt firmware files 2019-12-05 09:07:14 +09:00
tmk 5a759850ff ibmpc_usb: Fix Makefiles 2019-12-05 08:57:41 +09:00
tmk 4b44e106b3 ibmpc_usb: Add support for AT90USB1286 2019-12-04 15:09:36 +09:00
tmk 9ddc33cfdb ibmpc_usb: Add IBM PC Keyobard converter 2019-12-04 11:35:48 +09:00
tmk bb67a8e48f terminal_usb: Add note for pull-up resistors 2019-11-12 15:49:23 +09:00
tmk 14a3b33f35 terminal_usb: Change keymap for hidden keys 2019-11-12 15:41:19 +09:00
leragequit 54fd3340bf Adding support for the IBM 102 Terminal Keyboard ( #1386304 ) (#634)
Adding support for the IBM 102 Terminal Keyboard ( #1386304 )
The 1386304 has a slightly different matrix than the 122/101 terminal keyboard.
2019-11-12 13:02:01 +09:00
tmk c215713f13 usb_usb: Fix markdown notation in README 2019-09-18 16:51:44 +09:00
tmk f016476d83 usb_usb: Update firmware file 2019-09-18 16:09:10 +09:00
tmk b813d62a8b usb_usb: Add BTLD unimap to start bootloader
Press App(Menu) + Pause key to start bootloader
2019-09-18 15:42:47 +09:00
tmk 250724f79a usb_usb: Enable NO_DEBUG build option
to save flash memory space
2019-09-18 15:41:24 +09:00
tmk 108b0ce8d9 usb_usb: Clean print for debug 2019-09-18 15:29:38 +09:00
tmk f5e487bc38 ps2_usb: Add Makefile.32u4 2019-09-10 07:54:36 +09:00
tmk e7af17fec9 ps2_usb: Update README 2019-09-09 12:10:15 +09:00
tmk a2e8a1b534 ps2_usb: Make build files clean 2019-09-09 11:50:11 +09:00
tmk f664a993d2 pc98_usb: Fix scan code description 2019-09-05 00:20:32 +09:00
tmk 3f339b7de7 pc98_usb: Fix STOP as magic key 2019-09-05 00:01:07 +09:00
tmk 1ac07ccf99 pc98_usb: Fix debug print codes 2019-09-04 23:43:29 +09:00
tmk 841c7d9ab4 pc98_usb: Change LUFA build option for #627 2019-09-04 23:41:22 +09:00
Haruka Inoue 229693e687 Add PC-8801 Keyboard support. (#620)
* Add PC-8801 Keyboard support.

* Add PC-8801 Keyboard support.

* Add PC-8801 Keyboard support.
2019-07-23 10:14:59 +09:00
tmk a1711da934 ibm4704_usb: Update document 2019-07-13 03:02:38 +09:00
tmk 68f88b33e2 adb_usb: Update README 2019-06-24 17:04:48 +09:00
tmk f19780d4ad adb_usb: Fix for Macally ADB keyboard
- The odd keyboard sends key0 and key1 inversely for no reason.
  https://deskthority.net/workshop-f7/macally-mk96-t20116.html
2019-06-24 16:11:36 +09:00
tmk 1b6aa66c8b adb_usb: Update binary firmware 2019-06-23 15:38:06 +09:00
tmk 0fec847611 adb_usb: Remove unnecessary waits 2019-06-23 15:04:35 +09:00
tmk 66e97371ba adb_usb: Fix mouse_init 2019-06-23 15:04:35 +09:00
tmk 35da7a8d70 adb_usb: Change mouse acceleration according to cpi 2019-06-23 15:04:35 +09:00
tmk 814eaa2dff core:adb_usb: Add Extended Mouse Protocol support #274
Also add Kensington Turbo Mouse 5 specific initialization
2019-06-23 15:04:35 +09:00
tmk 6df651203a adb_usb: Change Unimap for ADB keyboard 2019-06-23 15:04:35 +09:00
tmk daf1ef1db2 adb_usb: Clean repository 2019-06-23 15:04:35 +09:00
tmk c25cdae5f2 usb_usb: Update unimap firmware binary 2019-05-29 23:45:35 +09:00
tmk 4880e2b661 usb_usb: Override startup and suspend hook 2019-05-29 14:51:10 +09:00
tmk 00bba0fdb5 usb_usb: Add options for disabling blocking loops
USB startup wait loop delays UHS2 Task() starting for a while
like 200-600ms and USB suspend loop blocks the Task() while power
saving like 15-17ms. These loops may cause keyboard enumeration
failure, perhaps. Not confirmed it yet though.
2019-05-10 09:44:59 +09:00
tmk 2fd396b8ca usb_usb: Add option for disabling suspend power down 2019-05-10 09:44:59 +09:00
tmk 7c228967a4 usb_usb: Order of init prevents uneeded bus reset
Device classes are registered to array of config driver pool and
tried in that order until proper class is found in configuration process.
If tried driver cannot handle device, bus reset is issued to the device.
2019-05-10 09:44:59 +09:00
tmk 527bdbbcbd usb_usb: Add debug print for low level 2019-05-07 00:07:19 +09:00
You Xiaojie / 尤晓杰 494faeb488 Correct the comments of matrix ROW and COL. (#604)
according to the code:
static uint8_t matrix[MATRIX_ROWS];
#define ROW(code)      (code>>3)
#define COL(code) (code&0x07)
in converter/terminal_usb/matrix.c
ROW is decided by bits 7-4 of scancode
COL is decided by bits 2-0 of scancode
2019-03-18 15:47:07 +09:00
You Xiaojie / 尤晓杰 826a107526 Redefine GRV,CAPS,RALT and RCTL (#596) 2019-03-18 08:03:04 +09:00
You Xiaojie / 尤晓杰 8bb1c010fa Correct the comments of matrix ROW and COL. (#600)
according to the code:
static uint8_t matrix[MATRIX_ROWS];
#define ROW(code)      (code>>3)
#define COL(code)      (code&0x07)
in converter/ps2_usb/matrix.c
ROW is decided by bits 7~4 of scancode
COL is decided by bits 2~0 of scancode
2019-03-18 08:01:15 +09:00
tmk 6b1976d05b terminal_usb: Fix pin configuration in README 2019-03-10 22:48:21 +09:00
tmk d0b91ca319 usb_usb: Update README and firmware hex file 2018-11-12 10:51:41 +09:00
tmk a0b5bf4b67 usb_usb: usb_hid: Change for USB_Host_Shield_2.0 2018-10-31 09:35:30 +09:00
tmk aa5dd8fccf lufa: usb-usb: Use LUFA startup instead of cusotom
- Change keyboard_init() timing and matrix_scan() is called in USB
  startup wait loop for FC660C
- FC660C startup seems to be faster and it doesn't work without this fix
  when plugin the keyboard and converter at same time
2018-10-31 09:35:30 +09:00