Comment 25 for bug 1236965

Revision history for this message
Raymond (superquad-vortex2) wrote :

to achieve

Plug the front speaker cables into the Headphone-Out Jack.

assign HP pin as first pin in multi_outs and get 0x2 as dac which share with speaker 0x14

assign two mio pins and share dac 0x03 and 0x04 with speaker 0x15 and 0x16

assign line out pin for side channel

either

http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=f811c3cf8fae63ecc8a937ba7376490e2565f8f1

- spec->gen.add_out_jack_modes = 1;
+ spec->gen.add_jack_modes = 1;

create the headphone Jack mode to switch HP pin as HP or line out

or

use a switch to change HP to use 0x25 for headphone playback volume and use 0x02 front volume for extvernal speaker

multi_outs = 1b/0/0/17 : 2/3/4/5
   out_path: depth=3 :02:0c:1b
   out path: depth=3 :05:0f:17
 multi_ios(2) = 1a/18 : 2/3
   mio path: depth=3 :03:0d:1a
   mio path: depth=3 :04:0e:18

 hp_outs = 1b/0/0/0 : 25/0/0/0
   hp path: depth=3 :25:26:1b

spk_outs = 14/16/15/0 : 2/4/3/0
   spk path: depth=3 :02:0c:14
   spk path: depth=3 :04:0e:16
   spk path: depth=3 :03:0d:15