You are not logged in.

#1 2020-05-13 04:06:37

angryjenkins
Member
Registered: 2020-05-13
Posts: 6

[SOLVED]Keychron keyboard function/multimedia keys

Greetings and salutations!

Got a Lenovo m93p Tiny yesterday and decided to throw Lithium on it.

Everything is working fine EXCEPT the function keys on my Keychron K1. I use it with the Apple keys and have the keyboard set to Apple mode. The issue is by default the buttons perform the media functions (and only some of them) - volume up/down, back-light brightness, etc. I want these to use the function keys by default.

I've already attempted updating /etc/modprobe.d/hid_apple.conf (fnmode=2) - I did this on my laptop with LMDE 4 and it worked fine - however BL seems to be ignoring this command.

I see this question was asked once a few years back but not marked solved, and included the same solution. However I saw a key Keychrons in the Keyboard thread and am hoping someone has a solution.

Thank you kindly.

Last edited by damo (2020-05-14 09:50:30)

Offline

#2 2020-05-13 07:10:12

ohnonot
...again
Registered: 2015-09-29
Posts: 4,525
Website

Re: [SOLVED]Keychron keyboard function/multimedia keys

Please tell us a lot more about the hardware - both keyboard and computer.


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

#3 2020-05-13 12:29:33

angryjenkins
Member
Registered: 2020-05-13
Posts: 6

Re: [SOLVED]Keychron keyboard function/multimedia keys

Sure thing, thanks.

The keyboard is  Keychron K1 - the hardware is a Lenovo m93p Tiny - stock processor (i5-4570T) and I upgraded to 8GB Ram and installed a 120GB SSD.


Below is my sudo lshw -short if helpful.

H/W path               Device     Class          Description
============================================================
                                  system         10AB0010US (LENOVO_MT_10AB)
/0                                bus            SHARKBAY
/0/0                              memory         64KiB BIOS
/0/3d                             processor      Intel(R) Core(TM) i5-4570T CPU
/0/3d/3e                          memory         512KiB L2 cache
/0/3d/3f                          memory         128KiB L1 cache
/0/3d/40                          memory         4MiB L3 cache
/0/41                             memory         8GiB System Memory
/0/41/0                           memory         4GiB SODIMM DDR3 Synchronous 16
/0/41/1                           memory         4GiB SODIMM DDR3 Synchronous 16
/0/100                            bridge         4th Gen Core Processor DRAM Con
/0/100/2                          display        Xeon E3-1200 v3/4th Gen Core Pr
/0/100/3                          multimedia     Xeon E3-1200 v3/4th Gen Core Pr
/0/100/14                         bus            8 Series/C220 Series Chipset Fa
/0/100/14/0            usb2       bus            xHCI Host Controller
/0/100/14/0/3                     multimedia     JOUNIVO JV601PRO
/0/100/14/0/9                     bus            USB 2.0 Hub
/0/100/14/0/9/3                   input          ELECOM TrackBall Mouse
/0/100/14/0/a                     input          K1-Keyboard
/0/100/14/1            usb4       bus            xHCI Host Controller
/0/100/16                         communication  8 Series/C220 Series Chipset Fa
/0/100/16.3                       communication  8 Series/C220 Series Chipset Fa
/0/100/19              eno1       network        Ethernet Connection I217-LM
/0/100/1a                         bus            8 Series/C220 Series Chipset Fa
/0/100/1a/1            usb1       bus            EHCI Host Controller
/0/100/1a/1/1                     bus            USB hub
/0/100/1b                         multimedia     8 Series/C220 Series Chipset Hi
/0/100/1c                         bridge         8 Series/C220 Series Chipset Fa
/0/100/1c.3                       bridge         8 Series/C220 Series Chipset Fa
/0/100/1c.3/0          wlp2s0     network        Centrino Wireless-N 105
/0/100/1d                         bus            8 Series/C220 Series Chipset Fa
/0/100/1d/1            usb3       bus            EHCI Host Controller
/0/100/1d/1/1                     bus            USB hub
/0/100/1f                         bridge         Q87 Express LPC Controller
/0/100/1f.2            scsi0      storage        8 Series/C220 Series Chipset Fa
/0/100/1f.2/0.0.0      /dev/sda   disk           120GB KINGSTON SA400S3
/0/100/1f.2/0.0.0/1    /dev/sda1  volume         243MiB Linux filesystem partiti
/0/100/1f.2/0.0.0/2    /dev/sda2  volume         111GiB Extended partition
/0/100/1f.2/0.0.0/2/5  /dev/sda5  volume         111GiB Linux filesystem partiti
/0/100/1f.3                       bus            8 Series/C220 Series Chipset Fa
/0/1                              system         PnP device PNP0c02
/0/2                              system         PnP device PNP0b00
/0/3                              generic        PnP device INT3f0d
/0/4                              system         PnP device PNP0c02
/0/5                              system         PnP device PNP0c02
/0/6                              system         PnP device PNP0c31
/0/7                              system         PnP device PNP0c02
/1                                power          To Be Filled By O.E.M.

