Headphone jack sense not working on HDA ATI SB

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

Headphone jack sense not working on HDA ATI SB

Postby fide on Mon Dec 05, 2011 12:07 pm

Hello everybody,
I'm trying to make headphone jack sense work on my notebook Asus X5DAB , LinuxMint 12, with gnome3 .
I'd just like the notebook loudspeakers to mute automatically (or at least, i'd like to manage to do it manually!) when i connect headphones to the sound output .
Pulseaudio settings do not seem to work correctly - it in the "output" tab of the pulseaudio settings i set either "Analog connector" or "Analog Output" there's no difference - the audio keeps going out from both loudspeakers and headphones.
I tried to mute/unmute/change volumes in alsamixer .. no luck.
I tried to add several different card models in /etc/modprobe.d/alsa-base.conf snd-hda-intel model settings .. no luck.
I can see CONFIG_SND_HDA_INPUT_JACK=y is enabled in /boot/config-3.0.0-12-generic .
My lspci:

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
02:00.0 VGA compatible controller: ATI Technologies Inc M92 [Mobility Radeon HD 4500/5100 Series]
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
04:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfbaf4000 irq 16


Any help is very appreciated. Thank you.
fide
Level 1
Level 1
 
Posts: 4
Joined: Fri Jun 17, 2011 4:59 am

Linux Mint is funded by ads and donations.
 

Re: Headphone jack sense not working on HDA ATI SB

Postby fide on Mon Dec 05, 2011 3:09 pm

If it can be useful for anybody with my same notebook/soundcard, I managed to find a temporary workaround using the script http://www.alsa-project.org/hda-analyzer.py : running it, i can disable the internal speakers (and only the speakers, not the analog output) clicking on card-0 , codec-0 , Node[0x1c] PIN and muting Val[0] and Val[1]. Anyway, i cannot manage to save it after reboots without doing the whole procedure again.
fide
Level 1
Level 1
 
Posts: 4
Joined: Fri Jun 17, 2011 4:59 am

Re: Headphone jack sense not working on HDA ATI SB

Postby kabads on Mon Dec 05, 2011 3:47 pm

I've just noticed this problem. This could be a bug. My audio card is supported under Ubuntu as I had no problems with that distro.
Image
kabads
Level 3
Level 3
 
Posts: 121
Joined: Thu Dec 01, 2011 2:01 pm

Re: Headphone jack sense not working on HDA ATI SB

Postby AlbertP on Mon Dec 05, 2011 4:01 pm

Which Ubuntu version did you use, when it worked well?

Please post the output of:
Code: Select all
cat /proc/asound/card0/codec* | grep Codec
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5862
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Headphone jack sense not working on HDA ATI SB

Postby fide on Mon Dec 05, 2011 5:53 pm

In my case:
Codec: VIA VT1708S

With LinuxMint11, i could mute/unmute the loudspeakers using alsamixer on the "Front" channel. Now it doesn't work anymore - if i mute that channel, everything gets muted, including analog output.
Thanks
fide
Level 1
Level 1
 
Posts: 4
Joined: Fri Jun 17, 2011 4:59 am

Re: Headphone jack sense not working on HDA ATI SB

Postby kabads on Tue Dec 06, 2011 3:00 am

AlbertP wrote:Which Ubuntu version did you use, when it worked well?

Please post the output of:
Code: Select all
cat /proc/asound/card0/codec* | grep Codec


For me it was from Jaunty - iirc.

http://pastebin.com/3GGTpsqE - my cat /proc/asound output

Adam
Image
kabads
Level 3
Level 3
 
Posts: 121
Joined: Thu Dec 01, 2011 2:01 pm

Re: Headphone jack sense not working on HDA ATI SB

Postby AlbertP on Tue Dec 06, 2011 6:46 am

@ kabads: please open a seperate topic.

@ fide: I don't know what to do with this. There aren't any model settings for a VIA codec. They should just work.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5862
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: Headphone jack sense not working on HDA ATI SB

Postby ej64 on Tue Dec 06, 2011 7:12 am

I've had a very similar notebook, an Asus K51AC with the same chipset, cpu, Audio controller ...

My problems vanished the moment I uninstalled pulseaudio to use pure ALSA.
Thinkpad X220 with Samsung SSD and Crunchbang Statler XFCE (unstable repos)
I'm getting old gladly -- I don't like to die young ...
ej64
Level 4
Level 4
 
Posts: 308
Joined: Tue Nov 24, 2009 7:43 am
Location: somewhere in Germany

Re: Headphone jack sense not working on HDA ATI SB

Postby robinustwiteric on Wed Jan 16, 2013 1:37 pm

Hithere. I had the same problem on a HP nx8220 running LMDE with the n6 pack upgrade. Just installed the gnome alsa mixer, activated the corresponding button (headphone lack sense) and al set! Can hear sound only through headphones when they are plugped in. Hope it helps.
Best.
robinustwiteric
Level 1
Level 1
 
Posts: 1
Joined: Wed Jan 16, 2013 1:32 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: Bing [Bot] and 16 guests