mirror of https://github.com/zmkfirmware/zmk.git
fix(usb): Prevent unexpected USB disconnection caused by USB SOF (#3070)
ZMK doesn't use SOF. Disable this to prevent unexpected USB disconnection. The disconnection is observed under 3 circumstances on a Linux host: 1. Keyboard just performed a firmware upgrade and USB is kept connected. 2. Keyboard is woken from USB power source and USB is kept connected. 3. Keyboard is connected when host is booting, and when Linux is just initialized. Disabling SOF processing will not affect boot protocol switching. Tested on Makerdiary M60.
This commit is contained in:
parent
edb36b5838
commit
118359c83e
|
|
@ -129,7 +129,6 @@ config ZMK_USB_BOOT
|
|||
bool "USB Boot Protocol Support"
|
||||
depends on ZMK_USB
|
||||
select USB_HID_BOOT_PROTOCOL
|
||||
select USB_DEVICE_SOF
|
||||
|
||||
config USB_DEVICE_INITIALIZE_AT_BOOT
|
||||
default n
|
||||
|
|
|
|||
Loading…
Reference in New Issue