Toggle Mic Mute Lenovo X1 Carbon

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Locked
Tortugaverde
Level 1
Level 1
Posts: 1
Joined: Wed Mar 08, 2017 9:35 am

Toggle Mic Mute Lenovo X1 Carbon

Post by Tortugaverde » Wed Mar 08, 2017 9:57 am

I have a 1st Gen Lenovo X1 Carbon. Switched from Ubuntu to Linux Mint 18 'Sarah' "Xfce 64-bit" and found my microphone mute button was not working. Everything else is locked-in.

I did some research and found that I can go into PulseAudio Volume Control, select "Input Devices" and toggle "Mute Audio" there where Port: = Internal Microphone. Interestingly, the indicator light on my keyboard microphone mute button toggles on when I mute via Volume Control (via mouse click in the GUI). Pressing the physical button on the keyboard does nothing either way.

A little more research and I found an Ubuntu thread that helped me to start mapping the keys. I opened Terminal and entered the command acpi_listen This gave the following output:
button/f20 F20 00000080 00000000 K

Thus the button is active and acting like a Fkey.

So how do I map a keyboard shortcut to my physical microphone toggle mute on/off button? What would the command be that toggles the mute button in PulseAudio Volume Control - Input Devices - toggle mute for microphone? And how do I set the shortcut to the F20 key on my keyboard to accomplish this?

Thanks! :D

DioAlma
Level 1
Level 1
Posts: 1
Joined: Fri Dec 01, 2017 1:21 pm

Re: Toggle Mic Mute Lenovo X1 Carbon

Post by DioAlma » Fri Dec 01, 2017 1:24 pm

I have the same question, did you found a solution for this?

gevetri
Level 1
Level 1
Posts: 6
Joined: Wed Feb 17, 2010 10:42 am

Re: Toggle Mic Mute Lenovo X1 Carbon

Post by gevetri » Mon Dec 04, 2017 9:52 am

I also have the same issue on a Lenovo T450s. Everything else works perfectly.

User avatar
Ehlok
Level 1
Level 1
Posts: 6
Joined: Sun Aug 05, 2018 6:00 am
Location: Portugal

Re: Toggle Mic Mute Lenovo X1 Carbon

Post by Ehlok » Sun Aug 05, 2018 6:14 am

Ok, was having the same problem and just found the solution here.

In a nut shell:

Code: Select all

sudo nano /etc/acpi/events/lenovo-mutemic
and add

Code: Select all

event=button/f20 F20 00000080 00000000 K
action=/usr/bin/amixer sset 'Capture',0 toggle
Restart the ACPI service.

Code: Select all

sudo service acpid restart
Et voilà :)

Using Linux Mint 19 "Tara" Xfce 64-Bit.
ThinkPad X1 Carbon (1st Gen); Linux Mint 19 "Tara" Xfce 64-Bit

Locked

Return to “Hardware Support”