
On 30/04/2015 07:51, Takashi Iwai wrote:
At Thu, 30 Apr 2015 01:40:30 +0200, Gabriele Martino wrote:
hdajacksensetest -c 1 -a Pin 0x0b (Internal Speaker): present = Yes Pin 0x0c (Not connected): present = No Pin 0x0d (Not connected): present = No Pin 0x0e (Not connected): present = No Pin 0x0f (Not connected): present = Yes Pin 0x10 (Not connected): present = No Pin 0x11 (Black Line In, Left side): present = No Pin 0x12 (Internal Mic, Mobile-In): present = No Pin 0x13 (Not connected): present = No Pin 0x18 (Not connected): present = No
Pin 0x0f is still reported as not connected, but correctly detects the jack if plugged. If I turn off and on the "HP/Speaker Auto Detect" in alsamixer while "HP/Speaker" is off, the correct output is detected. If "HP/Speaker" is on, the behaviour is inconsistent.
Is there a configuration file? Where can I find the metadata "Black Line In, Left side"? I don't know if it is related, but pavucontrol detects only the "speakers" port. On my previous laptop (with Creative Recon 3Di, another ca0132 card) I could choose between "speakers and "headphones".
It implies that the whole pin config BIOS provides is buggy. The jack color, location, etc, all are parsed from 32bit pin configuration value for each pin.
You need to correct the pin config and sets it statically in the driver. hdajackretask can give you the map and reload it dynamically.
Finally got it. I'm not sure about overriding the BIOS configuration: there is a new version which fixes all the unconnected pins. There is only a small issue: the internal speakers are now marked as "Line out", which seems to mess up the "Ports" section in Pulseaudio.
Regards, Gabriele