Author Topic: Soundcard suddenly stopped working  (Read 4830 times)

aico

  • Veteran
  • ***
  • Posts: 74
    • View Profile
Soundcard suddenly stopped working
« on: October 12, 2010, 06:18:19 pm »
Hello,

I have got a new problem with my soundcard - a view days ago everything worked like it should. But now the soundcard in my Core/Hybrid does not work.

aplay -l tells me:

**** Liste von PLAYBACK Geräten ****
Karte 0: default [C-Media USB Audio Device   ], Gerät 0: USB Audio [USB Audio]
  Untergeordnete Geräte: 0/1
  Untergeordnetes Gerät '0: subdevice #0
Karte 1: I82801DBICH4 [Intel 82801DB-ICH4], Gerät 0: Intel ICH [Intel 82801DB-I
  Untergeordnete Geräte: 1/1
  Untergeordnetes Gerät '0: subdevice #0
Karte 1: I82801DBICH4 [Intel 82801DB-ICH4], Gerät 4: Intel ICH - IEC958 [Intel
  Untergeordnete Geräte: 1/1
  Untergeordnetes Gerät '0: subdevice #0
Karte 2: default_1 [C-Media USB Audio Device   ], Gerät 0: USB Audio [USB Audio
  Untergeordnete Geräte: 0/1
  Untergeordnetes Gerät '0: subdevice #0


The USB Audio Devices are still ok - they work with squeezslave
But the Intel 82801DB-ICH4 does nothing.

When I start alsamixer the Intel 82801DB-ICH4 is the standard sound device.

When i do:
aplay /usr/share/sounds/alsa/Front_Center.wav - I get this:

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
aplay: main:590: Fehler beim Ãffnen des Audiogerätes: Device or resource busy


I hope you can help me!

Regards
Johannes

aico

  • Veteran
  • ***
  • Posts: 74
    • View Profile
Re: Soundcard suddenly stopped working
« Reply #1 on: October 12, 2010, 07:57:21 pm »
Hi,

I solved the problem doing this:

apt-get remove alsa-modules-`uname -r`

asoundconf list - to show sound devices

asoundconf set-default-card I82801DBICH4 <-my pci-card

reboot

The USB sound devices are still working!

Regards
Johannes

aico

  • Veteran
  • ***
  • Posts: 74
    • View Profile
Re: Soundcard suddenly stopped working
« Reply #2 on: October 26, 2010, 11:46:42 am »
Hi,

back again with my problem - the soundcard worked - I did an apt-get upgrade rebooted the core - now the sound does not work.

I did this because it worked for me:

apt-get remove alsa-modules-`uname -r`

asoundconf list - to show sound devices

asoundconf set-default-card I82801DBICH4 <-my pci-card

reboot

...but now it does not work for me - did anything change?

br
Johannes

aico

  • Veteran
  • ***
  • Posts: 74
    • View Profile
Re: Soundcard suddenly stopped working
« Reply #3 on: October 27, 2010, 06:25:47 pm »
Hi,

when I try:

aplay /usr/share/sounds/alsa/Front_Center.wav

I get this:

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave

Any ideas?

Regards
Johannes

aico

  • Veteran
  • ***
  • Posts: 74
    • View Profile
Re: Soundcard suddenly stopped working
« Reply #4 on: October 28, 2010, 06:15:00 am »
Hi,

now I solved my problem. Everything looks OK but when I play some soundfiles I do not hear anything.

May be a ALSA-Modules reinstallation will solve my problem:

sudo apt-get install --reinstall linux-image-$(uname -r)

What do you think?

Regards
Johannes
« Last Edit: October 28, 2010, 11:14:45 am by aico »

aico

  • Veteran
  • ***
  • Posts: 74
    • View Profile
Re: Soundcard suddenly stopped working
« Reply #5 on: October 29, 2010, 07:24:43 am »
Hi,

I found out that the problem is squeezeslave. I have two USB-Soundcards and one PCI Soundcard. The sound works on all devices (the two USB Soundcards with squeezeslave and the PCI Soundcard on the core). The two squeezeslave are assigned to two different rooms. The rooms are named MP3-EG and MP3-OG. The PCI-Soundcard is assigned to a room called Technik where the Core is located.

I did not find the problem until now but:
Suddenly the PCI Soundcard stops working and when I start "aplay /usr/share/sounds/alsa/Front_Center.wav" I get this error "ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave". The inerestig thing is, when I kill the two squeezeslave processes assigned to the USB-Soundcards the PCI-Soundcard works. Then I start the two squeezeslave processes again and the PCI-Soundcard still works. It works for hours. The it suddenly stops. Now I kill the squeezeslave processes start them again and everything works.

Any ideas?

Regards
Johannes

aico

  • Veteran
  • ***
  • Posts: 74
    • View Profile
Re: Soundcard suddenly stopped working
« Reply #6 on: December 06, 2010, 09:53:06 pm »
Hi,

I will find the problem - what I have seen until now:

When I do this: ps -ef | grep squeezeslave

I get:
root     13139     1  0 21:42 ?        00:00:00 /usr/bin/squeezeslave -o 5 -m 00:00:00:00:00:11 -r5 -M/var/log/squeezeslave_first.log
root     13977     1  0 21:42 ?        00:00:00 /usr/bin/squeezeslave -o 6 -m 00:00:00:00:00:12 -r5 -M/var/log/squeezeslave_second.log

In this case everything works realy great - OK

When I do this: ps -ef | grep squeezeslave

and I get:
root     13139     1  0 21:42 ?        00:00:00 /usr/bin/squeezeslave -o 0 -m 00:00:00:00:00:11 -r5 -M/var/log/squeezeslave_first.log
root     13977     1  0 21:42 ?        00:00:00 /usr/bin/squeezeslave -o 6 -m 00:00:00:00:00:12 -r5 -M/var/log/squeezeslave_second.log

my PCI-Soundcard stops working - when I do: kill 13139
my PCI-Soundcard works without problems...

I have my problem every time when squeezeslave -L finds a USB-Soundcard on position 0 if the position is 1 or 2 or ... 5 or 6 it works very very good.

Any ideas?

Regards
Johannes