-
-
Notifications
You must be signed in to change notification settings - Fork 37.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Keychron Q11 ISO not recognized after computer shutdown #21686
Comments
On Linux, do you get any error messages when you run the command This command will let us know if the computer is attempting to establish a connection to the keyboard. |
I have no error, it is like the keyboard is not plugged in at all. |
Here are a couple more things to try then:
|
I have tried multiple configurations (front and back, usb2 vs usb3 controllers, usb hub vs no hub). Same results, no sides are detected once I shutdown the computer and restart it after.
Same results, none of the sides are detected. I have discovered also some interesting things when not using the bridge.
I don't know if this was intended by Keychron but it does seems strange. |
Are you able/willing to test with the changes from #20863? Techniques like https://stackoverflow.com/a/45967995 can assist with this. Do note that the branch is old, so depending on your workflow you may want to try something like |
I just tested with #20863. Additionnal test: I flashed the original firmware Keychron provided and it works... It seems the repository is not in sync with the firmware they are providing. I am stuck now with Keychron firmware or I have to unplug and replug every time I shutdown my computer; I cannot use all QMK functionalities until Keychron somehow updates their files. |
The keyboard not being detected after reboot is a low level OS/USB problem. I had a similar problem with week (#21678) with my custom keyboard, but was able to resolve it by delaying usb initialization a bit. The difference between your case and mine is that I was able to see an attempt of USB negotiation. That's why I asked to see if there were any usb dmesg errors. Are you running Linux bare metal or in a VM. If it's in a VM, then Windows may be capturing the USB packets and not passing it along to see the dmesg errors. In that case you need to use a Windows tool to capture the USB packets to see if there is an attempt of USB negotiation and where it is getting stuck. Otherwise, the issue is elsewhere. I've attached a patch to delay usb initialization. Perhaps it helps you. edit: You may also want to try to increase the other delays in the protocol_pre_init() function of the file referenced in the patch (tmk_core/protocol/chibios/chibios.c). There is a comment that says: |
Can you try adding #define SPLIT_WATCHDOG_ENABLE to Apparently Also #20863 is definitely not related to this problem (Keychron Q11 uses STM32L432, not something from the WB32 family). |
It does work with:
You are a true knowledge well sigprof! |
Finally a working solution! Very thanks for @xRyuo for opening the issue and for @sigprof for solving it ❤️ |
This was merged recently: |
Sometimes both side is slave, idk why See qmk/qmk_firmware#21686
Describe the Bug
The keyboard is not detected (keys not working, no backlight) after the computer is shutdown and powered on again.
It has to be disconnected and reconnected multiple times so it can work again.
It has been tested on multiple computers and usb cables.
Keyboard Used
keychron/q11/iso_encoder
Link to product page (if applicable)
https://www.keychron.com/products/keychron-q11-qmk-custom-mechanical-keyboard-iso-layout-collection
Operating System
Windows, Linux
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: