You are not logged in.

#1 2012-03-02 05:14:19

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

no more sound after update

Hi all,
I'm writing because I can not solve the following issue. I just updated the system but sound does not work anymore. I tried looking at wiki, but I still was not able to make it work.
the strange thing is that if i type "alsamixer" i don't see all controls but ONLY 1 related to pulse audio. I cannot understand why. If I then go to f6 and select my intel card, it is back with alsa controls. All of them are unmuted. Another very strange thing is that if I go through windows, I can not hear there anything for a while...randomly then i can hear again!! O_o

I tried testing aplay but no way to make it work.

I'm using Gnome3

First time I restarted system after update, i tried to restart alsa but I got:
/usr/sbin/alsactl: set_control:1464: Cannot write control '2:0:0:IEC958 Playback Default:0' : Operation not permitted
Now i ca not get any message again on alsa restart sad

I don't know what to check to verify sound card. I can post some of output that i tried to understand:

$ ls -l /sys/module/snd/holders

total 0
lrwxrwxrwx 1 root root 0 Mar  1 23:06 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 Mar  1 23:06 snd_hda_codec_hdmi -> ../../snd_hda_codec_hdmi
lrwxrwxrwx 1 root root 0 Mar  1 23:06 snd_hda_codec_idt -> ../../snd_hda_codec_idt
lrwxrwxrwx 1 root root 0 Mar  1 23:06 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 Mar  1 23:06 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 Mar  1 23:06 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 Mar  1 23:06 snd_timer -> ../../snd_timer

$ cat /proc/asound
0 snd_hda_intel

here seems to be ok

Then as root (because as user it gaves me many "not allowed")

#lspci -v
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
	Subsystem: Dell Device 0428
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at f7d40000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [130] Root Complex Link
	Kernel driver in use: snd_hda_intel
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
    HDA Intel, STAC92xx Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, STAC92xx Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
    HDA Intel, HDMI 0
    HDMI Audio Output
hdmi:CARD=Intel,DEV=1
    HDA Intel, HDMI 1
    HDMI Audio Output

Can you please suggest me what can I do? thanks in advance

Offline

#2 2012-03-02 05:29:14

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: no more sound after update

virusso80 wrote:

I just updated the system

Please show the output of this:

tail --lines=+$(grep -on Running /var/log/pacman.log | tail -2 | head -1 | awk -F':' '{print $1}') /var/log/pacman.log

It will show the logs from your last couple of pacman updates.

Offline

#3 2012-03-02 05:40:29

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: no more sound after update

You're trying all the alsa-based trouble-shooting techniques while running pulse? What's pavucontrol show?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2012-03-02 07:58:49

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: no more sound after update

/dev/zero wrote:
virusso80 wrote:

I just updated the system

Please show the output of this:

tail --lines=+$(grep -on Running /var/log/pacman.log | tail -2 | head -1 | awk -F':' '{print $1}') /var/log/pacman.log

It will show the logs from your last couple of pacman updates.

Thanks for the answer. Just to be more complete I reported all the logs related to the update, in such a way to understand what happened...maybe. You'll see some errors with grep. I reinstalled grep and that error was no more there...i think:

ngoonee wrote:

You're trying all the alsa-based trouble-shooting techniques while running pulse? What's pavucontrol show?

I installed pavucontrol and this is the output while playing an mp3 file:

** (pavucontrol:25504): DEBUG: Error reading config file /home/virus/.config/pavucontrol.ini: No such file or directory
** (pavucontrol:25504): DEBUG: Failed to initialize device manager extension: No such extension
** (pavucontrol:25504): DEBUG: Ignoring sink-input due to it being designated as an event and thus handled by the Event widget
... more line like this...

I don't know if it is useful but it seems that when i play something i can hear some little noise...like a mosquito.
Thanks again

Last edited by virusso80 (2012-03-02 09:35:17)

Offline

#5 2012-03-02 11:34:38

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: no more sound after update

I think here here is the issue, this is my /etc/asound.conf:

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

this means that pulseaudio is the default driver. Is it normal? I don't remember i set it as default. i tried to remove it but i realized that is a dependency of gnome (i'm useing gnome3). Is there anything wrong with that file? thanks

Last edited by virusso80 (2012-03-02 11:35:08)

Offline

#6 2012-03-02 12:10:14

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: no more sound after update

That is the same asound.conf that I have. I use pulseaudio. And when I run pavucontrol I get a window like this, even when pulseaudio itself is playing up.

Offline

#7 2012-03-02 13:16:19

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: no more sound after update

is there a way to reset all alsa configuration? I even asked on the irc channel. they told me to try many things but the guy thinks there something missing/bad written in configuration and only was able to produce sound through headphones using aplay command

Offline

#8 2012-03-06 09:36:47

virusso80
Member
From: Italy
Registered: 2007-03-09
Posts: 325

Re: no more sound after update

UPDATE:
Hi all, I just updated (alsa utils was updated!!) again and now I'm able to hear ONLY from headphones. no way (i know) to make it working speaker too.
Using gnome3 the only way is to choose from "sound settings" configuration menu: "Analog Stereo Output" or "Analog Stereo Duplex"
Any suggestion?

Thanks in advance

Offline

Board footer

Powered by FluxBB