You are not logged in.

#1 2008-11-14 18:50:26

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

[Solved] Headphones not muting built-in speakers on a laptop

I have bought a new laptop a Packard Bell MX61 and so far so good, everything works very well with linux until now.
Today I plugged my headphones and the speakers didn't mute, I have searched the web and it seems this is starting to be common, as it seems the good old hardware switch is being replaced by some software solution >_> even on windoze it fails to work properly sometimes. My question is if someone knows how I can make it work in linux. Thanks in advance.
Here is what I think might be relevant to get help

$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Graphics Port 0)
00:04.0 PCI bridge: ATI Technologies Inc Device 7914
00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2)
00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 2400
01:00.1 Audio device: ATI Technologies Inc RV610 audio device [Radeon HD 2400 PRO]
06:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
07:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
07:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
07:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev ff)
07:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
$ lsmod
Module                  Size  Used by
ide_cd_mod             32900  1 
cdrom                  35360  1 ide_cd_mod
pata_atiixp             6656  0 
joydev                 11584  0 
usbhid                 46016  0 
hid                    41856  1 usbhid
ff_memless              6664  1 usbhid
ath_pci               245432  0 
wlan                  222448  1 ath_pci
8139cp                 21248  0 
ath_hal               250976  1 ath_pci
arc4                    3712  2 
ecb                     4608  2 
crypto_blkcipher       17540  1 ecb
atiixp                  5508  1 
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8332  2 snd_seq_oss,snd_seq
snd_pcm_oss            40192  0 
snd_mixer_oss          16512  1 snd_pcm_oss
psmouse                38288  0 
sdhci_pci               9088  0 
sdhci                  16900  1 sdhci_pci
ohci1394               30256  0 
uvcvideo               56840  0 
sg                     28852  0 
serio_raw               7172  0 
ieee1394               80452  1 ohci1394
8139too                24964  0 
mii                     6528  2 8139cp,8139too
ricoh_mmc               5632  0 
k8temp                  6144  0 
snd_hda_intel         368944  2 
mmc_core               46620  1 sdhci
compat_ioctl32          3072  1 uvcvideo
videodev               35584  1 uvcvideo
ide_pci_generic         5636  0 
video                  18064  0 
output                  4608  1 video
v4l1_compat            16260  2 uvcvideo,videodev
ath5k                 100480  0 
mac80211              158876  1 ath5k
led_class               5508  1 ath5k
snd_pcm                69636  2 snd_pcm_oss,snd_hda_intel
snd_timer              21384  2 snd_seq,snd_pcm
snd_page_alloc          9224  2 snd_hda_intel,snd_pcm
snd_hwdep               8964  1 snd_hda_intel
snd                    50724  13 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore               8160  1 snd
asus_acpi              15772  0 
i2c_piix4               9744  0 
i2c_core               22420  1 i2c_piix4
ide_core               96200  3 ide_cd_mod,atiixp,ide_pci_generic
cfg80211               25224  2 ath5k,mac80211
ohci_hcd               24976  0 
ahci                   30348  0 
ati_agp                 8716  0 
agpgart                30804  1 ati_agp
evdev                  11296  8 
thermal                17052  0 
processor              34732  1 thermal
fan                     6148  0 
button                  7824  0 
battery                12036  0 
ac                      6020  0 
loop                   16140  0 
vboxdrv                66072  0 
rtc_cmos               11424  0 
rtc_core               17564  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
ext3                  126472  5 
jbd                    46100  1 ext3
mbcache                 8708  1 ext3
sd_mod                 27160  7 
usb_storage            92736  6 
ehci_hcd               35852  0 
usbcore               134128  6 usbhid,uvcvideo,ohci_hcd,usb_storage,ehci_hcd
ata_generic             6788  0 
pata_sis               12036  0 
pata_acpi               6016  0 
libata                152992  5 pata_atiixp,ahci,ata_generic,pata_sis,pata_acpi
scsi_mod               96460  4 sg,sd_mod,usb_storage,libata
dock                    9488  1 libata
cat /proc/asound/card0/codec#0 | grep -i codec
Codec: Realtek ALC660-VD

and for the curious guys wondering what's on usb

$ lsusb
Bus 005 Device 001: ID 1d6b:0001  
Bus 006 Device 001: ID 1d6b:0001  
Bus 004 Device 001: ID 1d6b:0001  
Bus 003 Device 001: ID 1d6b:0001  
Bus 002 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001  
Bus 001 Device 004: ID 04f2:b066 Chicony Electronics Co., Ltd 
Bus 001 Device 003: ID 067b:2507 Prolific Technology, Inc. PL2507 Hi-speed USB to IDE bridge controller
Bus 001 Device 001: ID 1d6b:0002

I'm running linux from an external disk from my old laptop (that died) a 32 bit version of arch, but I'll need to install a 64bit version of arch to use the 4GB of ram this baby has, but as of now I'm just testing if everything is ok, didn't even run the vista yet and I plan to make a backup of what is in the disk and wipe it and have arch only, no windoze big_smile

Last edited by R00KIE (2008-11-16 12:06:28)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#2 2008-11-14 19:03:15

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: [Solved] Headphones not muting built-in speakers on a laptop

I´ve got the same problem, also Intel HDA. Only i have two headphone jacks, one is muting the speaker, but has no sound and the second one has sound but doesn't mute the speaker. I wonder what the solution is.

Offline

#3 2008-11-14 21:18:46

floke
Member
Registered: 2007-09-04
Posts: 266

Re: [Solved] Headphones not muting built-in speakers on a laptop

Not a proper fix I know, but can't you just manually mute the front speaker through alsamixer?
This is what I have to do, and the amount of time it takes will, in all probability, far far outweigh the time taken to find a 'real' solution.

Offline

#4 2008-11-14 21:29:43

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Headphones not muting built-in speakers on a laptop

Well I would, I've tried it but headphones and speakers are in sync so to speak, any change I do changes both things .... seems like I need to boot vista for the first time and see if it works there hmm


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2008-11-14 21:53:00

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: [Solved] Headphones not muting built-in speakers on a laptop

Tuning up surround was my solution. weird:S

Offline

#6 2008-11-14 22:07:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Headphones not muting built-in speakers on a laptop

No surround level here, I'm trying a few other things meanwhile.
I have booted into vista, took forever to finish the install and guess what, if I plug the headphones the speakers get muted and I get a popup saying something was plugged or unplugged when I unplug something mic/headphones.
I just can't understand why all this hassle, the hw solution would be infinitely better.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2008-11-16 12:05:29

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Headphones not muting built-in speakers on a laptop

I'm reporting on this, adding

options snd-hda-intel model=lenovo

to /etc/modprobe.conf then rebooting is the way to get things working.
Then I go to alsamixer and raise the front volume to the max and mute it, now the sound changes back and forth from speakers to hedphones.
But I have problems with skype, the sound recorded from the mic has lots of cracks and pops while if I test with audacity the sound is clear.
I'll report back when I get that to work properly, for now I'm marking this as fixed.

Last edited by R00KIE (2008-11-16 12:05:56)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2008-11-18 10:25:38

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Headphones not muting built-in speakers on a laptop

Ok I have discovered that my sound capture problems are due to alsa not capturing audio properly. Audacity captures audio properly while arecord doesn't. If I'm not mistaken audacity uses portaudio which connects directly with the driver thus bypassing alsa while arecord uses alsa.
Just reporting back on this, I'll start another thread on the appropriate section to get help on this.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB