You are not logged in.

#1 2010-07-27 21:09:11

B15HOP
Member
From: Australia
Registered: 2005-02-10
Posts: 138

alsa not working since upgrade

I just did a package update with alsa.

root@Enterprize_D # lspci | grep audio
01:06.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value
root@Enterprize_D # lsmod|grep '^snd' | column -t
snd_seq_dummy       1447    0
snd_seq_oss         28928   0
snd_seq_midi_event  5420    1   snd_seq_oss
snd_seq             50530   5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss         39096   0
snd_mixer_oss       16932   1   snd_pcm_oss
snd_emu10k1         144591  0
snd_rawmidi         19235   1   snd_emu10k1
snd_ac97_codec      110525  1   snd_emu10k1
snd_pcm             71653   3   snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device      5241    5   snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer           19660   3   snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc      7201    2   snd_emu10k1,snd_pcm
snd_util_mem        2312    1   snd_emu10k1
snd_hwdep           6126    1   snd_emu10k1
snd                 57225   11  snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
b15hop@Enterprize_D $ ls -l /dev/snd
total 0
drwxr-xr-x 2 root root       60 Jul 28 04:25 by-path
crw-rw---- 1 root audio 116, 12 Jul 28 04:25 controlC0
crw-rw---- 1 root audio 116,  3 Jul 28 04:25 hwC0D0
crw-rw---- 1 root audio 116,  5 Jul 28 04:25 midiC0D0
crw-rw---- 1 root audio 116,  4 Jul 28 04:25 midiC0D1
crw-rw---- 1 root audio 116, 11 Jul 28 04:25 pcmC0D0c
crw-rw---- 1 root audio 116, 10 Jul 28 04:35 pcmC0D0p
crw-rw---- 1 root audio 116,  9 Jul 28 04:25 pcmC0D1c
crw-rw---- 1 root audio 116,  8 Jul 28 04:25 pcmC0D2c
crw-rw---- 1 root audio 116,  7 Jul 28 04:25 pcmC0D2p
crw-rw---- 1 root audio 116,  6 Jul 28 04:25 pcmC0D3p
crw-rw---- 1 root audio 116, 13 Jul 28 04:25 seq
crw-rw---- 1 root audio 116,  2 Jul 28 04:25 timer
b15hop@Enterprize_D $

Should all work...
But no sound:
mplayer and aplay both play the audio file / video file.

alsamixer is not muted. :S

root@Enterprize_D # amixer get Master
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined cvolume cswitch cswitch-joined penum
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 100 Capture 0 - 31
  Mono: Playback 51 [51%] [-19.60dB]
  Front Left: Capture 23 [74%] [-12.00dB] [on]
  Front Right: Capture 23 [74%] [-12.00dB] [on]

root@Enterprize_D # amixer get PCM
Simple mixer control 'PCM',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 100
  Front Left: Capture 100 [100%] [0.00dB]
  Front Right: Capture 100 [100%] [0.00dB]

.. but no sound?


"The ecological crisis is a moral issue."

Offline

#2 2010-07-28 01:06:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: alsa not working since upgrade

Probably not the same problem but I can't think of anything else http://bugs.archlinux.org/task/19970

Offline

#3 2010-07-30 20:18:51

mikej_96
Member
Registered: 2010-03-19
Posts: 37

Re: alsa not working since upgrade

I am having the same issue as well and cannot solve it. For me, mplayer is the only thing that will play audio on my system. Things like totem, flash, skype, ect.. all do not work. What is funny, is this seems to happen randomly. If I reboot, it sometimes works. When the problems occur, mplayer gives me these messages:

[AO OSS] audio_setup: Can't open audio device /dev/dsp: Invalid argument
[AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
[JACK] cannot open server
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
AO: [sdl] 44100Hz 2ch s16le (2 bytes per sample)

Is there a way to 'restart' alsa? Running alsaconf doesn't fix the problem...

Any thoughts?

Offline

#4 2010-07-30 21:22:17

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: alsa not working since upgrade

Are you in the audio group? -- stupid question.
Shouldn't PCM have a Playback volume instead of a Capture volume?

Last edited by Stebalien (2010-07-30 21:30:54)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#5 2010-08-03 01:37:59

B15HOP
Member
From: Australia
Registered: 2005-02-10
Posts: 138

Re: alsa not working since upgrade

Stebalien wrote:

Are you in the audio group? -- stupid question.
Shouldn't PCM have a Playback volume instead of a Capture volume?

You mean this?

b15hop@Enterprize_D $ groups
lp video audio optical storage users b15hop

I'll try the kernel-lts to see if that is the problem.


"The ecological crisis is a moral issue."

Offline

#6 2010-08-03 01:40:53

B15HOP
Member
From: Australia
Registered: 2005-02-10
Posts: 138

Re: alsa not working since upgrade

Thing is, in alsamixer, F3 (playback) the volume is right up. I've made sure none of them are mute. I should still hear something even with 5% volume. So 100% would blow my ears away, but I only get silence.


"The ecological crisis is a moral issue."

Offline

#7 2010-08-03 02:27:36

B15HOP
Member
From: Australia
Registered: 2005-02-10
Posts: 138

Re: alsa not working since upgrade

kernel26-lts there is no audio.
Interesting to note that when the system boots, there is a pop noise so something must be happening with the audio driver...


"The ecological crisis is a moral issue."

Offline

Board footer

Powered by FluxBB