Bug 206121
Summary: | alc283 no external mic. combo jack | ||
---|---|---|---|
Product: | Drivers | Reporter: | andrx (borisko.andrey) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | borisko.andrey, tiwai |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.3.0-24 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
alsa-info without anything plugged into combo jack
alsa-info with headset plugged into combo jack PinConfigOverrideVerbs from windows10 GlobalSettings from windows10 Settings from Windows Fix patch |
Description
andrx
2020-01-08 04:59:12 UTC
Created attachment 286677 [details]
alsa-info without anything plugged into combo jack
Created attachment 286679 [details]
alsa-info with headset plugged into combo jack
Created attachment 287019 [details]
PinConfigOverrideVerbs from windows10
I installed win10 pro on that machine (it works fine there).
Grabbed PinConfigOverrideVerbs (attached) from regedit for the alc283.
Tried to decode it. Got this:
012 71C A0
012 71D 01
012 71E A6
012 71F 90
-> 0x90a601a0
014 71C 10
014 71D 01
014 71E 17
014 71F 90
-> 0x90170110
017 71C 08
017 71D 00
017 71E 02
017 71F 40
-> 0x40020008
018 71C F0
018 71D 11
018 71E 11
018 71F 41
-> 0x411111f0
019 71C F0
019 71D 11
019 71E 11
019 71F 41
-> 0x411111f0
01A 71C F0
01A 71D 11
01A 71E 11
01A 71F 41
-> 0x411111f0
01B 71C F0
01B 71D 11
01B 71E 11
01B 71F 41
-> 0x411111f0
01D 71C 01
01D 71D 00
01D 71E E0
01D 71F 40
-> 0x40e00001
01E 71C F0
01E 71D 11
01E 71E 11
01E 71F 41
-> 0x411111f0
021 71C 1F
021 71D 10
021 71E 21
021 71F 03
-> 0x0321101f
so this is basically default values for each pin that i see on hdajackretask.
I compared it with:
root@laptop:/home/andrx# cat /lib/firmware/hda-jack-retask.fw
[codec]
0x10ec0283 0x10250926 0
[pincfg]
0x12 0x90a601a0
0x14 0x90170110
0x17 0x40020008
0x18 0x411111f0
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40e00001
0x1e 0x411111f0
0x21 0x0321101f
and looks the same
Created attachment 287021 [details]
GlobalSettings from windows10
GlobalSettings from windows mention hp mode = true
Created attachment 287023 [details]
Settings from Windows
in windows Settings you can see the pins that are probably remapped on Windows side. It doesn't mention 0x14 probably because it just uses default settings but the other ones are here: Pin12, Pin19, Pin21.
"Pin12"=hex:01,00,00,00
"Pin19"=hex:30,00,00,00
"Pin21"=hex:32,00,00,00
I wish I knew what these HEXes mean
Finally, what helped me was to flip the cards order options snd-hda-intel model=auto,dell-headset-multi index=1,0 Could you check whether using "headset-mode" instead of "dell-headset-multi" works instead? The latter includes the former, but the question is whether the pin overrides in dell-headset-multi is still needed on yours or not. Once when you confirm, I can write up a patch to set up the quirk statically in the driver. Sure. I've just checked it. "headset-mode" doesn't work. OK, then the patch is below. With this patch applied, the driver should work without passing model option. You can keep the index option as is if you want to put the onboard audio as the primary device. Let me know if that works. Once after confirmation, I'll submit to the upstream and merge it. Created attachment 289701 [details]
Fix patch
Thank you. I'll let you know later this week Sorry, charger died for the laptop. Ordered a new one. will take some time. Will update you once i test it. (In reply to Takashi Iwai from comment #10) > Created attachment 289701 [details] > Fix patch Tested the patch today. Thank you. It worked |