Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > The Dungeon > Archived (Click Header To See Sub-Forums) > Fedora 13 Development Branch
FedoraForum Search

Forgot Password? Join Us!

Fedora 13 Development Branch Discussions on the Development Branch that will lead to Fedora 13 (This Forum will eventually be Archived).

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th May 2010, 03:51 AM
bbecker Offline
Registered User
 
Join Date: Nov 2009
Location: Ohio
Posts: 42
solarisfirefox
ALSA not muting speakers when headphones plugged in

This is new issue (for me) under F13 Beta. I've been running Fedora since Core 6 and never encountered anything quite like it.

Anyway, sound works perfectly, normally (didn't even have to hamstring pulseaudio), but upon plugging in the headphones, the speakers continue to play unabashed. A bit of googling as proved rather unhelpful (the alsa and pulseaudio documentations are a bit weak). I suspect the issue stems from a a driver issue, though I've yet to find it.

For the record, I'm running an Asus eeePC 1000he on Fedora 13 Beta, installed from a KDE live cd.

Any thoughts?
  #2  
Old 13th May 2010, 11:51 PM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,768
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

https://fedoraproject.org/wiki/How_t...sound_problems
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
  #3  
Old 14th May 2010, 12:09 AM
BugRocks1's Avatar
BugRocks1 Offline
Registered User
 
Join Date: Jan 2010
Posts: 897
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

All I got on the subject:

Code:
Headphones do not mute speakers.
∘ Update your sound card drivers(a.k.a. install the newest kernel)
∘ Is your sound card driver using the right model? 
‣ Add manually your sound card model to sound.conf in /etc/modprobe.d

# FIX ME there must be a better way to identify and correct wrong model identification in the driver modules.
# FIX ME how to find the alsa driver version?
‣ Getting the audio module in use:

lspci -v | grep -iA10 audio | grep modules

‣ Getting the driver's codec name:

cat /proc/asound/Intel/codec#0 | grep -i codec

• 1 - The path used in cat depends on your sound card, one can look inside /proc/asound to find out the exact path.

‣ Find the model list on http://git.alsa-project.org/ -> alsa-kmirror.git(tree) -> Documentation(tree) -> HD-Audio-Models.txt and check what model your hardware is compatible with.

‣ Create the file:

su -
echo 'options [sound driver here] model=[model here]' > /etc/modprobe.d/sound.conf

ex:
echo 'options snd-hda-intel model=7stack' > /etc/modprobe.d/sound.conf

‣ Reload the modules or reboot.
You may also try downloading pavucontrol and mutting those speakers if possible.
  #4  
Old 17th May 2010, 01:39 AM
bbecker Offline
Registered User
 
Join Date: Nov 2009
Location: Ohio
Posts: 42
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

Checking out /etc/modprobe.d/ has revealed that I do not have sound.conf

Code:
ls /etc/modprobe.d/
blacklist.conf            dist-alsa.conf  dist-oss.conf    
blacklist-rt2800pci.conf  dist.conf       openfwwf.conf
Is there a nasty format to follow or a script to generate a basic .conf to work from? Or perhaps someone could post a copy of theirs to give me a template to follow. Please and thank you.
  #5  
Old 17th May 2010, 02:22 AM
BugRocks1's Avatar
BugRocks1 Offline
Registered User
 
Join Date: Jan 2010
Posts: 897
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

No there is no nasty format or script because the sound.conf it is not suppose to exist, you will create it and put one single line inside.

That is what the "echo" command is doing, it is sending the text to the file.

e.g.:
echo 'options snd-hda-intel model=7stack' > /etc/modprobe.d/sound.conf

The echo command put the text "options snd-hda-intel model=7stack" inside a newly created file named "sound.conf"

If I was to append a existing file I would use ">>" and not ">".

---------- Post added at 05:22 PM CDT ---------- Previous post was at 05:18 PM CDT ----------

Here test this:

echo "Hello!" > /home/[user]/Desktop/hello.txt

Open the file it creates on your desktop and see if there isn't the word "Hello!" in it.

Now type:

echo "This is a new, the old file is gone" > /home/[user]/Desktop/hello.txt

That will overwrite the hello.txt file and put the thes "This is a new, the old file is gone" inside.

Now appending that file without overwriting it:

echo "One more line" >> /home/[user]/Desktop/hello.txt
  #6  
Old 17th May 2010, 03:44 AM
bbecker Offline
Registered User
 
Join Date: Nov 2009
Location: Ohio
Posts: 42
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

I'm familiar with the echo command as well as IO redirection. I skimmed your command took it for granted that it was double brace, appending to the file. My mistake. As for the correct model, it appears that the correct drivers are being loaded. I ran an alsa-info.sh and everything looked fine on that end. I now suspect the issue is cropping elsewhere. Any further help will be greatly appreciated.

http://www.alsa-project.org/db/?f=1b...7b106b1e8d5626
The above link should take you to a copy of that alsa-info report. I currently have pulseaudio disabled (in the past it has always broken audio on this computer).

lspci
Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
01:00.0 Network controller: RaLink RT2860
03:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
The sound card is an integrated HDA Intel with the Ralink ALC269 chipset.

I'd be happy to provided any other relevant info.

Last edited by bbecker; 17th May 2010 at 03:53 AM.
  #7  
Old 17th May 2010, 11:55 PM
BugRocks1's Avatar
BugRocks1 Offline
Registered User
 
Join Date: Jan 2010
Posts: 897
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

Have you tried muting the speakers?

Code:
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [1.00dB] [on]
  Front Right: Playback 64 [100%] [1.00dB] [on]


---------- Post added at 02:42 PM CDT ---------- Previous post was at 02:17 PM CDT ----------

Any of these will do:

amixer -c 0 sset Speaker mute
amixer -c 0 sset Speaker toggle

To turn it back:

amixer -c 0 sset Speaker unmute

---------- Post added at 02:55 PM CDT ---------- Previous post was at 02:42 PM CDT ----------

ps: Your audio driver should be doing this automatically for you, but since it is not you can try disabling manually or see if is a problem with the table maps that are caused by a wrong detection of your model which will need you to hunt down the right one for you.

Some people reported that the model thing worked for them.
http://bbs.archlinux.org/viewtopic.php?id=90060
  #8  
Old 18th May 2010, 07:39 AM
bbecker Offline
Registered User
 
Join Date: Nov 2009
Location: Ohio
Posts: 42
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

FIXED! A great thing, too. I love linux and would never turn away from it, but I'd stopped using my laptop in public space because of its tendencies to "project" anything I may be listening to. Iron Maiden is frowned upon at the library. modprobe.conf was the ticket. "options snd-hda-intel model=auto" to be specific. Hopefully others can learn from my mistakes.

Thanks to everyone for the help.
  #9  
Old 18th May 2010, 11:51 AM
AdamW's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,768
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

Can you file a bug on this as outlined in the link I gave earlier? The model assignment should always work without the need for manually passing a model= parameter.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
  #10  
Old 18th May 2010, 07:24 PM
bbecker Offline
Registered User
 
Join Date: Nov 2009
Location: Ohio
Posts: 42
linuxfedorafirefox
Re: ALSA not muting speakers when headphones plugged in

Of course, I don't normally like filing bug reports until I've exhausted they ways in which I problem could exist only on my end. That being said, this clearly wasn't. Report should be up within the day.
 

Tags
alsa, headphones, muting, plugged, speakers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Headphones do not mute speakers eliwap Hardware & Laptops 3 30th April 2010 09:25 PM
Headphones not overriding speakers shortcut144 Using Fedora 20 3rd August 2009 03:33 PM
Headphones but no speakers SomeDamFool Hardware & Laptops 16 3rd March 2009 01:50 AM
muting and volume control on alsa channels under pulseaudio marcusB Using Fedora 2 19th December 2008 12:30 AM
audio from speakers and headphones Jaylor Hardware & Laptops 0 16th June 2008 12:55 AM


Current GMT-time: 12:12 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat