Skip to content

username227/MuteLED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MuteLED

This repository contains a simple script that provides a workaround for some HP laptop models where the mute LED light does not function. This is more of a hacky workaround solution. Models for which MuteLED is reported to work and not work are listed in this wiki article. The article will be updated as more users report results. Therefore, if you find that this solution works for your laptop model, or if it doesn't work, please comment in Issue #1 with your laptop model and any pertient information. Thanks.

Instructions:

First, check and see if the following command will turn on your mute LED:

sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7778

and that this command turns off your LED:

sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7774

If this works, then you should be able to use this hack.

If you are on Arch or an Arch-derivative, you can install through the AUR here, or download the package from releases. I have also included a deb file for debian-based distros (but I haven't tested it, so let me know if you run into issues).

Otherwise, place the files as follows:

/usr/bin/muteled
/etc/acpi/actions/muteled.sh
/etc/acpi/events/mute-led

The first two files should have execute rights (755).

Then, make sure that the acpid service is started:

sudo systemctl enable --now acpid.service

Dependencies: alsa-tools, pamixer, acpid

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages