Okay, I added those lines to a clone of tiwai's repo. Output of alsa-info.sh :
https://gist.github.com/Yomi0/f4059fe45d960f141b33#file-rpatch
Try hdajacksensetest -a when you plugged and unplugged HP and mic
Did headphone playback volume change to minimum when you plug and unplug ?
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/log/sound/pci/h...
Seem no specifc hack used by other toshiba
Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 87 Mono: Front Left: Playback 0 [0%] [-65.25dB] [off] Front Right: Playback 0 [0%] [-65.25dB] [off]
control.14 { iface CARD name 'Mic Jack' value true comment { access read type BOOLEAN count 1 } }
control.16 { iface CARD name 'Headphone Jack' value false comment { access read type BOOLEAN count 1 } }