-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
Description
Script Command
amixer set PCM 5%-
results in
amixer: Invalid command!
Please note that this worked just yesterday and suddenly it stopped working.Operating System
Linux raspi 6.12.62+rpt-rpi-v6 #1 Raspbian 1:6.12.62-1+rpt1~bookworm (2026-01-19) armv6l GNU/Linux
Hardware
Raspberrypi Zero WH
Behavior
Volume goes to full blast and I am not able to make it quieter using alsamixer
Description
No response
Additional information
From the logs of my service:
KEY_VOLUMEDOWN
amixer: Invalid command!
KEY_VOLUMEUP
Simple mixer control 'PCM',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 255
Front Left: 255 [100%]
Front Right: 255 [100%]
Looking for max98357a:
lsmod | grep max98357a
<empty>
Looking for I2S entries
lsmod | grep i2s
snd_soc_bcm2835_i2s 12288 2
regmap_mmio 12288 1 snd_soc_bcm2835_i2s
snd_soc_core 258048 5 snd_soc_googlevoicehat_codec,vc4,snd_soc_hdmi_codec,snd_soc_bcm2835_i2s,snd_soc_rpi_simple_soundcard
snd_pcm 122880 8 snd_compress,snd_pcm_dmaengine,snd_soc_hdmi_codec,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core,snd_soc_rpi_simple_soundcard
cat /etc/asound.conf
pcm.speakerbonnet {
type hw card 0
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave {
pcm "speakerbonnet"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
channels 2
}
}
ctl.dmixer {
type hw card 0
}
pcm.softvol {
type softvol
slave.pcm "dmixer"
control.name "PCM"
control.card 0
}
ctl.softvol {
type hw card 0
}
pcm.!default {
type plug
slave.pcm "softvol"
}
Reactions are currently unavailable