Closed yoichiro closed 1 year ago
Possibly related to #18511?
@tzarc I guess that this issue is not same as the #18511, because the master side certaily works normally but the slave side does not work in my case.
Might be related to https://github.com/qmk/qmk_firmware/pull/18574
@drashna I will try latest code set to confirm whether this issue is reproduced or not later.
@drashna Unfortunately, this issue still occurs using the latest develop branch. Both sides certainly hang up at cold starting of my PC.
Did you update the chibios-contrib
submodule when switching to the develop
branch? There is a critical bug fix for the USB driver. The easiest way to update would be to run make git-submodule
in the root folder.
@KarlK90 I have already updated all sub modules and tried when switching to the develop
branch. However, this issue was reproduced.
Then, I tried using SPLIT_USB_TIMEOUT 5000
and SPLIT_USB_TIMEOUT_POLL 25
, and I was able to confirm that my keyboard was normally recognized and works. I close this issue. Thanks @drashna @KarlK90 @tzarc for advices!
@drashna @tzarc @KarlK90 I have tested the latest develop branch and the #define USB_VBUS_PIN GP24
and the #define SPLIT_HAND_PIN GP22
for Lunakey Pico which is a split keyboard using Raspberry Pi Pico just now. As the result, the keyboard finally normally works without using the SPLIT_USB_DETECT
.
The slave side of the keyboard gets VCC from VSYS pin, therefore I thought that the USB_VBUS_PIN
is available.
Raspberry Pi Pico has the GPIO24 pin to detect whether VBUS is provided from USB or not.
Using the develop branch, my Lunakey Pico keyboard launches normally and works without any delay of the SPLIT_USB_DETECT
at cold starting of my PC.
The slave side certainly hangs up at cold start of a PC in the case of a split keyboard with Raspberry Pi Pico.
Describe the Bug
I have created a Lunakey Pico keyboard which is the split keyboard and each side has a Raspberry Pi Pico. Each side is connected by TRRS cable. When a cold startup of my PC, the slave side certainly hangs up. Then, when reconnecting the USB cable, it works.
The following list is I tried:
#define SPLIT_HAND_PIN GP22
, nothing happened.#define USB_VBUS_PIN GP24
, but nothing happened.The PCB design file is: https://github.com/yoichiro/lunakey/tree/main/pico/rev2/pcb
System Information
Keyboard: Lunakey Pico Operating system: Microsoft Windows 11 and Ubuntu Linux 22.04
qmk doctor
output:Any keyboard related software installed?