Thread: Output Audio From Both the Laptop Speakers & the Headset Jack (green) Simultaneously
hi everyone.
(i have dell inspiron 9400, duo core, onboard sigmatel stac9200 codec, (after running "cat /proc/asound/card0/codec#* | grep codec" without quotes in terminal) , seems in ubuntu card uses alsa driver although applications notice use pulseaudio. have no problem audio, works charm. but:
find way allow same sound output laptop both laptop speakers , headphone jack simultaneously.
normally, plug in headphone jack (green jack) laptop, sound speakers disabled. there should software switch (some kind of script) can allow me turn feature on or off assigning keyboard shortcut it.
people having sound come out of speakers , headset @ same time bug, , right, if can"t control when happens. me likethis bliss, increase sound volume , sound quality, laptop speakers have subwoofer, mini usb-powered speakers attach headphone jack bass-less). in effect have 2 front laptop speakers , laptop subwoofer, , 2 usb-powered speakers attached green jack, outputting same sound simultaneously.
found pretty handy script saved .sh file turn off or on screen , assigned keyboard shortcut it. there way can similar switch between having audio go out both laptop speakers , headphone jack simultaneously , switch behave default: inserting jack disables laptop speakers?
appreciated!!
[added info]
ok after more looking around, there seems solution involves disabling or enabling jack sensor on laptop's headphone jack.
ideally script perfect.
this customizability of linux -- without need programs utilities -- makes fall in love linux, need learn lot until can yourself. fantastic if linux included learner's manual installation, users can learn basic commands, , scripting., , master terminal, os components , inner working functions , features, achieve maximum tweakability.
ok it's funny reply own post, might others too. have not solved yet, think i'm getting somewhere after reading information following threads, , user casualobserver:
http://ubuntuforums.org/showthread.php?t=593132
http://ubuntuforums.org/showthread.php?t=1687823
http://ubuntuforums.org/showthread.php?t=1316880
https://help.ubuntu.com/community/hdaintelsoundhowto
http://ubuntuforums.org/showthread.p...+karmic+detect
basic idea here manipulate headset sensor jack turning on or off. managed described below, got stuck because not have option in alsa mixer when open terminal, can't turn headset sensor on or off.
1. find name of sound card chipset typing in terminal:
it should give codec: sigmatel stac9200 (that's mine is)html code:cat /proc/asound/card0/codec#* | grep codec
2. using name of soundcard chipset found before, find chipset based on computer model/motherboard here:
http://www.kernel.org/doc/documentat...dio-models.txt
list of possible models this:
the line saying "dell-m27" model. can use "auto" (or maybe "default") if appears @ bottom.html code:stac9200 ======== ref reference board oqo oqo model 2 dell-d21 dell (unknown) dell-d22 dell (unknown) dell-d23 dell (unknown) dell-m21 dell inspiron 630m, dell inspiron 640m dell-m22 dell latitude d620, dell latitude d820 dell-m23 dell xps m1710, dell precision m90 dell-m24 dell latitude 120l dell-m25 dell inspiron e1505n dell-m26 dell inspiron 1501 dell-m27 dell inspiron e1705/9400 gateway-m4 gateway laptops eapd control gateway-m4-2 gateway laptops eapd control panasonic panasonic cf-74 auto bios setup (default)
3. next need edit alsa config file:
and add line bottom of file replacing xxxxxx model above (mine "dell-m27")html code:sudo nano /etc/modprobe.d/alsa-base.conf
i.e. "options snd-hda-intel model=dell-m27":
(exit nano typing "<ctrl>+x")html code:options snd-hda-intel model=xxxxxx
(and nano ask save before exit, or press "<ctrl>+o" save first , exit "<ctrl>+x")
can using gedit sudo command.
4. need reload alsa driver:
5. , can test if audio working properly:html code:sudo alsa force-reload
6. can turn on or off features of sound card/chipset in mixer.html code:speaker-test -dplug:surround51 -c6 -twav
sometimes features muted default. in particular, need "unmute" headset jack sensor, , laptop speakers should play @ same time headset, outputting same sound. however, if unlucky me, feature "headset jack sensor" not present. i'm stuck again. way of can play around these features, should able "mute" or "unmute" devices pressing "m" on keyboard. rest quite intuitive.html code:alsamixer
me, doesn't have feature/option appearing in mixer, maybe need go list , add different model or "auto" in bottom line of alsa configuration file added using nano editor (?). i'll try , post again. maybe alsa older version (?) alsa version 1.22. i'm not sure. , i'll try downloading available alsa in case, , restarted alsa afterwards:
but made no difference.html code:sudo aptitude install build-essential libncurses-dev gettext xmlto xmltoman linux-headers-`uname -r`
tried after finding suggestions in other threads:
but of course returns there no such control:html code:amixer -c 0 sset 'headphone jack sense' unmute
amixer: unable find simple control 'headphone jack sense',0
below firslty screen shot of alsa mixer, can see have no option mute/unmute/disable headset sensor jack , there screen shot andrew wileur post shows alsa mixer these controls. i have option in windows. supported sound card. can't understand why stubborn in linux.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] Output Audio From Both the Laptop Speakers & the Headset Jack (green) Simultaneously
Ubuntu
Comments
Post a Comment