Sound too quiet on your linux laptop? I have been plagued by this issue with Lenovo's thinkpad line for years, and searching has shown many many other people too have trouble with laptop speakers being driven too weakly in linux. Gnome now offers a volume slider that goes past 100% volume, but kde does not, and the keyboard volume buttons wont go past 100%. What to do? Well if your using a a modern distribution with pulseaudio, I have figured out a solution by loading an amp plugin as a new sound sink.
First, install Steve Harris' LADSP plugins. In fedora these are avalable by installing the package 'ladspa-swh-plugins'
From there, you simply edit your /etc/pulse/default.pa file, but first we need to know some things:
- What device should we pass the amp'd signal to?
- How much to amp? I did 10db and that worked well.
- Name for our new sound sink? I call mine simply 'amp'
Pulseaudio comes with some handy tools I never knew about. One is pacmd, which lets you examine and configure the various sound sources and sinks available. Run pacmd, and it brings up its own little command-line interface. Type list-sinks, and make a note of the index of your sound card. My laptop (Lenovo W520) has an nvidia sound chip which does not seem to be used on index 0, and an intel one on 1 which IS used. So for me, we will tell the amp plugin to use master=1.
Now you can edit the /etc/default.pa (or system.pa depending on distribution). At the end, add the following line to create your new sound sink:
load-module module-ladspa-sink sink_name=amp master=1 plugin=amp_1181 label=amp control=10
ladspa-sink is a module that interfaces between standard ladspa sound maniuplation plugins, and pulse. The amp plugin from Steve's collection is what we want to load.
The control=10 tells amp to bump up by 10db, so you can adjust to your liking. You can issue this command in pacmd first (and also unload-module x where x is the new index which is printed after it loads, to remove it and try again).
I suggest installing pavucontrol which is a nice little gui for pulse sources and sinks. You should see your new device show up, and in the list of things playing (start up amarok or something) you can switch sinks. You should hear it get louder when you switch to the new amp sink.
Lastly, if you add to the very end of /etc/pulse/default.pa:
set-default-sink amp
then you should see applications playing on your new amped sound sink by default. Yay!



I have a Dell Inspiron 8200, and found
Who is rubin? Since the first time that question was answered on my origional site,
the answer has probably changed. I'm not the same person who went to U.S. Grant High School.