Sound from speakers but not from headphones.

Headphone jack seems completely unresponsive after a fresh install of openSUSE 11.4. Here are my outputs:

http://www.alsa-project.org/db/?f=1d0394b6f3bd36a02d4ef9e210c80ee7cfab0a5c

–>From rpm -qa ‘alsa’:
alsa-devel-1.0.24.1-4.7.1.i586
alsa-plugins-maemo-1.0.24-6.1.i586
alsamixergui-0.9.0rc1-749.1.i586
alsa-tools-devel-1.0.24.1-4.5.1.i586
alsa-utils-1.0.24.2-3.1.i586
balsa-lang-2.4.9-4.1.noarch
alsa-oss-1.0.17-32.1.i586
alsa-plugins-speex-1.0.24-6.1.i586
alsa-1.0.24.1-90.1.i586
alsa-plugins-1.0.24-6.1.i586
pyalsa-1.0.22-4.1.i586
bluez-alsa-4.88-2.1.i586
alsa-plugins-samplerate-1.0.24-6.1.i586
alsa-docs-1.0.24.1-4.7.1.noarch
alsa-tools-1.0.24.1-4.5.1.i586
alsa-tools-gui-1.0.24.1-4.5.1.i586
balsa-2.4.9-4.1.i586
alsa-plugins-pulse-1.0.24-6.1.i586
alsa-firmware-1.0.24.1-3.1.noarch
gmerlin-alsamixer-1.0.0-1.pm.8.3.i586
java-1_6_0-sun-alsa-1.6.0.u25-0.3.1.i586
alsa-plugins-jack-1.0.24-6.1.i586

–>From: rpm -qa ‘pulse
pulseaudio-module-lirc-0.9.22-6.11.1.i586
pulseaudio-esound-compat-0.9.22-6.11.1.i586
pulseaudio-module-x11-0.9.22-6.11.1.i586
pulseaudio-module-bluetooth-0.9.22-6.11.1.i586
libpulse-mainloop-glib0-0.9.22-6.11.1.i586
pulseaudio-utils-0.9.22-6.11.1.i586
pulseaudio-module-zeroconf-0.9.22-6.11.1.i586
libpulse0-0.9.22-6.11.1.i586
libpulse-browse0-0.9.22-6.11.1.i586
pulseaudio-module-jack-0.9.22-6.11.1.i586
libxine1-pulse-1.1.19-4.4.i586
alsa-plugins-pulse-1.0.24-6.1.i586
vlc-aout-pulse-1.1.9-3.3.i586
pulseaudio-0.9.22-6.11.1.i586

–>From: rpm -q libasound2
libasound2-1.0.24.1-4.7.1.i586

–>From: uname -a
Linux linux-j5ys.site 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux

–>From: cat /etc/modprobe.d/50-sound.conf
options snd slots=snd-hda-intel,snd-hda-intel

u1Nb.yUttYMZUFR7:5 Series/3400 Series Chipset High Definition Audio

alias snd-card-0 snd-hda-intel

NXNs.K3+3qP5NfZ8:ATI Technologies Inc

alias snd-card-1 snd-hda-intel

If more information is needed, please let me know. I’m new to openSUSE

Thanks in advance for any help!

Thanks for running the script.

First, I note you have a massive number of alsa apps. My experience is ‘more’ is not better in Linux, and I’m a bit curious, … WHY so many alsa apps. Perhaps you could teach me what you were trying to do by having so many alsa apps, as I don’t know the function of most of the alsa apps that you have installed. Perhaps you could teach me their function as I assume you have a reason for installing them ?

Now, on to the script, I looked in the mixer output and did not see a headphone volume control.

I note a 32-bit openSUSE-11.4 with the 2.6.37.6-0.5-desktop kernel running on an Asus K52Jr computer. The alsa driver is version 1.0.23, the alsa library version 1.0.24.1 and the alsa utilities version 1.0.24.2. I note the hardware audio codec is a Conexant CX20585. I do not see the Conexant CX20585 in the HD-Audio-Models.txt file documentation for the alsa sound driver. … BUT I do note (via Google) some posts such as this: codec support request: Conexant ID 5068 which suggests to me that the CX20585 ‘might’ work with the CX5066 settings, where the CX5066 IS in the HD-Audio-Models.txt file.

I note this from the HD-Audio-Models.txt file:


Conexant 5066
=============
  laptop	Basic Laptop config (default)
  hp-laptop	HP laptops, e g G60
  asus		Asus K52JU, Lenovo G560
  dell-laptop	Dell laptops
  dell-vostro	Dell Vostro
  olpc-xo-1_5	OLPC XO 1.5
  ideapad       Lenovo IdeaPad U150
  thinkpad	Lenovo Thinkpad


I see there is a hardware audio codec for a similar (but not same) asus model, the Asus K52JU. Hence I recommend you edit (with root permissions) your openSUSE’s /etc/modprobe.d/50-sound.conf file such that it looks like this (note I added a line to the front of the file using the ‘asus’ model option):


**options snd-hda-intel model=asus**
options snd slots=snd-hda-intel,snd-hda-intel
# u1Nb.yUttYMZUFR7:5 Series/3400 Series Chipset High Definition Audio
alias snd-card-0 snd-hda-intel
# NXNs.K3+3qP5NfZ8:ATI Technologies Inc
alias snd-card-1 snd-hda-intel

save the change, and then as a regular user restart your alsa sound driver with the command:


su -c 'rcasasound restart'

and enter root password when prompted. If using KDE do not keep any also audio configurations if asked. And restart your mixer (if using KDE) by typing ‘kmix’. I think maybe you would type ‘alsamixer’ if using gnome (?) < I’m not sure what current gnome mixer may be >

And test.

Note if the ‘asus’ model option does not work, you could try one of the other options in the list (such as ‘hp-laptop’), one at a time, until you find one that works. You need to restart the alsa sound driver after each change. Another way to restart the alsa driver is to simply reboot. :stuck_out_tongue:

Before I forget, … WELCOME to openSUSE and WELCOME to openSUSE forums!

We are all unpaid volunteer enthusiasts on this forum, and I hope we succeed in solving this problem.

Searching the alsa website I note this for the CX20585: Search results - AlsaProject

… so its possible if the model option does not work, we can try updating the alsa driver from version 1.0.23 to the latest 1.0.24.

There are rpms (in a special repository) for openSUSE packaged by the SuSE-GmbH sound packager (who is also a sound developer) and I can help you with that installation if it is to become necessary.

The first fix worked just fine with the olpc line. Thanks a lot, oldcpu!

Congratulations on getting this to work. And thankyou for sharing your solution !

Glad to read adding to the front of the /etc/modprobe.d/50-sound.conf file the following line worked:


options snd-hda-intel model=asus

( ie using the ‘asus’ model option).

Hello OldCPU

As discussed I have reinstalled te SUSE 11.4 and here is the latest ALAS configuration file

http://www.alsa-project.org/db/?f=9a476ee5b8d6b7a4942d676b1a6d7d201192bb0f

since the model is Toshiba

I tried the following option given in Hd audio models

285 Conexant 5051
286 =============
287 laptop Basic Laptop config (default)
288 hp HP Spartan laptop
289 hp-dv6736 HP dv6736
290 hp-f700 HP Compaq Presario F700
291 ideapad Lenovo IdeaPad laptop
292 lenovo-x200 Lenovo X200 laptop
293 toshiba Toshiba Satellite M300

and edited the /etc/modprobe.d/50-sound.conf
=========-----------------------------------------
options snd-hda-intel model=Toshiba

options snd slots=snd-hda-intel,snd-hda-intel

5Dex.25UgQdA5Ke2:SBx00 Azalia (Intel HDA)

alias snd-card-0 snd-hda-intel

NXNs.pwzlOPh9eO9:R700 Audio Device [Radeon HD 4000 Series]

alias snd-card-1 snd-hda-intel


this command did not work for me
su -c ‘rcasasound restart’
so I tried
alsactl init

and also tried rebooting. This option seems to be not working for me.
Is it recommended to try all the combinations? Any other advice?

If the none of the model options work for you, why do you have the option “asus” selected ?


!!Modprobe options (Sound related)
!!--------------------------------

snd-hda-intel: model=asus

that is inconsistent with this (where you INCORRECTLY applied the “toshiba” option) by typing it wrong:

and edited the /etc/modprobe.d/50-sound.conf
=========-----------------------------------------
options snd-hda-intel model=Toshiba
options snd slots=snd-hda-intel,snd-hda-intel

5Dex.25UgQdA5Ke2:SBx00 Azalia (Intel HDA)

alias snd-card-0 snd-hda-intel

NXNs.pwzlOPh9eO9:R700 Audio Device [Radeon HD 4000 Series]

alias snd-card-1 snd-hda-intel

That is also wrong ! The model option in the CX5051 list is “toshiba”. It is NOT “Toshiba”. Linux is case sensitive. “Toshiba” (with an upper case 1st letter) most definitely will NOT work.

But even then, why are you using the CX5051 list ??

Your hardware audio codec is a Conexant CX20585. So why are you applying options for the Conexant 5051. A CX5051 is NOT a CX20585. Do you have a reference for that ? You can’t just blindly apply any option and expect it to work.

Please also post here (so I can check) the output of the following commands:

rpm -qa ‘alsa
rpm -qa ‘pulse
rpm -q libasound2
cat /etc/modprobe.d/50-sound.conf

