Difference between revisions of "ALSA Beep control"

From Noah.org
Jump to: navigation, search
m (Created page with 'Category:Engineering == Error: "amixer: Unable to find simple control 'Beep',0" == After installing '''alsa-utils''' you may find that it may not include the '''Beep''' con…')
 
(Error: "amixer: Unable to find simple control 'Beep',0")
 
Line 3: Line 3:
 
== Error: "amixer: Unable to find simple control 'Beep',0" ==
 
== Error: "amixer: Unable to find simple control 'Beep',0" ==
  
After installing '''alsa-utils''' you may find that it may not include the '''Beep''' control. When you run '''amixer''' you get the following output.
+
After installing '''alsa-utils''' and '''beep''' you may find that it may not include the '''Beep''' control. When you run '''amixer''' you get the following output.
 
<pre>
 
<pre>
 
# amixer -q set "Beep" 50% unmute
 
# amixer -q set "Beep" 50% unmute
Line 14: Line 14:
 
Next load the module.
 
Next load the module.
 
<pre>
 
<pre>
 
+
modprobe snd-pcsp
If that fails try '''apt-get install beep'''.
+
</pre>
 
+
 
Sometimes '''snd-pcsp''' won't work, but '''pcspkr''' module will work. You can't have them both loaded at the same time. Try the following.
 
Sometimes '''snd-pcsp''' won't work, but '''pcspkr''' module will work. You can't have them both loaded at the same time. Try the following.
 
<pre>
 
<pre>
Line 23: Line 22:
 
echo -e "\a"
 
echo -e "\a"
 
</pre>
 
</pre>
 +
Sometimes it requires a reboot. If that fails try '''apt-get install beep'''.

Latest revision as of 02:14, 9 May 2014


Error: "amixer: Unable to find simple control 'Beep',0"

After installing alsa-utils and beep you may find that it may not include the Beep control. When you run amixer you get the following output.

# amixer -q set "Beep" 50% unmute
amixer: Unable to find simple control 'Beep',0

The problem is likely due to the fact that the driver, snd-pcsp is black-listed and/or not loaded. Check any of the usual kernel module black-list files. ALSA stuff is usually here, /etc/modprobe.d/alsa-base-blacklist.conf. Comment out the following line.

# blacklist snd-pcsp

Next load the module.

modprobe snd-pcsp

Sometimes snd-pcsp won't work, but pcspkr module will work. You can't have them both loaded at the same time. Try the following.

modprobe -r snd_pcsp
modprobe pcspkr
echo -e "\a"

Sometimes it requires a reboot. If that fails try apt-get install beep.