SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152
Rep:
Sound too loud
I've got a problem on Slackware64 13.37, my sound is way to loud even on minimum settings, it just jumps from off to quite loud, this is not a hardware problem as when I use sound from my debian rescue partition I have full control, I have tried using alsamixer as well as the graphical volume control (I'm using xfce but a quick test on kde gives the same results), alsaconf doesn't seem to detect any sound cards, alsa mixer correctly identifies my sound card ( NVIDA ), been googling and searching these forums but all the sound problems seem to be about sound being to low or nonexistent.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Just out of curiosity, are you able to lower the sound in applications like xmms, audacious, and mplayer?
Running <mplayer name_of_file> in the terminal, you can lower sound with the 9 key on the keyboard, and raise sound with the 0 (zero) key.
Your output from lsmod looks like you have the proper driver loaded.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152
Original Poster
Rep:
yes in fact I use home brew script to play music files using mplayer and I have had to add "-volume 5" to the mplayer command to get a reasonable level, which shows how loud the minimum really is!
yes in fact I use home brew script to play music files using mplayer and I have had to add "-volume 5" to the mplayer command to get a reasonable level, which shows how loud the minimum really is!
So can you lower the volume in all media apps, or just in MPlayer?
MPlayer seems to default to using OSS (at least in my experience). Make sure that MPlayer is set to use alsa by default. In your ~/.mplayer/config file, place ao=alsa in the file and restart MPlayer.
If you use your own script for playing music with MPlayer, you probably already know this though. I just wanted to mention it.
Be sure to set xmms and audacious to use alsa as well.
My thinking is that since OSS can only use one sound app at a time (as far as I know anyway), perhaps something is taking hold of the sound card using OSS, and this is preventing you from adjusting the volume using alsamixer.
It seems weird that Mplayer can lower the volume, but alsamixer can not. This is indeed an unusual problem.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152
Original Poster
Rep:
putting ao=alsa in the config file did nothing.
dragon player I can turn the sound right the way down but again no global control ( ie if the volume on dragon player is at 100% and alsamixier is at min sound is still very loud )
XMMS volume control does nothing
mplayer same as dragon player
flash player in firefox same again
alsamixer ( and the xfce gui volumes control ) does allow me to adjust the sound but only from quite loud upwards, oddly though the mute works ok!
basiclly its the global master volume control that is not working properly
It is strange that in slackware 13.37, alsaconf seems to be useless. I mean it doesn't detect any cards for me either, but the sound card is detected by alsamixer and works fine. I remember that alsaconf stopped working after a kernel update in 13.1.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152
Original Poster
Rep:
just run
Code:
alsactl init
and the pcm control seems to have reappeared in alsamixer which allows me to set the global volume, I'm sure I have run this before with no joy, whoops! just checked my history and I hadn't run this command, I feel so foolish, but then again shouldn't this command be issued when first installing alsa?
Thank everyone for the help I'm going to mark this as solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.