Solved Function (fn) keys not working on a desktop keyboard

For example, if I try pressing Fn+F11 to raise my volume, it just doesn't work. I've tried using cat to see if it returns any escape code (?) for any of those fn+F... keys, and it didn't display anything for some reason. It's as if I hadn't pressed any key at all in the first place. What's going on?

The strange part is, everyone I saw that ran into the same issue had it happening on their laptops, but then I didn't run into that issue back when I had FreeBSD on mine, only now that I'm running it on my desktop PC. Could it be because I run a custom kernel now and so I might have missed some module or config parameter?
 
hmm i don't get anything when grep'ing for uhid and that usbhid module has already been loaded in my kernel

i use a wireless mouse + keyboard kit that uses the same USB receiver for both so i think it could be related to that?

i mean, if i run usbconfig -d ugen0.2 (the receiver itself) dump_device_desc and then run the same for ugen0.2.0 and ugen0.2.1 (both the actual mouse and keyboard) it'll only consider the ugen0.2 part somehow so i get the exact same output for all

maybe i should have added that detail in my post
 
For example, if I try pressing Fn+F11 to raise my volume, it just doesn't work. I've tried using cat to see if it returns any escape code (?) for any of those fn+F... keys, and it didn't display anything for some reason. It's as if I hadn't pressed any key at all in the first place. What's going on?

The strange part is, everyone I saw that ran into the same issue had it happening on their laptops, but then I didn't run into that issue back when I had FreeBSD on mine, only now that I'm running it on my desktop PC. Could it be because I run a custom kernel now and so I might have missed some module or config parameter?
What desktop environment and window manager are you using?
 
There is no difference between wired or wireless keyboards. Wireless keyboards and mice typically use one of those 2.4Ghz dongles, those work completely transparent. Bluetooth keyboards/mice are an entirely different matter though.
 
hmm i don't get anything when grep'ing for uhid and that usbhid module has already been loaded in my kernel

i use a wireless mouse + keyboard kit that uses the same USB receiver for both so i think it could be related to that?

i mean, if i run usbconfig -d ugen0.2 (the receiver itself) dump_device_desc and then run the same for ugen0.2.0 and ugen0.2.1 (both the actual mouse and keyboard) it'll only consider the ugen0.2 part somehow so i get the exact same output for all

maybe i should have added that detail in my post
by the way when i run sysctl hw.usb.usbhid.enable=1 my mouse stops working and only the keyboard does
while the multimedia keys don't work still
 
UPDATE: i'm actually missing a kernel module/driver, if i just compile the kernel with all modules i do have them working
i currently have the following, and it's not working at the moment:
Code:
# i2c, lindebugfs, linuxkpi_video - amdgpu
# usb - mouse
# acpi - function keys?? that's my guess
MODULES_OVERRIDE=acpi i2c lindebugfs linuxkpi_video usb
 
UPDATE #2: IT'S hid!!
i did have that driver built into my kernel, but building its module counterpart provides an extra driver that handles that part of my keyboard, which i figured is hcons

always read the manual···
 
UPDATE #3: hm, for some reason it takes a while for X11 to recognize those keys, i can't use them up until like 5 seconds of starting X
i can't get meaningful information by looking at my Xorg.0.log either, as everything there is shown happening over the span of a literal second
 
Back
Top