Headphones not working (snd-hda-intel)

I have a Dell Inspiron 1501. The sound works through the speakers but nothing happens when I plug the headphones in.

I’ve been going through the troubleshooter (SDB:AudioTroubleshooting - openSUSE), but nothing is working, hoping someone has been here before & can show me what I’m missing :slight_smile:

jimtop:/home/dredd # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.17.
jimtop:/home/dredd # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.17.
jimtop:/home/dredd # cat /proc/asound/cards
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xc0000000 irq 16
jimtop:/home/dredd # lsmod -k
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

alsa-info.sh: http://www.alsa-project.org/db/?f=d0470a2ab6e2f34da998454090aacf3665546eaf

I did update alsa using the two repos mentioned, it made no difference so I have removed the repos & the module it suggested (using plain 11.1 from the update repo now)

jimtop:/home/dredd # uname -a
Linux jimtop 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 i686 athlon i386 GNU/Linux

I’ve changed the model in /etc/modprobe.d/sound to dell-m26 as per the alsa documents for this laptop:

options snd-hda-intel model=dell-m26 position_fix=1
# 5Dex.HbwImeQdDN4:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
jimtop:/home/dredd # head -n 1 /proc/asound/card0/codec*
==> /proc/asound/card0/codec#0 <==
Codec: Conexant ID 2bfa

==> /proc/asound/card0/codec#1 <==
Codec: SigmaTel STAC9200

pulseaudio isn’t enabled(via YaST > Hardware > Sound) on the card, and YaST was used to set the card up with. I did enable pulseaudio to see what it did, but nothing was any different.

My alsamixer (and kmix) show two channels for playback: ‘Master’ and ‘PCM’.
Capture has: ‘Capture’, ‘Input So’ and ‘Mux’. Input So has ‘Mic’ above it.

YaST also only shows two playback channels in the configuration screen.

I’m assuming from all this that my lappy has no idea at all about my headphones, else I would have a headphone volume control surely?

Oh, I’ve rebooted a few times, especially when removing the updated alsa-modules. Sound still works through the speakers, but not headphones. The volume doesn’t mute when the 'phones are inserted either.

Help! TIA

Ok, … I may need ask you to re-install those RPMs, but lets see what you have first …

I note a 32-bit openSUSE-11.1 with the default alsa 1.0.17/1.0.18 with a 32-bit kernel-default 2.6.27.21 on a PC with a STAC9200 hardware audio codec. And it appears the model option “dell-m26” and “position_fix=1” have been applied.

Can you provide here the output of:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Note, I recommend you do NOT play with custom enable/disabling pulse audio. It enables itself dynamically, and by forcing it one way or the other will add a complication to this that I probably will not be able to help sort.

Hi oldcpu, thanks for your help.

dredd@jimtop:~> rpm -qa | grep alsa
alsa-firmware-1.0.17-1.42
alsa-tools-1.0.18-1.13
alsa-plugins-pulse-1.0.18-6.12
alsa-1.0.18-8.7
alsa-plugins-1.0.18-6.12
alsa-oss-1.0.17-1.37
alsa-utils-1.0.18-6.4
dredd@jimtop:~> rpm -qa | grep pulse
libpulse0-0.9.12-9.6
libxine1-pulse-1.1.16.3-0.pm.1
vlc-aout-pulse-0.9.9a-0.pm.0
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
libpulsecore4-0.9.12-9.6
dredd@jimtop:~> rpm -q libasound2
libasound2-1.0.18-8.7
dredd@jimtop:~> uname -a
Linux jimtop 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 i686 athlon i386 GNU/Linux
dredd@jimtop:~> cat /etc/modprobe.d/sound
options snd-hda-intel model=dell-m26 position_fix=1
# 5Dex.HbwImeQdDN4:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel

The pulseaudio box was not ticked originally (before I started playing). I ticked it & rebooted: no difference. I then unticked it again & rebooted.

Is it possible to put it back to automatic?

Thanks.

Hi there, if you are using KDE go the left hand corner, click on the speaker, click mixer, then click setting, then configure channels, pick three from the top, and pick MIC MIC boost etc, get back to mixer, click and make sure you tick all the CAPTURES,
now try, and if possible set up your skype and test the mic etc,
you should be there, let it be know how you go!

