Set an initial volume

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

New Member
Posts: 2
Joined: Wed Nov 10, 2010 6:29 pm

Set an initial volume

Postby simonbcn » Wed Nov 10, 2010 6:36 pm

I have replaced ALSA/Pulseaudio with OSS4 on Ubuntu 10.04 32bits.
It works well but, sometimes, when I get into my gnome session, the initial volume is 0. I don't know why this occurs.
How I can set an initial volume when the session (or the system) starts?

Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Set an initial volume

Postby cesium » Wed Nov 10, 2010 7:14 pm

The last volume should be automatically restored by the savemixer utility which runs every time OSS is started. Possibly the saved volume is muted somewhere? You can run it manually** to check if it's wrong (by restoring the volume and checking in oss(x)mix), and to save the correct values. If this fails you can run it to restore volume (or use an ossmix command) just before GNOME starts, but in that case I wonder what mutes it...

** "sudo savemixer" to save, "sudo savemixer -L" to restore [sudo not really needed for restore, but it might not be in path otherwise]. You can use '-f' switch to set filename. There's also a manpage.

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 3 guests