-
Notifications
You must be signed in to change notification settings - Fork 61
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
Keychron connected via bluetooth not working #71
Comments
What happens if you use original hid-apple module, is it used instead of hid-generic? |
How can I switch back to original hid-apple? Just need to remove the patched version? |
Yes, probably something like: Then reboot and check that hid-apple is actually used instead of hid-generic. If not then the problem is not about this patched version of module in your case. |
Coincidentally I have the same keyboard, when running
The patch does work for me when I have the keyboard connected to bluetooth, however mysteriously enough I can't get it to work in cable mode. What steps could I take to troubleshoot it? When running
I'm using Manjaro linux in combination with the Windows mode on the keyboard (opposed to the Mac mode). This is the kernel I'm using when running
@paulogr maybe try kernel 5.8? |
@hyperfocus1337 and @paulogr you may try the version updated for the 5.8 kernel: take a look at pull request #70. And also refer to the DKMS documentation of your distrib. Currently Fedora, Ubuntu, Suse will have no issues with dkms installation whilst Mint or some others can require some work not described in documentation: #67. @hyperfocus1337 thank you but currently no donations are possible. |
@free5lot the MR seems interesting, I would like to test it but I don't know how to easily install it, tried adjusting the AUR pkgbuild file but I can't use it with a forked repository. Any suggestions on how to easily install it on Manjaro/Arch?
|
@hyperfocus1337 |
@hyperfocus1337 that error is caused by your aur helper (pamac I assume from the path) still having the old repo somewhere in the cache. Delete that and retry. I never used pamac but my guess is it's somewhere in $HOME/.cache |
Thanks for the help. After uninstalling the In my situation, in order to properly use the Keychron K2 with the keys in the expected location on Linux, I need to use the Windows mode with a bluetooth connection. This is the key layout I have on my Keychron K2 (default Mac key layout). These are the default (and desired) keymappings of the Keychron K2 on my Manjaro linux machine (using Windows mode over a bluetooth connection maps to my desired key locations). However, I was hoping I could properly use the keyboard in cable mode so I don't have to connect the keyboard with bluetooth all the time (as Linux doesn't automatically reconnect the keyboard, like Mac does). I was hoping this patch could solve that issue for me. It appears the patch by default doesn't solve this issue for me, neither does the MR from @jbcjorge, so I cannot tell whether this PR causes something to break as the patch doesn't work for me (personally) to begin with. This is how I installed PR #70. These are the steps I took:
Running
When running
Output of Unsure how to move forward in making this work. |
Yes, starting from version 5.8 the Linux kernel already has About the rest, I'm a bit confused. This keyboard of yours Keychron K2 supports 2 modes and switch on the hardware level? Or how exactly do you switch between Mac-Windows modes in GNU/Linux? |
I see. Than it can be a completely different story. |
It's ok, I can use it in bluetooth mode for now, and I wouldn't eventually need it to work with all different combinations. I created the spreadsheet to figure out which keys were mapped by default to begin with, so I could figure out a strategy to decide which keys to remap in order to reach the desired result. Thanks for your help regardless. |
Hi @hyperfocus1337, I have the same keyboard and almost same distro (Arch) but in my case the wired mode works as expected (I actually don't have BT to test that mode). I'm a bit confused by this line in your post above:
For me that means "left ctrl is fn; fn is left ctrl". Have you tried setting that to 0? Using the keyboard in Mac mode and the standard hid_apple module (as of linux 5.8) and the settings below I get your desired layout:
|
Whoa, you are right, changing Thanks for pointing that out, I'm using the keyboard in cable mode now (with Mac mode). Awesome! |
Hi, when trying to use my k2 via bluetooth my Pop-os just use hid-generic instead of the hid-apple version I installed.
It's installed
paulogr@desk:~$ sudo dkms status
[sudo] password for paulogr:
hid-apple, 1.0, 5.4.0-7634-generic, x86_64: installed
But my OS set hid-generic as driver
paulogr@desk:~$ dmesg | grep -i bluetooth
[ 8.971118] hid-generic 0005:05AC:024F.0005: input,hidraw4: BLUETOOTH HID v1.1b Keyboard [Keychron K2] on 0c:7a:15:fa:47:08
Could someone help me?
Thanks
The text was updated successfully, but these errors were encountered: