Home » Questions » Computers [ Ask a new question ]

Disabling built-in speaker in Linux

Disabling built-in speaker in Linux

My workstation has a built-in speaker that, surprisingly, plays audio very well. I also have external speakers hooked up to the audio out jack which are easier to hear. Unfortunately, when I try to play some audio material, sound comes out of both the external speakers and the built-in speaker on the workstation.

Asked by: Guest | Views: 315
Total answers/comments: 2
Guest [Entry]

You could open up the case and pull the plug connecting the internal speaker to the motherboard.
Guest [Entry]

"alsamixer is the alsa provided ncurses GUI for accessing hardware mixer elements, and if any application at all is capable of seperately turning off the internal speaker, it will likely be possible in alsamixer. Many mixer applications are fairly generic, and do not customize for the specific capabilities of the hardware the way alsamixer does. Look for a control labeled ""internal speaker"" or something similar. m will mute / unmute any muteable channel in the alsamixer interface. h will open the help window, and Escape will exit.

Also, if you want raw access to sound card parameters, amixer -c<n> should provide that list, and amixer -c<num> set <SCONTROL> mute will mute a mutable control by name. Be sure to check out various values of <n> with amixer, because for example pulseaudio often creates an extra virtual device. The -c argument for selecting a sound card also works with alsamixer or alsamixergui (the X11 version of alsamixer)."