Page 1 of 1

[solved] Audio Media Keys

PostPosted: Apr 27th, '24, 17:31
by Garthhh
I'm on a thinkpad t495
Mageia KDE is installed on a nvme plugged into a usb3 port
Sound works
Media keys don't work, the mute light on the speaker & microphone do work
Any keyboard shortcuts I set don't work
Pointing at speaker in system tray, middle click=mute, scroll adjusts
Clicking the speaker opens a drop down that works

Re: Audio Media Keys

PostPosted: Apr 27th, '24, 19:09
by doktor5000
Garthhh wrote:Media keys don't work, the mute light on the speaker & microphone do work
Any keyboard shortcuts I set don't work
Pointing at speaker in system tray, middle click=mute, scroll adjusts
Clicking the speaker opens a drop down that works

What media keys do you mean, like F1 to F3 for mute and volume up/down ?
Also, what keyboard shortcuts did you set ?

Re: Audio Media Keys

PostPosted: Apr 27th, '24, 20:37
by morgano
Or are there special keys on your keyboard dedicated for volume etc?

Or press some special key to make other keys have volume etc as secondary function?

Re: Audio Media Keys

PostPosted: Apr 27th, '24, 21:45
by doktor5000
FWIW there are some default function keys on all thinkpad keyboards, F1 to F12 - see e.g. page 22 in the manual: https://download.lenovo.com/pccbbs/mobi ... _v2_en.pdf
Most of them should work out of the box.

Re: Audio Media Keys

PostPosted: Apr 28th, '24, 07:01
by Garthhh
Thanks for the reply
The keys are both media keys & function keys, media is primary, fn key + f1, f2, f3....
Alt+down, alt+up for shortcuts
f5 & f6 run the brightness as normal
f4 which should mute the microphone, doesn't
The lights [f1,f4]for audio & mute work

Re: Audio Media Keys

PostPosted: Apr 28th, '24, 11:54
by doktor5000
OK, but which is the one that you want to be working mainly?
From your description, only microphone mute ?

It's probably easiest to run one of the following in a terminal, then press Fn+F4 (or enable Fn lock and only press F4) to see what event the button press creates, and post that here.
Code: Select all
xev

or
Code: Select all
acpi_listen


But seems there might not be a direct fix currently, see e.g. https://bbs.archlinux.org/viewtopic.php?id=268269
Although you can workaround it: https://askubuntu.com/questions/125367/ ... -thinkpads

Re: Audio Media Keys

PostPosted: Apr 28th, '24, 19:15
by Garthhh
I installed replacement shortcuts when the default media keys didn't work, the media keys are my choice
xev, command not found
acpi_listen yields
Code: Select all
button/mute Mute 00000080 00000000 k
button/volumedown VOLDN 0000080 00000000 k
button/volumeup VOLUP 00000080 00000000 k 

fn locked [OR [OQ with up arrow I don't how to type
holding fn & using the buttons is the same as without fn

Re: Audio Media Keys

PostPosted: Apr 28th, '24, 20:10
by doktor5000
What do you mean by you installed replacement shortcuts ?
In any case, the mute button seems to be generating the proper event. See the second link in my previous post for some workarounds.

Garthhh wrote:xev, command not found

You may need to install xev beforehand.

[solved] Audio Media Keys

PostPosted: Apr 29th, '24, 01:14
by Garthhh
I went to system settings > shortcuts > audio volume & set secondary shortcuts

since my last post I removed all the shortcuts > rebooted > rechecked the defaults > all working

Thanks for the help

Re: Audio Media Keys

PostPosted: Apr 29th, '24, 01:21
by doktor5000
Please don't forget to mark the thread as solved, by editing the subject of the first post and prefix it with [SOLVED], thanks in advance.