Hello, I'd need your help to find a way to mute the internal speaker if my vaio laptop (VGN SZ) when using headphones.
First, some informations about oss: | ossinfo -a | | Audio devices | HD Audio play speaker /dev/oss/oss_hdaudio0/pcm0 (device index 0) | HD Audio play headphone /dev/oss/oss_hdaudio0/pcm1 (device index 1) | HD Audio play modem-out /dev/oss/oss_hdaudio0/pcm2 (device index 2) | HD Audio rec rec /dev/oss/oss_hdaudio0/pcmin0 (device index 3) | HD Audio rec modem-out /dev/oss/oss_hdaudio0/pcmin1 (device index 4) and, | ossmix | Selected mixer 0/High Definition Audio STAC9872AK | Known controls are: | speaker [<leftvol>:<rightvol>] (currently 86.1:86.1 dB) | jack.headphone.mode <pcm-out|input> (currently pcm-out) | jack.headphone.mute ON|OFF (currently OFF) | jack.red.mode <pcm-out|input> (currently pcm-out) | jack.red.mute ON|OFF (currently OFF) | record.rec.rec [<leftvol>:<rightvol>] (currently 19.4:19.4 dB) | record.rec.src <mic|int-mic|pcm> (currently int-mic) | record.rec.micboost [<leftvol>:<rightvol>] (currently 0.0:0.0 dB) | vmix0-enable ON|OFF (currently ON) | vmix0-rate <decimal value> (currently 48000) (Read-only) | vmix0-channels <Stereo|Multich> (currently Stereo) | vmix0-src <Fast|Low|Medium|High|High+|Production|OFF> (currently High+) | vmix0-outvol <monovol> (currently 11.5 dB) | vmix0-invol <monovol> (currently 17.5 dB) | vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("mpd") | vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) | vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) | vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) I'm not sure how we're suppose to switch between audio devices, but when the symlink /dev/dsp points to: -> /dev/oss/oss_hdaudio0/pcm0, I have sound coming from both the internal speakers and the headphone output, but I'm not able to either: * mute the headphone: with 'ossmix jack.headphone.mute OFF' (setting it to ON or OFF seems to have no effect) * mute (by lowering the volume to 0) the internal speakers only: with 'ossmix speaker 0', this affects both output (int speakers and heaphones) -> /dev/oss/oss_hdaudio0/pcm1, I have sound only coming from the headphone output, but the maximum volume seems very low. I understand 'hdaudio_jacksense=1' doesn't work for me, but is there a way to mute internal speakers manually while still being able to have a decent maximum volume on the headphone output? You'll find attached the output of ossinfo -v9, and ossmix -v2, but if you need anything else, just say so:) Thank you for your time. Samlt _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel