https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296140

            Bug ID: 296140
           Summary: Thinkpad p53 mic mute key and other extra keys
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 271927
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271927&action=edit
patch that adds mic mute button support

On my ThinkPad P53 (20QQS4EA00), I have had problems with the Fn+F# keys.
After playing around with  FreeBSD 15.1 on it for a while, I made this patch to
get the mic mute key to show up in libinput events. It probably need a bit of
work to get it to work like the output mute key.

I can at least use the libinput event to mute mixer and light the key with the
key using a script, that should probably be done in the acpi_ibm.ko properly.

Fn+F1 KEY_MUTE (correct and working)
Fn+F2 KEY_VOLUMEDOWN (correct and working)
Fn+F3 KEY_VOLUMEUP (correct and working)
Fn+F4 (0x1b) KEY_MICMUTE (works with my patch but not perfect)
Fn+F5 (0x11) KEY_BRIGHTNESSDOWN (correct and working)
Fn+F6 (0x10) KEY_BRIGHTNESSUP (correct and working)
Fn+F7 (0x7) don't work, no output. (external monitor icon)
Fn+F8 (0x5) is WiFi toggle does not work, no output in libinput or dmesg and no
indication light
Fn+F9 (0x1d) don't work (gear icon)
Fn+F10 (0x314) is Bluetooth toggle does not work, no output in libinput or
dmesg
Fn+F11 (0x315) don't work (keyboard icon)
Fn+F12 (0x311) register faulty as KEY_BRIGHTNESSDOWN (star icon)

Hopefully this can be of some help to improve FreeBSD on Laptops.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to