Skip to content

Commit a834eec

Browse files
committed
ALSA: hda - Improv 3.5mm hotplug on ROG strix B550
When plugging of unplugging an audio jack on this motherbaord, sometimes the audio jacks would stop appearing to pipewire/pulseaudio. Interestingly `cat`-ing out the file `/proc/asound/<card number>/codec#0`, and or restarting pipewire fixes the issue temporarily. This PR improves the current functionality by making hotplug with one 3.5mm jack work, it still breaks if hotplug is between multiple jacks though.
1 parent cb5f582 commit a834eec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sound/pci/hda/hda_intel.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ enum {
310310
AZX_DCAPS_SNOOP_TYPE(ATI) | AZX_DCAPS_PM_RUNTIME |\
311311
AZX_DCAPS_RETRY_PROBE)
312312

313+
/* quirks for AMD X570 & ROG Strix B550 & co */
314+
#define AZX_DCAPS_PRESET_AMD_SB_ALT \
315+
(AZX_DCAPS_NO_TCSEL | AZX_DCAPS_AMD_WORKAROUND |\
316+
AZX_DCAPS_SNOOP_TYPE(ATI) | AZX_DCAPS_RETRY_PROBE)
317+
313318
/* quirks for Nvidia */
314319
#define AZX_DCAPS_PRESET_NVIDIA \
315320
(AZX_DCAPS_NO_MSI | AZX_DCAPS_CORBRP_SELF_CLEAR |\
@@ -2604,7 +2609,7 @@ static const struct pci_device_id azx_ids[] = {
26042609
.driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_AMD_SB },
26052610
/* AMD, X570 & co */
26062611
{ PCI_DEVICE(0x1022, 0x1487),
2607-
.driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_AMD_SB },
2612+
.driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_AMD_SB_ALT },
26082613
/* AMD Stoney */
26092614
{ PCI_DEVICE(0x1022, 0x157a),
26102615
.driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_ATI_SB |

0 commit comments

Comments
 (0)