According to HD audio models found in
http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt
I only see 1 Conexant Audio Hardware with the OEM Toshiba, So I have chosen Conexant 5051,Asuming Toshiba might have used similar hardware as Conexant CX20585,

I changed it to lower case letter and rebooted the machine,still no effect

here are the out puts of commands in the same order

linux-9xn4:/home/xyz # rpm -qa ‘alsa

alsa-plugins-1.0.24-6.1.x86_64

alsa-1.0.24.1-3.1.x86_64

alsa-plugins-pulse-32bit-1.0.24-6.1.x86_64

alsa-oss-1.0.17-32.1.x86_64

alsa-oss-32bit-1.0.17-32.1.x86_64

alsa-utils-1.0.24.2-3.1.x86_64

alsa-plugins-32bit-1.0.24-6.1.x86_64

alsa-plugins-pulse-1.0.24-6.1.x86_64


linux-9xn4:/home/xyz # rpm -qa ‘pulse

pulseaudio-module-gconf-0.9.22-6.9.1.x86_64

libpulse0-0.9.22-6.9.1.x86_64

pulseaudio-esound-compat-0.9.22-6.9.1.x86_64

libpulse-browse0-0.9.22-6.9.1.x86_64

pulseaudio-utils-0.9.22-6.9.1.x86_64

alsa-plugins-pulse-32bit-1.0.24-6.1.x86_64

libpulse-mainloop-glib0-0.9.22-6.9.1.x86_64

pulseaudio-module-lirc-0.9.22-6.9.1.x86_64

pulseaudio-0.9.22-6.9.1.x86_64

pulseaudio-module-zeroconf-0.9.22-6.9.1.x86_64

libpulse0-32bit-0.9.22-6.9.1.x86_64

pulseaudio-module-bluetooth-0.9.22-6.9.1.x86_64

pulseaudio-module-x11-0.9.22-6.9.1.x86_64

alsa-plugins-pulse-1.0.24-6.1.x86_64


linux-9xn4:/home/xyz # rpm -q libasound2

libasound2-1.0.24.1-3.1.x86_64


linux-9xn4:/home/xyz # cat /etc/modprobe.d/50-sound.conf

options snd-hda-intel model=toshiba

options snd slots=snd-hda-intel,snd-hda-intel

5Dex.25UgQdA5Ke2:SBx00 Azalia (Intel HDA)

alias snd-card-0 snd-hda-intel

NXNs.pwzlOPh9eO9:R700 Audio Device [Radeon HD 4000 Series]

alias snd-card-1 snd-hda-intel

It is a mute point, as “toshiba” is the WRONG model option for your hardware. “toshiba” is a model option that users with a CX5051 can apply. It is noted to work for some users with Toshiba hardware AND a CX5051. It is NOT for users with a CX20585. I’m sorry, but testing with it must have frustrated you, especially since it truly was IMHO a waste of time doing such a test.

Testing with the model options:


Conexant 5066
=============
  laptop    Basic Laptop config (default)
  hp-laptop    HP laptops, e g G60
  asus        Asus K52JU, Lenovo G560
  dell-laptop    Dell laptops
  dell-vostro    Dell Vostro
  olpc-xo-1_5    OLPC XO 1.5
  ideapad       Lenovo IdeaPad U150
  thinkpad    Lenovo Thinkpad

is NOT a waste of time, as my research indicated that the CX5066 and CX20585 are similar, and that research is not based on a fallacious assumption centered around a very general model option name.

Anyway, I recommend you start off by trying the model option “ideapad”.

ie …


options snd-hda-intel model=ideapad
options snd slots=snd-hda-intel,snd-hda-intel
# 5Dex.25UgQdA5Ke2:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
# NXNs.pwzlOPh9eO9:R700 Audio Device [Radeon HD 4000 Series]
alias snd-card-1 snd-hda-intel

and restart your PC and test. If ideapad does not work, try each of the other options in the CX5066 list one at a time (reboot between each).

If that fails you should IMHO update your kernel (as it appears you have NOT applied the openSUSE security update to the kernel (which also has fixes for sound)).

If that is insufficient then IMHO you should update your alsa driver.

Hi

Finally the option for thinkpad worked for me :slight_smile:

/home/xyz # cat /etc/modprobe.d/50-sound.conf

options snd-hda-intel model=thinkpad

options snd slots=snd-hda-intel,snd-hda-intel

5Dex.25UgQdA5Ke2:SBx00 Azalia (Intel HDA)

alias snd-card-0 snd-hda-intel

NXNs.pwzlOPh9eO9:R700 Audio Device [Radeon HD 4000 Series]

alias snd-card-1 snd-hda-intel

Thanks a lot for your help mate. All the best and keep the goodwork

Regards
Jean

Well done in your determination to see this through to be fixed !

Glad to read that the model option ‘thinkpad’ worked on your TOSHIBA Satellite L640D laptop with it’s CX20585 hardware audio codec