Description of problem: sound is not autoswitching between speaker and headphone Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. play a sound 2. insert Microphone 3. Actual results: Speaker and microphone both play sound Expected results: speaker should be muted and sound should played only by microphone Additional info: This is a continuation of bug 786342. I installed a fresh F18 and still have the problem. here is my alsa-info: http://www.alsa-project.org/db/?f=90e5bda69220981984df5d76b1da2070000f04b3
sorry, headphone not microphone. I don't know why I typed microphone.
but headphone Jack is kcontrol is still false (i.e. unplugged) try hda-jack-sense-test control.21 { iface CARD name 'Headphone Jack' value false comment { access read type BOOLEAN count 1 } }
Created attachment 700847 [details] This script wakes up my speaker output during a login session The attached script wakes up my external speaker connection during a login session; I have to run it twice and then my speakers/headphones work fine, until I log out.
(In reply to comment #3) > Created attachment 700847 [details] > This script wakes up my speaker output during a login session > > The attached script wakes up my external speaker connection during a login > session; I have to run it twice and then my speakers/headphones work fine, > until I log out. Here is some output from my iMac running Fedora 18 related to sound: grep "Codec:" /proc/asound/card*/codec* /proc/asound/card0/codec#0:Codec: Cirrus Logic CS4206 /proc/asound/card1/codec#0:Codec: ATI R6xx HDMI [hughc@willow bin]$ sudo dmidecode -s system-product-name iMac12,1
set(0x01, 0x715, 0x04) # 0x01071504 (SET_GPIO_DATA) set(0x01, 0x716, 0x0c) # 0x0107160c (SET_GPIO_MASK) set(0x01, 0x717, 0x0c) # 0x0107170c (SET_GPIO_DIRECTION) alternative is to use hda-verb http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hda-verb/README;hb=HEAD do you mean GPIO have to set after suspend or resume ?
(In reply to comment #2) > but headphone Jack is kcontrol is still false (i.e. unplugged) > > try hda-jack-sense-test > Where can I find this file to run it? I searched but could not find it.
to comment #3) > Created attachment 700847 [details] > This script wakes up my speaker output during a login session > > The attached script wakes up my external speaker connection during a login > session; I have to run it twice and then my speakers/headphones work fine, > until I log out. I ran this on my laptop. Sony F series (full spec is on alsa-info URL in first post). It has no affect. Sound still played by both headphone and speakers. The second time I ran it. the volume of headphone dropped significantly.
Oops, sorry, looking closer at this bug I see that it is not actually very close to my problem. I will take my script elsewhere ;)
>>try hda-jack-sense-test >Where can I find this file to run it? I searched but could not find it. http://mailman.alsa-project.org/pipermail/alsa-devel/2011-May/039809.html
I am closing the bug as I have already sold the laptop, and can not follow the bug.