Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-24-2014, 11:29 PM   #1
Registered: Apr 2010
Distribution: FC17
Posts: 185

Rep: Reputation: 2
Headphones jack sensing, FC19+KDE, Asus M3A79T deluxe


Long time ago, when I build my PC around Asus M3A79T deluxe mainboard
and had FC9+GNOME installed on it, the front panel headphone jack sensing
worked perfectly: insertinh a headphones muted the speakers (fed
from a rear audio jack). Later, at some Fedora version change
(don't remember exactly which, I think between FC11 to FC14) the
jack sensing stopped working: inserting a headphone left the sound
coming both from the speakers and the headphones. Today, under
FC19+KDE it's still the same. After some searching I saw references
to an option in ALSA mixer related to enabling/disabling jack sensing
but when I open my ALSA mixer, I can't find any such option.

How can I check that the hardware itself (jack switch?) is working
(and I don't have Windows installed so I can't boot that)?

Assuming the hardware is OK, what else can I check?

I looked at the "dmesg" output, saw few lines related to ALSA:

[   21.927838] ALSA sound/pci/hda/hda_intel.c:3317 0000:00:14.2: Using LPIB position fix
[   21.932053] ALSA sound/pci/hda/hda_intel.c:1787 0000:00:14.2: Enable sync_write for stable communication
[   22.304358] hda_codec: AD1989B: BIOS auto-probing.
[   22.305054] ALSA sound/pci/hda/hda_auto_parser.c:393 autoconfig: line_outs=4 (0x12/0x16/0x24/0x25/0x0) type:line
[   22.305057] ALSA sound/pci/hda/hda_auto_parser.c:397    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   22.305060] ALSA sound/pci/hda/hda_auto_parser.c:401    hp_outs=1 (0x11/0x0/0x0/0x0/0x0)
[   22.305061] ALSA sound/pci/hda/hda_auto_parser.c:402    mono: mono_out=0x0
[   22.305063] ALSA sound/pci/hda/hda_auto_parser.c:405    dig-out=0x1b/0x1d
[   22.305064] ALSA sound/pci/hda/hda_auto_parser.c:406    inputs:
[   22.305067] ALSA sound/pci/hda/hda_auto_parser.c:410      Front Mic=0x14
[   22.305069] ALSA sound/pci/hda/hda_auto_parser.c:410      Rear Mic=0x17
[   22.305071] ALSA sound/pci/hda/hda_auto_parser.c:410      Line=0x15
[   22.305073] ALSA sound/pci/hda/hda_auto_parser.c:410      CD=0x18
[   22.330662] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input4
[   22.330830] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input5
[   22.330991] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input6
[   22.331169] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input7
[   22.331279] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input8
[   22.331389] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input9
[   22.331477] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input10
[   22.331570] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input11
[   22.332255] ALSA sound/pci/hda/hda_intel.c:3116 0000:01:00.1: Handle VGA-switcheroo audio client
[   22.332258] ALSA sound/pci/hda/hda_intel.c:3317 0000:01:00.1: Using LPIB position fix
[   22.332310] snd_hda_intel 0000:01:00.1: irq 47 for MSI/MSI-X
[   22.336088] ALSA sound/pci/hda/hda_intel.c:1787 0000:01:00.1: Enable sync_write for stable communication
[   22.341980] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12
Starting the ALSA mixer and displaying the "proc info" (actually,
repeating in shell as the mixer output can't be copied) gives:

<localhost.localdomain>+ /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.11.1-200.fc19.x86_64.
<localhost.localdomain>+ /proc/asound/cards
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe2f4000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfe3ec000 irq 47
<localhost.localdomain>+ /proc/asound/timers 
G0: system timer : 1000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
P0-2-0: PCM playback 0-2-0 : SLAVE
P0-2-1: PCM capture 0-2-1 : SLAVE
P0-2-3: PCM capture 0-2-3 : SLAVE
P1-3-0: PCM playback 1-3-0 : SLAVE
<localhost.localdomain>+ /proc/asound/pcm
00-00: AD1989B Analog : AD1989B Analog : playback 1 : capture 1
00-01: AD1989B Digital : AD1989B Digital : playback 1
00-02: AD1989B Alt Analog : AD1989B Alt Analog : playback 1 : capture 2
01-03: HDMI 0 : HDMI 0 : playback 1
Clicking on the "Volume" icon at the panel and opening through it
the "Kmix", then going to Settings->Audio setup-> Audio hardware setup
doesn't show any control related to headphones jack sensing.
It has a manual selection of "Built-in Audio Analog Stereo" between
"Analog output" and "Headphones" but selecting either of them
changes nothing - the sound continues to be heared from both the
speakers and the headphones.

The "kmix" and "alsa" related packages versions:

<localhost.localdomain>rpm -qa | grep kmix
<localhost.localdomain>rpm -qa | grep alsa
What else can I check/update?

TIA for any ideas,
Old 02-18-2014, 11:57 PM   #2
LQ Guru
Registered: Dec 2011
Distribution: Slackware
Posts: 8,494
Blog Entries: 14

Rep: Reputation: Disabled

I opened the alsamixer in the terminal and looked sorry I did not see an option for headphine jacks.

Maybe open alsamixer and try F1 which is help and see if anything is mentioned in there.
Look in your mobo book and see if it's mentioned how to test that jack on the board.

I found your mobo-Specifications it may help others here that chime in.
12 USB 2.0 ports (6 ports at mid-board, 6 ports at back panel)
If you need the PDF

Another thing to try is take those headphone jacks and plug them into another device (ipod or a tablet)and see if they work on that device. Could have stopped working (just an idea)
If you have another pair of headphone jacks try them.
You could also try putting the headphones on the speaker jack just to make sure this isn't what's wrong.

Sometimes hardware and performance issue's can be solved by installing a more current version of the kernel and kernel headers.
The latest stable kernel is 3.13.3 if you want to try it.

How can I check that the hardware itself (jack switch?) is working
With the headhphone jack plugged in does lsusb see it?
Old 02-20-2014, 02:17 PM   #3
Registered: Apr 2010
Distribution: FC17
Posts: 185

Original Poster
Rep: Reputation: 2
Hi Ztcoracat, thanks for the reply.

Testing the headphones in other device isn't nesessary: the sound is coming from them OK,
my only problem: the sound continues to come outof the speakers even when the headphones
jack is inserted. I didn't find in the M-board spec anything about testing jack sense,
only the feature had been mentioned (well, PR guys wrote that...).

I tryed "lsusb" with and without the headphones hack inserted and got identical output:

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 03f0:8904 Hewlett-Packard DeskJet 6940 series
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub            
Bus 004 Device 002: ID 045e:0084 Microsoft Corp. Basic Optical Mouse          
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub                  
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Maybe the fact that I've got the same output with and without the jack
is a clue that the hardware doesn't work? What is expected in the "lsusb"
output when inserting headphones?

Searching info about jack sensing I found at

about a similar problem that is solved by "hdajackretask".
I installed it, started it... but I didn't see any setting
option that makes sense more than the default for the front
jack: is'a tasked as "Headphone", I don't see why changing
it would do anything good. Also, I experimented with "Advanced
override": it shown the "jack sensing" as "present", again I don't
see what can I change there.
I feel I'm missing something obvious here but what?
Old 02-21-2014, 12:41 AM   #4
LQ Guru
Registered: Dec 2011
Distribution: Slackware
Posts: 8,494
Blog Entries: 14

Rep: Reputation: Disabled
What is expected in the "lsusb"
output when inserting headphones?
The output with them plugged in should show that they are recognized.
If they don't show up in the output then there could be something wrong with the hardware.
Maybe this will help:

1. Use PackageKit or KPackageKit to install the pulseaudio-module-jack package.
2. Approve the installation and ensure that it is carried out properly.

3. You'll need to edit the PulseAudio configuration file to use the JACK module.
Maybe somehow the module for the jack is not there?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC19 (from FC17) + KDE: changing launcher icon: can't write kaza Linux - Desktop 2 11-11-2013 02:26 PM
FC19+KDE+Nautilus: no way to leave icons unsorted in folders? kaza Fedora 3 10-05-2013 06:43 PM
Asus A7N8X Deluxe lex0429 Linux - Hardware 2 10-07-2003 01:20 PM
Asus A7N8X Deluxe..???? tricky_linux Linux - Hardware 1 08-01-2003 06:18 AM
Asus A7N8X Deluxe VoyagerDL Linux - Hardware 1 03-15-2003 09:31 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration