2013/12/1 Raymond Yau superquad.vortex2@gmail.com:
All tests below were done with the original patch, as the suggested modification breaks 8ch mode here.
In 8ch mode, do the "Line jack" return true when you plugged "Side Speaker" ?
Yes, the state reflects whether something is plugged into the blue jack.
pactl list
should "line in" list as not available when channel mode changed to "8 ch" ?
Unfortunately, it is "available" if there is something plugged in and "mot available" if there is nothing plugged in.
Should changes in "channel mode" , "Headphone Mic jack mode" or "Mic Jack Mode" trigger an event so that pulseaudio server probe the sound card again ?
Changes in "channel mode" do not trigger anything that pulseaudio -vvv considers loggable. Changes from 8ch to 6ch do not cause the 7.1 profiles to disappear.
The device has no controls that contain "mic jack mode" as a substring and are controllable via alsamixer.