Get Support For Your Laptop Model - username227/MuteLED GitHub Wiki

Follow these instructions to see if support for your laptop model can easily be added to the script.

Different HP laptops have different keymaps which identify the LED light that turns on when the system is muted. The commands in the readme are the default commands, as the feedback from the majority of users is that these commands work. However, there are some users who have reported different keymap commands that are needed. If one of the following sets of commands works for you, then the script may not work automatically for you until your model information is added to the script.

Before you run these commands, follow the instructions in the readme to get your audio card number, and be sure to replace cardnumber with hwC0D0, hwC1D0, or hwC2D0, as appropriate.

The commands are:

First Set of Commands:

Action Command
To turn on the mute LED: sudo hda-verb /dev/snd/cardnumber 0x20 0x500 0x0b && sudo hda-verb /dev/snd/cardnumber 0x20 0x400 0x8
To turn off the mute LED: sudo hda-verb /dev/snd/cardnumber 0x20 0x500 0x0b && sudo hda-verb /dev/snd/cardnumber 0x20 0x400 0x0

Second Set of Commands:

Action Command
To turn on the mute LED: sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x7 && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x1
To turn off the mute LED: sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x7 && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x0

If any of these 3 sets of commands works, but the module does not work for you as written, please open a new issue with the following information:

  1. Your complete HP laptop model number
  2. Which of these sets of commands worked for you.

I will try to add support for your model number as quickly as possible.

Final Note

If you discover that your mute LED light works with different commands, please open a new issue or report the details in Issue #1. These commands can also be added as an option in the script to get it to work for your model.

⚠️ **GitHub.com Fallback** ⚠️