Headphone not working

I’m using openSuse for a week now on my new Toshiba machine and almost everything is working fine…excep the headphone jack. When I do not use my headphone the sound is working, but the moment I inject my headphone into the headphone jack the sound through the speakers is muted but there is no sound on the headphones.

This is probably because there is no headphone option in KMix…? The problem is I don’t know how to fix this. I’ve included some information below with debug info, as I saw in other posts. If any other information is required please feel free to ask.

/usr/sbin/alsa-info.sh
check http://www.alsa-project.org/db/?f=4f514cd6f56bec20f1dffd863b86d86909ff41ac

rpm -qa ‘alsa


alsa-utils-1.0.21-3.1.i586
alsa-oss-1.0.17-25.2.i586
alsa-1.0.21-3.2.i586
alsa-plugins-jack-1.0.21-3.3.i586
alsa-plugins-1.0.21-3.3.i586

rpm -qa ‘pulse


libpulse0-0.9.19-2.3.i586
libxine1-pulse-1.1.16.1-7.6.i586

rpm -q libasound2


rpm -q libasound2

cat /etc/modprobe.d/50-sound.conf


options snd slots=snd-hda-intel,snd-hda-intel
# u1Nb.scBiORJNe+F:5 Series/3400 Series Chipset High Definition Audio
alias snd-card-0 snd-hda-intel
# NXNs.6kx3S2vBnFB:R700 Audio Device [Radeon HD 4000 Series]
alias snd-card-1 snd-hda-intel

This is probably because there is no headphone option in KMix…?

You may have to activate the volume control for the headphone channel sperately (KMix → Settings → Configure Channels).

I’m a beginner, but not that stupid :slight_smile: There is no headphone channel available…

Available channels: Master, PCM, Speaker, Front Mic Boost, Mic Boost, Beep, Capture, Digital

I’m a beginner, but not that stupid :slight_smile:

Nobody said that - in fact, I believe many experienced users have no idea how to set up channels in KMix when they are not present by default (only most users do not experience such troubles).

Anyway, if not even the settings dialogue offers you a channel for the headphone, it obviously can not be configured with that soundcard. That seems a bit unlikely, though, since there is a headphone-jack on your machine, which implies that it can be configured in some way. So actually I suggest to look again. Without the need to feel stupid. :slight_smile: For example, I wonder how there can be two mic-boost controls present while there’s no control for the volume of the mic. Looks like there are still some options left. Did you actually look in the “Configure Channels” settings?

I don’t know where to look again? I enabled all channels and max output but still no sound from the headphone jack. Perhaps it’s something with the drivers? I don’t have a clue so please help :slight_smile:

I don’t know where to look again? I enabled all channels and max output but still no sound from the headphone jack.

Okay, I might sound silly myself here, but I just want to make sure…

…meaning this can not be set in the main window of KMix but rather looks like →this. You will have to drag the respective channel and drop it on the right side to enable it.

There is no headphone option under KMix -> Configure Channels… The channels which you can hide/show are the following: Master, PCM, Speaker, Front Mic Boost, Mic Boost, Beep, Capture, Digital

here there is an option for headphones on kmix to turn on and off the mute function.

We have another laptop and there is the Headphone channel available, it isn’t on this machine! So you can’t unmute it either!! Anyone?

The only thing I can think of is, if you are using the oss mixer it lacks the head phone control but is present in alsa mixer. We have to consult oldcpu regarding that matter.
In kmix I guess you will not have a choice to shift to another mixer but the xfce mixer have that feature.

Anyone has an idea? This is decreasing my productivity not being able to use my headphones and listen to some good music :slight_smile:

I would like to try and help if I could, but I am not familiar with your hardware, so I will need to speculate a bit.

I do note your Toshiba Satellite L670 has a Realtek ALC269 codec, running a 32-bit openSUSE-11.2 with the 2.6.31.5-0.1-desktop kernel, running version 1.0.20/1.0.21 of the alsa sound driver.

Surfing the web I note other users with this laptop has had the same problem, which appears to be because the 2.6.31.5 kernel’s alsa driver routines are not able to properly configure your laptop’s alsa driver upon boot (there is a bit of speculation in that statement from me). Hence what you could try to do is force a specific configuration into your alsa audio driver upon boot, so that you have the functionality that you wish.

I am not in front of a Linux PC right now, and so I do not have access to my notes. I think the model options for an ALC269 (based on a web surf) are (from the hd-audio-models.txt file that comes with the alsa driver documentation):

ALC269
======
  basic		Basic preset
  quanta	Quanta FL1
  eeepc-p703	ASUS Eeepc P703 P900A
  eeepc-p901	ASUS Eeepc P901 S101
  fujitsu	FSC Amilo
  lifebook	Fujitsu Lifebook S6420
  auto		auto-config reading BIOS (default)

I recommend you test each of those options, one at a time, to see if any work. Say you start with “basic”. To do this, then modify your /etc/modprobe.d/50-sound.conf file, by adding the line “options snd-hda-intel model=basic” that I propose at the start of that file so that it looks like:

options snd-hda-intel model=basic
options snd slots=snd-hda-intel,snd-hda-intel
# u1Nb.scBiORJNe+F:5 Series/3400 Series Chipset High Definition Audio
alias snd-card-0 snd-hda-intel
# NXNs.6kx3S2vBnFB:R700 Audio Device [Radeon HD 4000 Series]
alias snd-card-1 snd-hda-intel

save that change. Then restart your alsa sound driver by typing (as a regular user):

su -c 'rcalsasound restart'

and enter root password when prompted. Then restart your mixer (type ‘kmix’ if KDE and ‘alsamixer’ if Gnome).

