sound disappeared

Forum rules
Please supply only the affected package name as title, with bugreport number (bugs.debian.org) or other sources. This feed can be subscribed to and piped into your RSS reader or conky: http://linuxbbq.org/bbs/feed.php?mode=news
User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

sound disappeared

Unread post by dkeg » Sun Jun 23, 2013 5:34 pm

Recent updates seems to have done a dirty deed to alsa.
I first noticed it by seeing new weird entries in pstree and htop. Then I noticed my volume was muted. Further investigation gave me no soundcards found.
I am not sure what caused it, looks like as pidsley stated came with kernel upgrade to 3.9-7 but I had 3.10-rc6, so for me I can't link it to that.
Either way this seems to be the solution.

Code: Select all

cd /etc/modprobe.d/
sudo vi alsa-base.conf
Note, replace vi with editor of choice.

find and comment out these three lines (you can see I've already commented them out)

Code: Select all

##install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
##install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
##install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
save and reboot. You should be good to go.
Last edited by dkeg on Sun Jun 23, 2013 9:29 pm, edited 1 time in total.

Work hard; Complain less

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: sound disappeared

Unread post by pidsley » Sun Jun 23, 2013 9:02 pm

Thanks dkeg. This happened to me on Trollinger with an upgrade to the 3.9-7 kernel, and your fix worked for me.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: sound disappeared

Unread post by ivanovnegro » Mon Jun 24, 2013 12:24 am

Did not reboot yet after today's upgrade but I still use 3.2 kernel. I heard another possibility is to purge:

Code: Select all

oss-compat
This package is mostly unneeded, it assures OSS compatibility.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: sound disappeared

Unread post by dkeg » Mon Jun 24, 2013 12:44 am

just tested your theory ivan. I tested your theory and no, it did not do the trick. I un-commented out the specified lines, purged oss-compat, and rebooted. No volume. Re-commented, re-installed oss-compat, and volume was back. I'm on a 3.10 kernel, curious to hear back to see if it does the trick for you

Work hard; Complain less

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: sound disappeared

Unread post by ivanovnegro » Mon Jun 24, 2013 2:12 am

Interesting, we'll see when I reboot but I think I am not infected.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: sound disappeared

Unread post by ivanovnegro » Mon Jun 24, 2013 6:14 pm

Everything alright with kernel 3.2. Sound works after reboot. I did not make any changes.

bin_bob
Virgin
Posts: 8
Joined: Mon Jul 01, 2013 10:42 pm

Re: sound disappeared

Unread post by bin_bob » Sat Jul 06, 2013 8:11 pm

I was having a similar problem on Linuxbbq "ENOUGH".
My problem seemed to be related to jack audio server.
After running jack my sound would break on the next boot. Dkeg's method would get my sound back, but unfortunately I need the MIDI sequencer
for the programs I use so no dice.

Now sound is working happily on each boot with 3.6-0.towo kernel and still using jack. yay

Post Reply