[SOLVED] headphone switch not working

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
ceeslans
Posts: 17
Joined: 10. Apr 2010, 11:54
Location: Rotterdam, NL

[SOLVED] headphone switch not working

Post by ceeslans »

whenever i plug headphones into my laptop, it won't turn the speakers off.
the 'switch' tab in alsa mixer is there and 'headphone' box is ticked, but doesn't mute speaker sound.
can anybody help me with correct configuration?
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: headphone switch not working

Post by thenktor »

Hi,
more info needed:
What laptop?
What sound chip? (Output of "lspci")
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
ceeslans
Posts: 17
Joined: 10. Apr 2010, 11:54
Location: Rotterdam, NL

Re: headphone switch not working

Post by ceeslans »

output lspci

Code: Select all

root[cees]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Device 95c2
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 13)
05:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
06:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
06:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
06:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
root[cees]# 

Code: Select all

root[cees]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root[cees]# 
Laptop is a Sony Vaio.
was running mint7/xfce before on the same machine, which did not have this problem.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: headphone switch not working

Post by gapan »

I had similar problems with my intel soundcard.

Code: Select all

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
The fix was to add this:

Code: Select all

options snd-hda-intel model=auto
to /etc/modprobe.d/alsa-base.conf (if not there, create it).
Image
Image
flux
Posts: 26
Joined: 26. Oct 2009, 12:13

Re: headphone switch not working

Post by flux »

On my Sony Vaio W11 I added the line

Code: Select all

options snd-hda-intel model=vaio position_fix=0
to fix the problem with the headphone switch.

flux.
User avatar
ceeslans
Posts: 17
Joined: 10. Apr 2010, 11:54
Location: Rotterdam, NL

Re: headphone switch not working

Post by ceeslans »

thanks gapan and flux for the feedback. but none of the options worked :(
but following options did the trick on this machine (vaio VGN-NS31)

Code: Select all

options snd-hda-intel model=sony-assamd

lost the 'switch' tab in alsamixer - but actual switch does work when plugging the headphone in or out.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: headphone switch not working

Post by gapan »

Mark the thread as solved then?
Image
Image
User avatar
ceeslans
Posts: 17
Joined: 10. Apr 2010, 11:54
Location: Rotterdam, NL

Re: headphone switch not working

Post by ceeslans »

solved !
Post Reply