Commit graph

40 commits

Author SHA1 Message Date
tmk
ea1d7ff240 lufa: Update makefile for new LUFA 2020-02-09 21:04:43 +09:00
tmk
28662f2978 lufa: Use the latest LUFA library on github 2020-02-09 21:03:49 +09:00
tmk
4726938779 lufa: Remove old LUFA directory 2020-02-09 21:03:04 +09:00
tmk
91a125baeb lufa: Fix console_putc
buffering before host and hid_listen become ready
2020-02-09 20:53:45 +09:00
tmk
8449ad385b lufa: Print TMK version to console 2019-05-29 23:42:56 +09:00
tmk
f3e498590c core: Add hook_usb_startup_wait_loop 2019-05-29 14:50:56 +09:00
tmk
d8e304e141 lufa: Startup and suspend loop can be disabled
Startup wait loop is originally intended to start keyboard task loop and
after console output endpoint becomes available. But now that console
output is buffered when it is not available and you don't have to wait
for it to be ready. You can disable the startup wait loop by defining
NO_WAIT_FOR_USB_CONFIGURED in config.h

Suspend loop is used for power saving by making tasks stop while
USB bus is under suspend status. But this may cause problem on some
devices like converter that must keep doing its task to retain
communication with keyboard. The suspend loop can block its task for
around 15-17ms. You can disable the suspend loop  by defining
NO_USB_SUSPEND_LOOP in config.h.
2019-05-10 09:44:59 +09:00
tmk
dd7b75040a lufa:usb_usb: matrix_scan() is no longer needed
This is due to SOF timing fix of USB_Host_Shield_2.0.
The matrix_scan() was needed for usb_usb converter to recognize FC660C at startup.
2019-05-10 09:44:59 +09:00
tmk
993a9b02f7 lufa: Fix for freeze at re/boot time problem
Calling led_set() in ISR can cause the problem. With converter
especially, led_set() can take long time and USB can be stuck in the end.
USB-USB converter freezes occasionally when computer power up or reboot.
https://geekhack.org/index.php?topic=69169.msg2740179#msg2740179
This is also related to suspend/wakeup issue #386.
2019-05-10 09:43:44 +09:00
tmk
1e0af6809d lufa: Fix Change debug print message 2019-05-07 00:07:19 +09:00
tmk
292cc939ec lufa: Fix for UART debug print 2019-05-07 00:07:19 +09:00
tmk
88ce6ff9bf lufa: This prevents resume when debug 2019-05-07 00:07:06 +09:00
tmk
e23520662d lufa: Add debug print support with UART 2019-05-07 00:06:54 +09:00
tmk
feebc23563 core: System control key descriptor fix #435
https://github.com/qmk/qmk_firmware/pull/963
2019-01-26 08:42:20 +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
tmk
00f5ed3210 core: Update console startup for hid_listen 2018-10-16 00:40:14 +09:00
tmk
b7d80d8b0e core: lufa: Fix wait for console startup 2018-09-23 12:36:18 +09:00
tmk
5b9da20efa core: lufa: Fix timeout of send_keyboard
Change 128*40us(5.12ms) to 128*80us(10.24ms) for 6KRO
2018-09-23 12:36:18 +09:00
tmk
ffb52ab0c9 core: lufa: Fix console output and init sequence
console_putc:
Linux:      works very well in general
Windows:    also works very well and connection seems to be faster than Linux
Mac:        to be: confirmed

NOTE:       long session of matrix_print still blocks keyboard_task in main loop
            and prevents it from sending keyboard report.
            XT protocol buffer overflow occurs when slamng on keys

TODO:       check when print functions are called in ISR
2018-09-23 12:36:18 +09:00
tmk
c8d6796358 core: lufa: Add delay for console startup 2018-03-01 12:37:50 +09:00
tmk
910c204a59 core: lufa: Fix checking num of endpoints for 32u2(again) 2018-01-04 16:49:24 +09:00
tmk
c80e92db43 Revert "core: LUFA: Fix checking num of endpoints for 32u2"
This reverts commit a567fec91c.
2018-01-04 16:39:44 +09:00
tmk
a567fec91c core: LUFA: Fix checking num of endpoints for 32u2 2018-01-04 13:12:14 +09:00
yangdigi
78f4f666c6 fix not correctly showing 32u2 warning message when Endpints are more than 4. 2018-01-03 11:06:08 +08:00
tmk
8cab7e60a5 core: Fix Oneshot mods key repeat problem #474 2017-05-31 01:15:45 +09:00
tmk
f76a786b93 core: Add matrix_clear() and default impl. 2016-10-05 13:55:56 +09:00
tmk
9818d54d26 core: Fix suspend/wake for converters #386 2016-10-04 16:02:24 +09:00
tmk
8758035677 core: LUFA_DEBUG_SUART for serial debug 2016-10-03 13:10:53 +09:00
Travis La Marr
b2d791804d Fix OS X Recognizing keyboard as Mouse/Tablet
Modified the LUFA USB HID Descriptor to change the logical/usage
minimums for System Control from 0x01 (Mouse) to 0x81 (System Power
Down), this fixes OS X recognizing the Planck as having a mouse and
tablet, even with mousekeys off.
2016-09-08 14:35:21 +09:00
tmk
61cad24a87 core: Change lufa NKRO report size 16 to 32 bytes 2016-09-07 05:50:25 +09:00
tmk
7ce326dee5 core: Fix Logical Maximum in report descriptor 2016-06-08 05:17:47 +09:00
tmk
279876ef5e core: Fix LUFA report descriptor
- Logical Min/Max contains signed value and needs 16 bit to indicate 255
https://github.com/jackhumbert/qmk_firmware/issues/312
2016-06-06 01:44:29 +09:00
tmk
53bd4a01be Merge commit '71381457fa1311dfa0b58ba882a96db740640871'
Conflicts:
	tmk_core/doc/keymap.md
2016-04-21 14:37:16 +09:00
tmk
ed9766a7d4 core: Fix for disabling NKRO in Boot protocol 2015-09-20 14:34:13 +09:00
tmk
bf3d4b3c06 lufa: Fix endpoint bank mode for ATMega32u2 2015-09-20 10:48:47 +09:00
tmk
35203cad6a core: Fix lufa suspend callback(#234)
With matrix_power_down() in suspend event HHKB JP doesn't start up for some reason.
It is unneeded in actual and removed.
2015-07-23 12:05:51 +09:00
tmk
fdce0c9cc0 lufa: Fix console flush #223
Old console sent unneeded empty data every one milli sencond.
After this fix console flushes endpoint data bank every 50ms only when needed.
2015-05-22 18:11:42 +09:00
tmk
6b588eb7f7 Add keyboard_setup() and matrix_setup() 2015-05-19 00:39:43 +09:00
tmk
f1f2066657 Merge commit 'f6d56675f9f981c5464f0ca7a1fbb0162154e8c5' 2015-05-13 11:13:10 +09:00
tmk
1a02ebcc61 Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00