Audio muted in Trollinger

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Audio muted in Trollinger

Unread post by mrneilypops » Mon Dec 24, 2012 10:19 pm

I have tried to adjust alsamixer settings and then;

Code: Select all

sudo alsactl store
...but the audio is always muted on reboot.

I have been able to get mpd to autostart via;

Code: Select all

/etc/xdg/lxsession/LXDE/autostart
but I would like not to have to unmute the audio on each reboot.

Any tips welcome.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Audio muted in Trollinger

Unread post by machinebacon » Tue Dec 25, 2012 2:32 am

Hello Neil,

first open alsamixer, set up the volume, and then follow this guide: http://linuxbbq.org/wiki/index.php?title=Muted_Volume

hth
..gnutella..

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: Audio muted in Trollinger

Unread post by mrneilypops » Tue Dec 25, 2012 2:34 pm

@machinebacon
I have tried this procedure a couple of times.
However, each time upon reboot the desired alsa settings are not saved and the audio is muted...
Any further ideas most welcome.

Happy Christmas!

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Audio muted in Trollinger

Unread post by machinebacon » Tue Dec 25, 2012 6:12 pm

Neil,
this seems to be a bug (that occurs sometimes on my machine, too - but not even exclusively after a reboot) in lxpanel: http://forum.lxde.org/viewtopic.php?f=21&t=340

We can try to create an autostart file as suggested otherwhere to start alsactl restore inside of the session:

1) open an editor as root (sudo leafpad /etc/xdg/autostart/alsastart.desktop)
2) paste this snippet and save it:

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Alsa resotre
Comment=Restore Alsa to the stored value
Exec=/sbin/alsactl restore
Hidden=true
3) set up your volume once with alsamixer and store the setting using

Code: Select all

sudo alsactl store
4) optional: we read

Code: Select all

sudo cat /var/lib/alsa/asound.state |head -n 40
and check if value.0 and value.1 are not 0. Usually, they should be equivalent of what was assigned via alsamixer in the previous step.
5) Log out and back. Autostart in /etc/xdg/ is launched automagically, so we don't need any entries in Openbox's autostart.

Hope this works. Else we can add a sleep, so that alsa is restored after lxpanel is loaded.

Another try, if it still doesn't work: in a terminal run

Code: Select all

sudo fixsnd
Though this is actually meant to initialize the card.
..gnutella..

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: Audio muted in Trollinger

Unread post by mrneilypops » Tue Dec 25, 2012 8:15 pm

I followed this procedure but still no luck...

User avatar
swftech
Sobe
Posts: 160
Joined: Wed Oct 17, 2012 12:40 pm
Location: S Florida

Re: Audio muted in Trollinger

Unread post by swftech » Tue Dec 25, 2012 8:47 pm

machinebacon wrote:Hello Neil,

first open alsamixer, set up the volume, and then follow this guide: http://linuxbbq.org/wiki/index.php?title=Muted_Volume

hth
Thanks Bacon, this volume muted on start up just started happening to me as well in Kielbasa a few days ago. The above fix worked for me. :)

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: Audio muted in Trollinger

Unread post by mrneilypops » Tue Dec 25, 2012 9:45 pm

OK... but it ain't working for little old me.
I am sure we will find a solution....PLEASE!
In the meantime ...I have just had the most beautiful beef and 'Yorkshire Puddings' meal...
Yum...Yum...

Now here is an idea for a BBQ release :cool:
Openbox with all the trimmings???
'THE YORKSHIRE PUDDING RELEASE'

http://en.wikipedia.org/wiki/Yorkshire_pudding

P.S.
My Folks live here;
http://en.wikipedia.org/wiki/Yorkshire

User avatar
swftech
Sobe
Posts: 160
Joined: Wed Oct 17, 2012 12:40 pm
Location: S Florida

Re: Audio muted in Trollinger

Unread post by swftech » Tue Dec 25, 2012 11:26 pm

^ Yes, I think an update must have been the source of mine being muted. It never happened until about three days ago, and then on every boot I had to un-mute the volume.

Neil, I see "sudo alsactl store" didn;t work for you, did you also add the line to rc.local like below?

Add in an additional line in rc.local
sudo vi /etc/rc.local
Add this line just before exit 0

Code: Select all

alsactl restore
Now, when you reboot, notice your volume is no longer muted.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Audio muted in Trollinger

Unread post by machinebacon » Wed Dec 26, 2012 4:34 am

Okay, lxpanel seems to be a different issue than what we have in this thread. The problem comes from systemd:
http://mailman.alsa-project.org/piperma ... 33884.html

When I have a bit more time I will check what we can do - if this is (in Sid) a bug or a missing feature or simply a problem of a config file. I'll bump the thread then.

I'd Love some blood pudding with Yorkshire pudding and then a chocolate pudding as dessert :D
..gnutella..

User avatar
mrneilypops
Bad Advice Dog
Posts: 143
Joined: Wed Oct 17, 2012 9:15 pm
Location: Luxembourg
Contact:

Re: Audio muted in Trollinger

Unread post by mrneilypops » Wed Dec 26, 2012 1:01 pm

@machinebacon
Thanks, I will keep an eye on this thread.

Post Reply