How to debug audio key mapping?

Hi,

My Fn audio control key is not working, I currently use pavucontrol gui to adjust volume,
When I comment out pavcontrol and use alsamixir, I also cannot adjust it.

##############################################################
## sound-section - DO NOT EDIT if you wish to matically upgrad
############################################################## 
exec --no-startup-id volumeicon
bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'              
# exec --no-startup-id pulseaudio
# exec --no-startup-id pa-applet
# bindsym $mod+Ctrl+m exec pavucontrol

But my brightness keys (F5, F6) work, and I can see the percentage notification on the top right side.

F1 F2 F3 keys can only show the notification.

How can I reset it or debug this issue, I cannot even see any error message when the key is pressed.

I’m using Thinkpad L14 (Kernel: 5.10.53-1-MANJARO).
I use the same config on another laptop (Thinkpad E420) and same kernel version installed, the keys work as expected.

Thank you!

Hello.
You mean, if you use alsamixer, you cannot increase the volume as well ??

Yes, as the first picture, I cannot adjust anything on its UI.
Do you know how to reset audio settings?

Could be a missing driver. Try to re-install alsa-mixer and pulseaudio.

The first screenshot is showing ‘alsamixer’ is working correctly, but it is only showing Digital HDMI outputs from the first audio card

Card: HD-Audio Generic
Chip: ATI R6xx HDMI

I found Linux Hardware scans for ‘Thinkpad L14’ and ‘ATI R6xx HDMI’ that shows two audio devices on these systems:

HW probe of Lenovo ThinkPad L14 Gen 1 2... #fdbc72ed13: aplay

card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

alsamixer was showing the 3 HDMI outputs for card 0

To show the audio playback controls for card 1: ALC257 Analog use this command

alsamixer --card=1

OR this to show audio playback and capture controls

alsamixer --card=1 --view=all
1 Like

Thank you, alsamixer is working,
But I still cannot adjust volume by pressing Fn + F2/F3
It seems not set by i3 config. Where to find the shortcut settings?