Headphones not recognized!

Currently running SUSE 11.1 with the latest gnome.

Tried to raise this issue in every forum possible as I had the same problem whilst running ubuntu 8.04 - 9.04. When I’m say watching a youtube video, and the sound is playing out of my speakers, I stick my headphones into the jack and it still plays from the speakers. I have tested out all channels. Also when I run ALSA mixer I only have Master and PCM channels. Any solutions would be much appreciated.

Thanks, Tie.

a “natural_pilot” answered your question in another forum, did you
read it?

there is nothing more for you…


brassy

Sometimes the headphones do not work because the autoprobe of your sound card may not have been correctly identified at boot during the loading of the alsa kernel module. You could consider:

  • carefully check your mixer, and to get better help post here the settings you have applied to your mixer and/or
  • possibly force a model configuration upon boot where the mute will work, and / or
  • possibly update to the latest alsa version (as openSUSE-11.1 does NOT have the latest alsa version Alsa-update - openSUSE and/or
  • if your hardware of your PC is really new, then a bug report may be necessary to have the alsa kernel model updated to appropriately handle your PCs hardware

There are a lot of hints and links in the audio troubleshooting guide and you could start working thru that. If that does not help, post and after I get back from vacation (in a week or so) I can try guide you thru this in more detail.

Audio troubleshooting guide link: SDB:AudioTroubleshooting - openSUSE

I have a very similar problem after a fresh install of osuse 11.0.
My toshiba satellite, sound is fine, but headphones dont seem to work at all.

Upon going for help trying to update alsa drivers, the following rpm install cmd is not very simple:

zypper ar Index of /repositories/multimedia:/libs/openSUSE_11.0

i guess it requires the particular rpm , and not the path only???

Any clue?

I think you copied that wrong. I just double checked Alsa-update - openSUSE and it appears correct.

You should have copied:

zypper ar http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.0/ multimedia

ie that assigns the repository URL to the “label” multimedia, which simplifies removing the repository afterward, where afterward one will type:

zypper rr multimedia

I hope that explanation helps.

thanks indeed for the commands.

But unfortunately, my headphones jacks still dont seem to work after these 6 commands and bootup?

Have you people been able to make it work for your laptops jacks?

My laptop works fine :slight_smile:

Please, with your PC connected to the internet, can you copy and paste into a konsole or terminal, and then run the following:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh

it will give you a URL when it is finished. Please post the URL here. Just the URL.

Please also post the output of running in a konsole:

rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

OK, here is the URL and the related info from the commands:

http://www.alsa-project.org/db/?f=38bada783e73900a6cbcee5a320014abed5baf8f

>
alsa-oss-1.0.15-48.1
alsa-utils-1.0.16-35.1
alsa-docs-1.0.20-36.1
alsa-driver-kmp-pae-1.0.20.20090728_2.6.25.20_0.4-2.1
alsa-1.0.20-36.1
alsa-plugins-1.0.16-57.1

>
libasound2-1.0.20-36.1

>
Linux linux-wiag 2.6.25.20-0.4-pae #1 SMP 2009-06-01 09:57:12 +0200 i686 i686 i386 GNU/Linux

>

u1Nb.KMMdAxZ4TKA:82801G (ICH7 Family) High Definition Audio Controller alias snd-card-0 snd-hda-intel

Thanks. I’m looking at it.

Please, can you run
cat /etc/modprobe.d/sound
again? And check the output against what you posted? What you posted looks incomplete.

Well this is the complete output:

options snd slots=snd-hda-intel

u1Nb.KMMdAxZ4TKA:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

Thanks. That tells me a 1.0.20 driver and a 1.0.16 utilities. It suggests to me your alsa user space was updated, and that is not sufficient. Its possible your PC audio configuration is not being 100% accurately detected at boot, and that one needs to force the model option.

But a silly question first. Are you certain your headphones work? These are NOT USB headphones, right ?

OK, I note this:

Lets update this to 1.0.20 of the latest cutting edge alsa version:

Please open a terminal/konsole, and with root permissions and your PC connected to the internet, copy and paste the follow 6 zypper commands into a terminal or konsole to execute them:

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

Note, you may be told some of those are already installed. Please just carry on with the next command, even if you are told that.

Then restart your PC and test your audio and your headset.

If that does not work, then we may need to force one of the configurations listed in the list below (taken from the alsa documentation for 1.0.20 of alsa):

ALC861VD/660VD
==============
3stack	            3-jack
3stack-dig	    3-jack with SPDIF OUT
6stack-dig	    6-jack with SPDIF OUT
3stack-660	    3-jack (for ALC660VD)
3stack-660-digout   3-jack with SPDIF OUT (for ALC660VD)
lenovo              Lenovo 3000 C200
dallas              Dallas laptops
hp		    HP TX1000
asus-v1s	    ASUS V1Sn
auto                auto-config reading BIOS (default)

Ok, did that and rebooted.

Still dont work !!! tested it with two different pair of earphones, just incase (although both are fine)

Whats the way to force it to these configurations?

Recall you passed to me the following contents for the /etc/modprobe.d/sound file:

options snd slots=snd-hda-intel
# u1Nb.KMMdAxZ4TKA:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel 

Recall the diagnostic script you ran provided this information:

!!HDA-Intel Codec information
!!---------------------------
Codec: Realtek ALC861-VD

Recall the list I posted:

ALC861VD/660VD
==============
3stack	            3-jack
3stack-dig	    3-jack with SPDIF OUT
6stack-dig	    6-jack with SPDIF OUT
3stack-660	    3-jack (for ALC660VD)
3stack-660-digout   3-jack with SPDIF OUT (for ALC660VD)
lenovo              Lenovo 3000 C200
dallas              Dallas laptops
hp		    HP TX1000
asus-v1s	    ASUS V1Sn
auto                auto-config reading BIOS (default)

So, add one line to the start of your /etc/modprobe.d/sound file to force the audio configuration (using information from the list I provided above). You can edit that file by

  • in gnome typing: **gnomesu ‘gedit /etc/modprobe.d/sound’ **
    #and make your edits and save.
  • in kde typing: kdesu ‘kwrite /etc/modprobe.d/sound’
    #and make your edits and save. in both cases enter root password when prompted for a password.

The intent is to try each item in the list that was provided, one at a time, and restart alsa sound driver after each, restart the mixer, and test sound/headphones. Some of those options will break sound, … no worries … just try another … until hopefully one works.

Start with “3stack”. You do that by adding the line:

options snd-hda-intel model=3stack

such that your /etc/modprobe.d/sound file looks like:

options snd-hda-intel model=3stack
options snd slots=snd-hda-intel
# u1Nb.KMMdAxZ4TKA:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel 

then restart your alsa sound driver with su -c ‘rcalsasound restart’ and enter root password when promptd and restart the mixer and test sound.

If “3stack” does not work, then REPLACE it in the /etc/modprobe.d/sound file with the next item in the list “3stack-dig” and save the change, restart alsa as described above, restart mixer, and test sound.

Do that for each item in the list until your sound works properly.

No matter what the outcome, IMHO you probably should write a bug report. Your sound device should be configured automatically, and it is not (possible due to this being an openSUSE-11.0 limitation as opposed to 11.1, but maybe not). There is guidance in writting a bug report here: Submitting Bug Reports - openSUSE Please ensure you write the report against openSUSE-11.0 and against component “sound”. By writing it against component “sound” you get the attention of the openSUSE alsa packager, who is also an alsa developer.

Thanks a lot for the detailed reply. Your reply made things easier for me than i had anticipated.
3stack worked right away as i restarted it, without any problems.

Ill write a bug report as you pointed out for the developers. but i must also check my microphone and find possible fixes for that.

I realize the reason why a large community of PC users is still not bound to leave Microsoft! BTW, how long did it take to be a linux pro?

ooopppss… sorry…NO… now they are both working (i can hear sound from speakers as well as my jacks). My mistake i didnt try speakers… initially.
I tried all of them and none comes up with a ‘headphone only’ option when i plug it in… some dont detect my jack and others play sound in both !

But can i get over it through my mixer settings? What do u mean by the way, when u say restart the mixer… i have only been restarting using the command:
su -c ‘rcalsasound restart’

Is mixer restarted separately?

Sometimes when one runs “rcalsasound restart” it ‘kills’ the mixer (at least on KDE it kills kmix). So after typing “rcalsasound restart” on kde one needs to type “kmix” to get mixer control. I assume on Gnome (I never run Gnome) that one needs to type “alsamixer” to get mixer control.

When you write the bug report, make certain you provide this information in the bug report (ie you tried various model options (list them specifically) and they gave the problems you noted).

Also, run the script alsa-info.sh with the --no-upload option:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh --no-upload

it will put the output in the /tmp/alsa-info.txt

Include alsa-info.txt as an attachment to the bug report.

Ok, i kindof figured out that kmix shuts down.

For the configurations, actually none of them work ! Do you still have another clue to get over it? (as for my case speakers are still not yet getting silent upon pluggin jacks?)

Yes, Raise the bug report as I recommended.

I had something similar last year with my new Dell Studio 1537 laptop, and the openSUSE packager of alsa, who is also an alsa dev, had it fixed in days. If you are curious the bug report thread for the problem I experienced is here: Access Denied

BUT you MUST start a new bug report. Do NOT tag on to an existing thread/report.

The openSUSE packager of alsa, who is also an alsa developer, is very good at fixing such problems.

A little sloppy, but my bug report is here:

https://bugzilla.novell.com/show_bug.cgi?id=526325