Offline

#4 2020-05-13 13:02:42

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,780

Re: [SOLVED]Keychron keyboard function/multimedia keys

a. Remove the modprobe configuration, reboot

b. Do the modprobe-equivalent from https://wiki.archlinux.org/index.php/Ap … o_not_work

c. Inspect the output of dmesg immediately for information and/or errors

d. Open thew X11 event monitor from the terminal

xev

focus the window. Press the broken keys. What events -- if any -- appear in the terminal? It should show KeyPress events when you type.

KeyPress event, serial 40, synthetic NO, window 0x9e00001,                                      
    root 0x18e, subw 0x0, time 484469503, (563,842), root:(563,871),
    state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,                                 
    XLookupString gives 0 bytes:                                                                
    XmbLookupString gives 0 bytes:                                                              
    XFilterEvent returns: False

or similar.

e. USB keyboard? Type

lsusb -t

It'll show you the driver= attached to each USB device. Does it show that apple_hid is properly attached to the keyboard device (you can get the location by just running lsusb (without -t) it'll show bus number and bus port). If it isn't attached to the device, you'll see a standard driver like driver=usbhid, which you'd get for most standard USB keyboards. Cross-check with lsmod output. If it doesn't include apple_hid, the module isn't even loaded.


Per aspera ad astra.

Offline

#5 2020-05-13 21:28:29

angryjenkins
Member
Registered: 2020-05-13
Posts: 6

Re: [SOLVED]Keychron keyboard function/multimedia keys

twoion wrote:

a. Remove the modprobe configuration, reboot

b. Do the modprobe-equivalent from https://wiki.archlinux.org/index.php/Ap … o_not_work

c. Inspect the output of dmesg immediately for information and/or errors

d. Open thew X11 event monitor from the terminal

xev

focus the window. Press the broken keys. What events -- if any -- appear in the terminal? It should show KeyPress events when you type.

KeyPress event, serial 40, synthetic NO, window 0x9e00001,                                      
    root 0x18e, subw 0x0, time 484469503, (563,842), root:(563,871),
    state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,                                 
    XLookupString gives 0 bytes:                                                                
    XmbLookupString gives 0 bytes:                                                              
    XFilterEvent returns: False

or similar.

e. USB keyboard? Type

lsusb -t

It'll show you the driver= attached to each USB device. Does it show that apple_hid is properly attached to the keyboard device (you can get the location by just running lsusb (without -t) it'll show bus number and bus port). If it isn't attached to the device, you'll see a standard driver like driver=usbhid, which you'd get for most standard USB keyboards. Cross-check with lsmod output. If it doesn't include apple_hid, the module isn't even loaded.


THANK YOU for this resource! Reading this over solved my issues.

I believe the problem was I did not 'update-itnramfs -u' after adding the modprobe options. Function keys working as desired, even after rebooting.  Invaluable resource that arch wiki. Pages bookmarked for next install.

I'm a noob to the board as you can see. If possible I wlll mark this 'solved'.

Offline

#6 2020-05-14 09:51:32

damo
....moderator....
Registered: 2015-08-20
Posts: 5,982

Re: [SOLVED]Keychron keyboard function/multimedia keys

angryjenkins wrote:

...

I'm a noob to the board as you can see. If possible I wlll mark this 'solved'.

Just edit the title of your first post - I've done it for you this time wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#7 2020-05-15 12:57:06

angryjenkins
Member
Registered: 2020-05-13
Posts: 6

Re: [SOLVED]Keychron keyboard function/multimedia keys

Cheers, mate! Even fixed my typo. Quality.

Offline

#8 2020-05-15 23:28:14

damo
....moderator....
Registered: 2015-08-20
Posts: 5,982

Re: [SOLVED]Keychron keyboard function/multimedia keys

angryjenkins wrote:

Cheers, mate! Even fixed my typo. Quality.

I must admit I am a grammer nazi wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

Board footer

Powered by FluxBB