Commit graph

16 commits

Author SHA1 Message Date
tmk
d825356dd5 usb_usb: MAX3421 task at startup loop #770
- Poker X requires this to be enumerated
- MAX3421 task need to start at earlier stage
2023-12-31 03:06:09 +09:00
tmk
09664638f8 usb_usb: power saving during suspend without remote wakeup
https://github.com/tmk/tmk_keyboard/issues/769#issuecomment-1864054914
2023-12-20 17:25:36 +09:00
tmk
ea27f71701 usb_usb: Remomve matrix_scan in suspend loop
- This should not be needed anymore
- Confirmed that there is no problem on FC660C startup
2023-12-20 16:57:10 +09:00
tmk
7403b9731b usb_usb: Support for remote wakeup from keyboard 2023-12-20 16:57:10 +09:00
tmk
cdf4bfc3ae usb_usb: Fix for Apple Magic Keyboard(A1644/A1843)
The device has keyboard function at interface 1, not 0. #606
2023-01-22 18:05:10 +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
6209ceebfb lufa: Rename LUFA_DEBUG to TMK_LUFA_DEBUG 2020-02-09 21:17:52 +09:00
tmk
108b0ce8d9 usb_usb: Clean print for debug 2019-09-18 15:29:38 +09:00
tmk
4880e2b661 usb_usb: Override startup and suspend hook 2019-05-29 14:51:10 +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
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
tmk
c2ce617a36 usb_usb: Fix startup block bug
- This bug occurs when sending LED out report before keyboard becomes ready
- Ckecking with isReady() before using SetReport() solves this
- Slow startup keyboard like TMK trrigers this bug and Linux shows following error just after plugin converter
    usb 3-1: device descriptor read/64, error -62
2018-07-05 23:40:55 +09:00
tmk
a38dd9dda5 usb_usb: Add Makefiles 2017-05-11 00:59:20 +09:00
tmk
51326077b0 usb_usb: Restore LED state when plugging keyboard 2016-10-18 15:10:43 +09:00
tmk
148c6a5175 usb_usb: Add multiple keyboard support
it supports four keyboards and two cascaded hubs
2016-06-21 13:49:06 +09:00