You are not logged in.

#1 2012-07-14 09:32:55

Wilco
Member
Registered: 2008-11-09
Posts: 440

Alsa no PCM channel

After a reinstall I'm missing the PCM channel in alsamixer. Is this new behavior or can I add a virtual PCM with asoundrc? My card is a hda intel type idt 92HD87B2/4

Example screenshot: https://s1.file1.info/7DwRSzBh

Last edited by Wilco (2012-08-20 14:45:50)

Offline

#2 2012-07-15 14:32:24

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

Same problem on 3.5-rc7

Offline

#3 2012-07-15 21:02:30

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,580

Re: Alsa no PCM channel

Don't think that's intended behaviour, as my HDA nvidia still shows plenty of channels in alsamixer.

Maybe you're missing some modules,  what's the output of

lsmod | grep snd

?




Edit : typos

Last edited by Lone_Wolf (2012-07-15 21:03:03)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2012-07-16 18:44:02

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

snd_hda_codec_idt      55508  1 
snd_hda_codec_hdmi     23672  1 
snd_hda_intel          24053  0 
snd_hda_codec          94273  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                74958  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7153  2 snd_pcm,snd_hda_intel
snd_timer              18966  1 snd_pcm
snd                    58997  7 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5410  1 snd

Strange, because my desktop has the same modules, except the idt module (because it's vendor specific)

Offline

#5 2012-07-17 09:00:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,580

Re: Alsa no PCM channel

ok, modules appear to be correct. we need more info.

please post the output of

aplay --list-devices
aplay --list-pcms

Is pulseaudio installed ?

are /etc/asound.conf or the user-specific file ~/.asoundrc present on your system ?
if so, please post them also.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2012-07-18 06:20:35

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

Thanks for looking into this. Aplay does not report antyhing strange as a far as I can tell.
aplay --list-devices

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay --list-pcms   

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=SB
    HDA ATI SB, STAC92xx Analog
    Default Audio Device
sysdefault:CARD=SB
    HDA ATI SB, STAC92xx Analog
    Default Audio Device
front:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    Front speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, STAC92xx Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output

I created /etc/modprobe.d/alsa.conf because the default card is the HDMI output and I need SB as the first card.

options snd-hda-intel id=HDMI,SB index=1,0 model=auto

Removing this alsa.conf does not help however.

There is no pulsaudio (edit: libpulse is installed but not pulseaudio), no /etc/asound.conf and no ~/.asoundrc

I think the audio driver is bugged because about every 15 minutes the audio stops playing. Whether it's mplayer, xmms or youtube, after a while they stop and I have to restart the browser, xmms or mplayer. Mplayer gives this warning when the audio is stuck: audio device got stuck

Last edited by Wilco (2012-07-18 06:36:04)

Offline

#7 2012-07-18 09:30:02

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,580

Re: Alsa no PCM channel

i agree the output of aplay looks normal, and it's very similar to what it shows on my system.

It's a longshot, but check /usr/share/alsa/alsa.conf  . is it the same as the original file ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2012-07-18 10:45:25

xamaco
Member
From: Corsica, France
Registered: 2010-04-05
Posts: 87

Re: Alsa no PCM channel

Same issue for me. but not too important as I still can listen to music... It's probably unrelated but during boot I get these messages. They have been popping-up for a while. The absence of PCM is very recent (around the time of the change of /lib to a link).

Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #16 (No such file or directory)
Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #17 (No such file or directory)
Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #18 (No such file or directory)
Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #22 (No such file or directory)

Offline

#9 2012-07-18 12:51:18

sim4lin
Member
Registered: 2008-03-09
Posts: 32

Re: Alsa no PCM channel

xamaco wrote:

Same issue for me. but not too important as I still can listen to music... It's probably unrelated but during boot I get these messages. They have been popping-up for a while. The absence of PCM is very recent (around the time of the change of /lib to a link).

Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #16 (No such file or directory)
Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #17 (No such file or directory)
Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #18 (No such file or directory)
Wed Jul 18 14:21:31 2012: /usr/sbin/alsactl: set_control:1328: failed to obtain info for control #22 (No such file or directory)


Running

alsactl store

as root may fix those errors... maybe.


ASRock N68C-GS FX motherboard
AMD X2 240 @ 2.8G
Nvidia 9500GT @ 1G
Kingston 800Mhz DDR2 @ 4G

Offline

#10 2012-07-19 05:40:26

xamaco
Member
From: Corsica, France
Registered: 2010-04-05
Posts: 87

Re: Alsa no PCM channel

Thanks, it did fix the errors.

Offline

#11 2012-07-19 17:11:19

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

Tried different models but nothing works, looks like an alsa bug or autodetection still chooses the wrong model

Offline

#12 2012-07-22 12:24:13

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

After an update to kernel 3.4.6 I suddenly have a PCM channel. Strange, there is nothing in the kernel changelog about this fixed, but it seems fixed (hopefully)

Offline

#13 2012-07-22 18:03:17

xamaco
Member
From: Corsica, France
Registered: 2010-04-05
Posts: 87

Re: Alsa no PCM channel

PCM channel is also back on my machine. smile

Offline

#14 2012-07-23 08:30:12

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

Found some references to alsa HDA chips for HP laptops in the kernel changelog for 3.4.5.
http://www.kernel.org/pub/linux/kernel/ … eLog-3.4.5

Although the PCM problem is solved, this chip is still not functioning correctly. After a while the audio dies and I have to restart programs using Alsa to restore sound.

Offline

#15 2012-08-20 14:45:29

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

And it's gone again after a reinstall sad

Offline

#16 2012-08-21 10:32:11

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Alsa no PCM channel

And it's back. Very strange

Offline

Board footer

Powered by FluxBB