And test your headset. If that does not work, in the /etc/modprobe.d/50-sound.conf file, replace “basic” with the next item in the hd-audio-models.txt file list for the ALC269 (which is “quanta”) such that the file looks like:

options snd-hda-intel model=quanta
options snd slots=snd-hda-intel,snd-hda-intel
# u1Nb.scBiORJNe+F:5 Series/3400 Series Chipset High Definition Audio
alias snd-card-0 snd-hda-intel
# NXNs.6kx3S2vBnFB:R700 Audio Device [Radeon HD 4000 Series]
alias snd-card-1 snd-hda-intel

, and save the change, restart alsa (via the command I provided), restart your mixer via the command I provided) and test your headphone.

Do that for EACH of the model options, until you find one that works.

Now I note that a number of Ubuntu users applied the model “lenovo” for your laptop model and claim it works, and in some cases the control “position_fix=1”, but there is a LOT of dissinformation on Ubuntu forums so one needs to be careful. You could try “lenovo” as a boot code as well.

Note some of those “options” you will try may break your sound. No worries, just change it for the next item in the list and test again.

Your openSUSE has the 1.0.20/1.0.21 version of alsa, and I note there have been MANY updates to the ALC269 in 1.0.23 of alsa sound driver, so if the above does not work, we can look at updating alsa (and I can provide specific guidance as to how you need to do that).

Good luck, and let us know how this works out and if we can help some more. There is a lot more that can be tried, but lets do this one step at a time.

Thanks for the info, i’ll try this later today!

I tried the different configuration options.


  basic		Basic preset
  quanta	Quanta FL1
  eeepc-p703	ASUS Eeepc P703 P900A
  eeepc-p901	ASUS Eeepc P901 S101
  fujitsu	FSC Amilo
  lifebook	Fujitsu Lifebook S6420
  auto		auto-config reading BIOS (default)

   lenovo
   position_fix = 1

The result was the following:

  • position_fix=1, lenovo and auto each had a ms of noise when rebooting the sound. the sound was also muted when using the headphone on the speakers but I still had no sound on the headphones.
  • basic had a ms of noise when rebooting the sound but the sound wasn’t muted when injecting headphones.
  • with the other boot parameters, the sound was through the speakers no matter using the headphones or not. Some showed a headphone config in kmix, but it did not work (and I did not have the ms of noise through headphones on reboot)

I hope its enough info to help me further.

I don’t know if this can help btw:



 3300.194585] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
 3300.194773] HDA Intel 0000:01:00.1: setting latency timer to 64
 3305.607946] lo: Disabled Privacy Extensions
 3309.805840] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
 3706.203894] lo: Disabled Privacy Extensions
 4108.322341] HDA Intel 0000:01:00.1: PCI INT B disabled
 4108.332713] HDA Intel 0000:00:1b.0: PCI INT A disabled
 4108.457118] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
 4108.457332] HDA Intel 0000:00:1b.0: setting latency timer to 64
 4108.498750] hda_codec: ALC269: BIOS auto-probing.
 4108.498763] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/hda_codec.c:3881: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0)
 4108.498768] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/hda_codec.c:3885:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
 4108.498773] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/hda_codec.c:3889:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
 4108.498778] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/hda_codec.c:3890:    mono: mono_out=0x0
 4108.498782] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/hda_codec.c:3901:    inputs: mic=0x12, fmic=0x18, line=0x0, fline=0x0, cd=0x0, aux=0x0
 4108.499178] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/hda_codec.c:315: hda_codec: connection list not available for 0x24
 4108.499564] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/patch_realtek.c:1282: realtek: No valid SSID, checking pincfg 0x40179a2d for NID 0x1d
 4108.499568] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/patch_realtek.c:1298: realtek: Enabling init ASM_ID=0x9a2d CODEC_ID=10ec0269
 4108.499999] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input23
 4108.500259] ALSA /usr/src/packages/BUILD/kernel-desktop-2.6.31.5/linux-2.6.31/sound/pci/hda/patch_realtek.c:4741: hda_codec: ALC269: No ADC/MUX containing both 0x12 and 0x18 pins
 4108.505580] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
 4108.505922] HDA Intel 0000:01:00.1: setting latency timer to 64

What syntax did you apply in this case (specifically for the ‘position_fix=1’)?

Please confirm you have libasound2 installed? If not, install it. Also install alsa-firmware and reboot and test with that installed.

You could try updating alsa. There is guidance here: SDB:Alsa-update - openSUSE

I recommend you update alsa-utils-1.0.21-3.1.i586, alsa-oss-1.0.17-25.2.i586, alsa-1.0.21-3.2.i586, alsa-plugins-jack-1.0.21-3.3.i586, and alsa-plugins-1.0.21-3.3.i586 and libasound2 and alsa-firmware to newer 1.0.23 versions per that above guide. And also (do not FORGET) to install alsa-driver-kmp-default per your kernel version. If you get silly warnings about kernel downgrades or upgrades then STOP. That means you’ve made a mistake and consult with me so we can sort the mistake.

Also, do NOT install other alsa-driver-kmp packages. Of the ‘kmp’ packages ONLY install alsa-driver-kmp-default. Also, after you “think” you have updated the alsa-utils, alsa-oss, alsa, alsa-plugins-jack, alsa-plugins and libasound, check their versions and confirm they are 1.0.23. If not, you failed updating and you need to keep trying until you succeed in updating them. I’ve lost count of the users who say they updated those packages and did NOT update them. So please update them.

Then reboot and test.

I used:


options snd-hda-intel position_fix=1

I will now try to update the sound drivers

OK, maybe you could also try:

options snd-hda-intel model=lenovo position_fix=1

or some other model option instead of lenovo.

Having typed that, simply updating alsa may be your best approach here.

currently busy with updating praying :slight_smile: