Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I had a Soundblaster PCI card that worked perfectly with Fedora Core 2 using ALSA. The sound volume could be regulated in programs like XMMS or mplayer.
But then this soundcard got damaged and I had to use my onboard sound. It's a Silicon Integrated Systems [SiS] Sound Controller (rev a0).
It was automatically recognized by kudzu and works with ALSA, but the sound volume can't be changed in XMMS or mplayer anymore! It's only possible in alsamixer, strangely... What could be the reason?
Just a hunch, but look in the preferences box for xmms and select on the "Audio I/O Plugins" tab click on the "configure" button. Under "Mixer" is the "Use software volume control" NOT selected? Is the mixer selected "PCM"? Mine works as advertized and that's what my setting is. Try it if not.
There is a volume control in mplayer GUI if you use OSS output. If you use ALSA output, mplayer's GUI will not like it. Either mplayer developers do not want to include a software volume or ALSA's libraries are messed up. Just run mplayer from command line or use VLC (Video Lan Client) media player.
mplayer is definitely having problems with volume control, especially if you run it in KDE.
KDE Sound Server takes complete control of your audio hardware and the mplayer volume control does not work sometimes.
This also happens if you install a driver other than OSS. I tried the NForce nvsound module and that also has problems with many volume control mixers.
Best is to use OSS. Has best compatibility with most of the audio/multimedia applications for Linux out there.
You can also see if your kernel has been compiled with oss emulation (as alsa can do oss easily). Look for modules like snd-pcm-oss or snd-mixer-oss (you can try to modprobe them and see if they load). You can use oss apps with alsa then.
I am running Fedora core2
I just installed the xmms-mp3-1.2.8-3.p.i386.rpm plugin for xmms in order to get xmms to playback mp3 files.
I am having problems w/ the volume control. I ran a search but nothing really matched. I am using onboard sound off an intel mobo, the xmms player while using the OSS Driver 1.2.10 is only able to mute or play at 100% volume. The slider bar moves, but does nothing until it get's to 0% where it then mutes.
Using the ALSA driver I get no response, although the slider bar does tie in with the master volume control.
In the main volume control only PCM control works, but again only at mute and 100%. I get no volume control inbetween.
loading the kernel oss modules doesn't help... I still can't change the volume in gmplayer, but it works in XMMS.
I choose OSS with sound device: /dev/dsp and mixer: /dev/mixer
Tried changing the settings in all combinations, but still no controll on volume... any ideas? maybe an other mixer devince with a name unknown to me?
I'll say it again but differently. XMMS has two ways to handle the volume. One is straight from the hardware or sound device which works with OSS very well. The other way is using its (XMMS) own software volume and then passes the audio to the sound device. The software volume feature in XMMS was included because ALSA libraries that handles the alsa mixer control was buggy, so XMMS developers added software volume control.
It is not the same for mplayer because they have not thought of adding their own on the fly software volume for sound systems like ALSA and most mplayer developers just run mplayer from the command line instead of using gmplayer (mplayer's frontend). Though mplayer does have a software volume setting, but it has to be set before loading a video/audio file and you can not adjust it during the file is loaded.
I have used both programs they work well for OSS but with ALSA the mixer control does not work. The XMMS developers did something right by include a software volume. The mplayer developers are now behind in this area.
You will have to use alsamixer to adjust your volumes for your sound device.
So I could take the master_volume_change code from alsamixer and paste it into the mplayer volume control.
Alsamixer source is quite small...
Should be possible, don't you think so?
Is the gmplayer source also in the MPlayer... tar.bz?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.