Microphone With Mute Button
#####Copied from askubuntu's Enabling mic mute button and light on Lenovo Thinkpad
There are two possible 'hardware' indicators (to show that mute is on or off):
The Power button light (green) will blink to show when mute is onThe Mic mute button light (orange) will be on or off to show mute status (just like in Windows)
Audio Push/Mic Mute on Jabber Regarding Jabber software, would I have the ability to push out audio from a video and have my microphone muted at the same time? Message was edited on April 19, 2013: Kelli Glass, Cisco Collaboration Community Moderator, added community category and tags for greater ease in filtering (no change to content). Microphone will not unmute. Hello, @g1wright - Hope you are well 🙂 Thanks for reaching out to HP Support Forums! I would be glad to be of your assistance. I understand that the microphone is always set on mute after the Windows update. Let's try the steps mentioned below to fix this issue: 1. Run Audio Troubleshooter.
Solution 2 requires a patched thinkpad_acpi
kernel module, and is only recommended for advanced users who know what they are doing. This is because the patch is not included by the thinkpad_acpi
developers by default, (See this discussion for more details).
###Common Steps
###a. Determining the Mic-Mute hotkey code and Mic input device
- Open terminal with
Ctrl+Alt+T
- Run
acpi_listen
, and press the mute key - Note the result, which should be something like:
ibm/hotkey HKEY 00000080 0000101b
- Then run
amixer scontrols
, you should see one of the following in the output:
or
Depending on what you see, 'Internal Mic' or 'Capture' is your input device.
###b. Create the Mic-Mute ACPI event handler
- Open terminal, type
gksudo gedit /etc/acpi/events/lenovo-mutemic
to open the editor. - In the editor, paste in the following, where the first line should be the code shown in the previous section by
acpi_listen
:
- Save and exit the editor.
###Choosing either the Power Light or Mic Mute indicators
###c-1. Mic-Mute script with Power Button indicator
- Do this if you want an easy solution and do not want to use the patched kernel module (see C-2).
- Open terminal, type
gksudo gedit /etc/acpi/lenovo-mutemic.sh
- In the editor, paste:
Replace value of INPUT_DEVICE variable with
Capture
if that is your input device name (leave all the ticks intact).Replace value of YOUR_USERNAME variable with the account name of the user you want to send notifications to
Save and exit the editor.
Now run the following (from the terminal):
- Jump to the Testing section (d) to confirm that it works.
###c-2. Mic-mute with official Mic-mute Indicator Light
#####Setting up the script
- Please do not use this method if you are not familiar with the terminal/shell.
- This will require compiling a patched
thinkpad_acpi
module and has been verified to work with Ubuntu Precise 12.04 and Quantal 12.10, kernels 3.2.0-23 and 3.2.0-24 and 3.5.0-21. - Let's create the script first:
/etc/acpi/lenovo-mutemic.sh
should be as in section c-1, with the following additions: - Insert this line after the header (#!/bin/bash):
- After the first echo.. line, insert:
- And after the second echo.. line, insert:
You can find an example of what the full script should look like in this paste
Then:
- Confirm that pressing the mute button results in a blinking power light; pressing again gives a steady power light.
#####Building, testing and installing the kernel module
- Install (or ensure) you have the headers and built tools for your currently running kernel with:
- Make a temporary directory and change to it:
- Download the source file
thinkpad_acpi.c
from the Ubuntu Kernel git repository:
- Patch it with (copy and paste the full line):
In the same folder where thinkpad_acpi.c has been downloaded, you will need a 'Makefile'. You can download it directly from this Pastebin, using:
- OR paste the below into a file called Makefile:
Now type make to create the module; you will see a thinkpad_acpi.ko file in the folder when done. Naat mp3 download owais raza qadri 2019.
Test the patched module after loading it with:
Now confirm that pressing the mic button will turn the orange mic light on/off AND the power light blinking/steady.
If confirmed, do the following to replace your current
thinkpad_acpi
module:
- Comment out or delete the power led lines in lenovo-micmute.sh
###d. Testing
- Apart from your choice of indicator, you can also confirm mute via the following:
- Click on the volume icon on the top right, and sound settings at the bottom:
- Switch to the 'Input' tab.
- Now have fun pressing the Mic Mute button, you should see it reflected in:
- The Mute checkbox in the window
- Notification bubbles (won't appear instantly if you press the Mic Mute more than once every few seconds!)
- Your chosen indicator: the blinking power button light or the built-in Mic Mute light.
General
Some Thinkpads come with a Microphone Mute Button possibly with an led.
It does not work on Ubuntu, a bug has been reported and a patch has been proposed: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/408903 Best harry potter game.
If you don't have /sys/devices/platform/thinkpad_acpi/leds/tpacpi::micmute, you'll need to patch your kernel withthis patch.
Workaround using acpid
Pressing the mic mute button will generate a acpi event
Depending on your model and your version of acpid it may generate a different event
add a acpid rule to handle this event in /etc/acpi/events/lenovo-mutemic:
the script (/etc/acpi/lenovo-mutemic.sh) to toggle the mice look like this:
Explanation:
- led contain the path to the led in the mute button (see below)
- user is the name of the user, which is currently signed in in X11 and notify-send will send a notification to that user. Remove these lines if you don't like it.
- Pressing the button will toggle the state of the ALSA capture device, which is maybe not optimal in all cases as it disables all capture devices. Mic would be another choice, but on some thinkpads it is named Internal Mic.
ALSA will not remember the state of the led at startup, so one need another small start-up script:
and put it in /etc/local.d/lenovo-mutemic.sh.
F20
If you have a recent version of udev/systemd (see this patch) the acpi trick will not work. The mic mute button will be mapped to F20 (keycode 190), which you should be able to configure normally using the GNOME keyboard settings or similar.
The ACPI mapping is defined in /lib/udev/keymaps/module-lenovo, there you can see if 0x1A is mapped to micmute or F20.
Needed for models
T410, T410s, X230