Hello,
I am on an iMac ("*imac-20" model/pinconfig) with a Intel HD card with the SigmaTel STAC9221 codec. I have attached the inital codec info after modprobe. When I plug in and then unplug my speakers the microphone stops working. Reproduction steps with codec dump diffs as follows
1) Initial codec info - attached - Microphone working
2) Plug in speakers - Microphone working
Node 0x0c [Pin Complex] wcaps 0x400181: Stereo Pincap 0x081737: IN OUT Detect Pin Default 0x9017e110: [Fixed] Speaker at Int N/A Conn = Analog, Color = White - Pin-ctls: 0x00: + Pin-ctls: 0x40: OUT Connection: 1 0x03
3) Unplug speakers - Microphone not working
Node 0x0b [Pin Complex] wcaps 0x400181: Stereo Pincap 0x081737: IN OUT Detect Pin Default 0x90a7012e: [Fixed] Mic at Int N/A Conn = Analog, Color = Unknown - Pin-ctls: 0x44: OUT + Pin-ctls: 0x04: Connection: 1 0x04 Node 0x0c [Pin Complex] wcaps 0x400181: Stereo Pincap 0x081737: IN OUT Detect Pin Default 0x9017e110: [Fixed] Speaker at Int N/A Conn = Analog, Color = White - Pin-ctls: 0x40: OUT + Pin-ctls: 0x00: Connection: 1 0x03 Node 0x0f [Pin Complex] wcaps 0x400181: Stereo Pincap 0x0837: IN OUT Detect Pin Default 0x0181e020: [Jack] Line In at Ext Rear Conn = 1/8, Color = White - Pin-ctls: 0x40: OUT + Pin-ctls: 0x00: Connection: 1 0x05
4) Plug in speakers again - Microphone not working
Node 0x0b [Pin Complex] wcaps 0x400181: Stereo Pincap 0x081737: IN OUT Detect Pin Default 0x90a7012e: [Fixed] Mic at Int N/A Conn = Analog, Color = Unknown - Pin-ctls: 0x04: + Pin-ctls: 0x44: OUT Connection: 1 0x04 Node 0x0c [Pin Complex] wcaps 0x400181: Stereo Pincap 0x081737: IN OUT Detect Pin Default 0x9017e110: [Fixed] Speaker at Int N/A Conn = Analog, Color = White - Pin-ctls: 0x00: + Pin-ctls: 0x40: OUT Connection: 1 0x03 Node 0x0f [Pin Complex] wcaps 0x400181: Stereo Pincap 0x0837: IN OUT Detect Pin Default 0x0181e020: [Jack] Line In at Ext Rear Conn = 1/8, Color = White - Pin-ctls: 0x00: + Pin-ctls: 0x40: OUT Connection: 1 0x05