You are not logged in.

#1 2010-10-29 22:35:20

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Alsa codec problem [updated 01/11/10]

I just assembled my new machine running arch.

When I plug in headphones to the front panel sound comes through them but also comes through the speakers still.

I have tried muting various things in alsamixer with no success.

Some outputs that may help:

$ cat /proc/asound/card0/codec\#* | grep Codec
Codec: Realtek ALC889
$ lspci | grep Audio 
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)

(its the ATI one I want. The nvidia one is simply the HDMI on my GPU)

I've done a fair amount of googleing but I'm not good with sound.

Spent most of the morning getting the new Saitek cyborg R.A.T.5 mouse to work XD.

Would be glad of some help

thanks

Matt

EDIT: More information:

$  cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_hda_intel
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: ALC889 Analog [ALC889 Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

Note:

I do NOT have pulseaudio installed. Would it help in any way?

I have no problems getting sound to play from multiple programs at once.


EDIT:

have now installerd pulseaudio and all plugins and gnome integration packages as suggested in the wiki.

I now get far more control over my sound preferences but the speakers still don't mute when the headphones are plugged in.

Last edited by llawwehttam (2010-11-02 13:08:42)

Offline

#2 2010-10-30 14:22:46

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: Alsa codec problem [updated 01/11/10]

no ideas anyone?

I have tried manually setting snd_hda_intel to all of the possible values with no sucess.

Offline

#3 2010-11-01 12:52:48

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: Alsa codec problem [updated 01/11/10]

I still haven't managed to fix this issue.

Do I really have to mute the speakers manually every time I plug headphones in?

Offline

#4 2010-11-02 12:22:14

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Alsa codec problem [updated 01/11/10]

This may be an hardware issue, usually when you plug an earphone in, an event is sent, alsa recognizes it and then switches the speakers output off. So it's either because alsa devs don't have info about your hardware or because the hardware doesn't send the event.

Your best bet is to contact them through IRC or ML and provides them with the info retrieved by this script http://www.alsa-project.org/alsa-info.sh


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#5 2010-11-02 13:00:59

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: Alsa codec problem [updated 01/11/10]

This output looks wrong.

doesn't seem to load snd_hda_codec_realtek or snd_hda_intel or maybe that's normal. I don't really know.

Would this give any clues?:

$  lsmod|grep '^snd' | column -t
snd_hda_codec_nvhdmi   14329   4
snd_seq_dummy          1463    0
snd_seq_oss            28792   0
snd_seq_midi_event     5436    1   snd_seq_oss
snd_seq                50146   5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         5297    3   snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec_realtek  269269  1
snd_hda_intel          22285   4
snd_hda_codec          77223   3   snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              6110    1   snd_hda_codec
snd_pcm                71445   3   snd_hda_intel,snd_hda_codec
snd_timer              19265   2   snd_seq,snd_pcm
snd                    57626   16  snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc         7249    2   snd_hda_intel,snd_pcm

I have sent off my results of that script.

Oh and ATM my modprobe.conf reads:

options snd-hda-intel model=6stack
options snd-pcsp index=1

----------------------------------------------------------------------------------------------------------------------------------------------
EDIT:

I am no longer too concerned about finding a fix for this as apparently it happens to some people with this board in windows too and relies on some advanced drivers that only work with windows vista and 7.

So......... I have purchased a second hand set of 5.1 speakers with an included headphone jack which sort of solves my problem.

I will leave this thread open as I would be interested in a proper fix, but as this is relativly new hardware I don't expect one at once.

Last edited by llawwehttam (2010-11-02 19:41:58)

Offline

Board footer

Powered by FluxBB