
On Mon, Feb 18, 2013 at 08:58:28PM +0800, Raymond Yau wrote:
To confirm the behaviour: the "Headphone Jack Mode" control appears in 3.8.0-rc5+ but a corresponding control for the mic/line-in jack does not.
Ah, I see. This doesn't appear as default. You need to pass a hint string in the firmware patch file. See a brief description in Documentation/sound/alsa/HD-Audio.txt.
Right. I'll take a look at this documentation. I must say that it strikes me as a little odd that input jacks don't have a mode control by default. I would have expected that such controls would be desired by enough people to justify having them appear by default without each user having to mess around with firmware patch files and the like.
I assume the magic knob is add_in_jack_modes.
Is there any reason why alc260_fixup_fsc_s7020() couldn't set spec->gen.add_in_jack_modes to 1 in the HDA_FIXUP_ACT_PRE_PROBE phase much like it already sets add_out_jack_modes?
Is it possible to add spec->gen.add_in_jack_modes automatically when automic is disabled and there is no line in jack
That would work for me - it sounds like a good idea.
Regards jonathan