You are not logged in.

#1 2018-05-04 15:40:52

jwhendy
Member
Registered: 2010-04-01
Posts: 621

HP Zbook 15 G4 wifi/mute button LEDs not toggling

Greetings,


Just got a new computer, an HP Zbook 15 G4. There are buttons for wifi toggle and speaker mute above above the keyboard that you can see in this picture from this article by Laptop Mag. They perform their functions, but the lights will not change to match the actual device status in arch (works in windows 10).

From looking around, this post is the closest to what I'm after. The main point there is making sure that the Mute LED-Mode is set to "Follow Master." Via alsamixer, mine is.

This post is also close, but does't seem to translate to an HP. It suggests finding the acpi_listen key label and then assigning a script to that key. The key registers both with acpi and xev:

$ acpi_listen 
button/mute MUTE 00000080 00000000 K

$ xev
KeyRelease event, serial 48, synthetic NO, window 0x2400001,
    root 0x22b, subw 0x0, time 6467680, (157,-11), root:(158,464),
    state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

The magic line is this, which I don't know the equivalent of for my HP:

echo 1 > /sys/devices/platform/thinkpad_acpi/leds/tpacpi::micmute/brightness

I get these hits for led in /sys:

$ sudo find /sys -name led
/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/input16/capabilities/led
/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/input14/capabilities/led
/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/input15/capabilities/led
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input12/capabilities/led
/sys/devices/platform/lis3lv02d/input/input18/capabilities/led
/sys/devices/platform/i8042/serio3/input/input17/capabilities/led
/sys/devices/platform/i8042/serio2/input/input11/capabilities/led
/sys/devices/platform/i8042/serio0/input/input4/capabilities/led
/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/capabilities/led
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:06/LNXVIDEO:00/input/input3/capabilities/led
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/capabilities/led
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1/capabilities/led
/sys/devices/virtual/input/input13/capabilities/led
/sys/devices/virtual/input/input9/capabilities/led

Trying to manually echo into any of the sound/card0/inputXX/capabilities/led instances failed with a permission denied (even as full root).

Lastly, I use openbox and thought it might be my rc.xml file...

<keybind key="XF86AudioMute">
  <action name="Execute">
    <command>pamixer -t</command>
  </action>
</keybind>

Commenting that out indeed doesn't toggle the mute anymore (via alsamixer), but also doesn't get the light functioning.

I've mostly been focusing on the mute LED, as that one is helpful. This also applies to the wifi led. It's orange (should indicate wifi is disabled), but wifi is on. Pressing it will indeed kill wifi... it's just that the light doesn't change.

Thanks for any suggestions. This is a brand new install, so perhaps I've forgotten a package that's integral in this functionality?

Offline

Board footer

Powered by FluxBB