I note from this that your mixer settings are very limited in selection. Too limited. It suggests to me that something is configured wrong.

Why have you added position_fix=1 in your /etc/modprobe.d/sound file ? Is that necessary for your sound to function? Did you try this without that setting?

I recommend that you again try the latest alsa apps. To do so, open a gnome-terminal or kde konsole, and with your PC connected to the internet, type ‘su’ (no quotes - enter root password when prompted) to get root permissions, and then copy and paste the following six zypper commands, executing them one at a time in sequence:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia
zypper install alsa alsa-utils alsa-tools alsa-oss alsa-plugins-pulse alsa-plugins alsa-firmware libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia
zypper install alsa-driver-kmp-default
zypper rr multimedia

and restart your PC and test your audio. Try it with and without the edits that you made to the /etc/modprobe.d/sound file.

If it does not work, please keep alsa 1.0.20 installed, and run the “/usr/sbin/alsa-info.sh” script again, posting here the output URL, and also in that case (with the latest alsa installed) provide the output of:
rpm -qa | grep alsa
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

I don’t mess with pulse settings. So I have no idea what that can do.

Hi oldcpu,

Ok, I have run those commands in sequence.
Position_fix was suggested by the troubleshooter (specifically for snd_hda_intel when the headphones were not working).

alsa & alsa-oss were not upgraded by zypper in those commands. It said they were already installed. The others were upgraded (and/or changed vendor) and the KMP was installed.

I rebooted after installing from the repos, tried the sound: speakers fine, headphones not (speakers don’t mute, phones have no sound, there is still only Master & pcm in alsamixer)

Removed position_fix from the file & did rcalsasound restart (twice, because the first time it did not unload the modules as they were in use, second time worked). Speakers fine, still no phones & alsamixer only has Master & PCM.

Outputs you requested:

alsa-info.sh: http://www.alsa-project.org/db/?f=5515821b65f671b4fa66e17156a02d62671422fc

jimtop:/home/dredd # rpm -qa | grep alsa
alsa-plugins-pulse-1.0.20-4.1
alsa-firmware-1.0.20-5.1
alsa-oss-1.0.17-2.5
alsa-1.0.18-8.7
alsa-tools-1.0.20-4.2
alsa-utils-1.0.20-4.2
alsa-driver-kmp-default-1.0.19.20090509_2.6.27.21_0.1-1.1
alsa-plugins-1.0.20-4.1
jimtop:/home/dredd # rpm -q libasound2
libasound2-1.0.18-8.7
jimtop:/home/dredd # uname -a
Linux jimtop 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 i686 athlon i386 GNU/Linux
jimtop:/home/dredd # cat /etc/modprobe.d/sound
options snd-hda-intel model=dell-m26
# 5Dex.HbwImeQdDN4:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel

Ok, so I won’t mess with the pulse settings anymore. They sem to work ok (pulse works at any rate, or so it says).

Thanks.

I can’t see anything wrong with that setup.

I recommend you write a bug report on openSUSE-11.1 on this:
Submitting Bug Reports - openSUSE

Ensure you write the bug report against the openSUSE-11.1 sound component/module. That will get the attention of the developer at SuSE-GmbH who maintains the sound module for openSUSE and who is also an alsa developer.

Oh pants, I was hoping it was something subtle that I was missing :frowning:

Thanks for your help oldcpu, I’ll submit a bug when I can get into it - it either rejects my login at the moment or asks for a validation code which is never sent… very odd.

login is the same as on here right? I can only get on here with konqueror, with firefox using same user & pass I get login rejected. Thought it was just the opensuse website… I’ll keep trying.

Update to previous post as I can’t edit it anymore.

Filed a bug here: https://bugzilla.novell.com/show_bug.cgi?id=502578

You can’t edit it?

I believe that HAS to be user error.

As a regular user, if using gnome, type: gnomesu gedit /etc/modprobe.d/sound

As a regular user, if using kde type: kdesu kwrite /etc/modprobe.d/sound

In both cases enter root password when prompted.

Ooops … Ahhh … I’m bad … my mistake … you mean you can’t edit your post ! … :slight_smile:

Lol, no, I can’t edit my previous post was what I meant - 10 minute timeout.

Edit: oh, my bad too. Missed the second page of comments :slight_smile:
Hope someone picks up the bug report