I'm running FreeBSD on ASUS ROG GL553VE laptop. Here is relevant part of `pciconf -lv` output: hdac0@pci0:0:31:3: class=0x040380 rev=0x31 hdr=0x00 vendor=0x8086 device=0xa171 subvendor=0x1043 subdevice=0x15e0 vendor = 'Intel Corporation' device = 'CM238 HD Audio Controller' class = multimedia subclass = HDA Adding following spells to /boot/device.hints makes headset detection work for me: hint.hdaa.0.nid33.config="as=1 seq=15" Can it be hardcoded somewhere in sys/dev/sound/pci/hda/ so that no manual hinting is required?
Ping. I can provide a patch myself, but need a starting point.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5abe178970dd39cb9ca843a2b1bfe368aa3265a8 commit 5abe178970dd39cb9ca843a2b1bfe368aa3265a8 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2022-08-01 11:07:04 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2022-08-04 10:57:32 +0000 hda: Add a patch for ASUS ROG GL553VE. Summary: This change enables headset detection on the laptop. PR: 256169 Approved by: mav Differential Revision: https://reviews.freebsd.org/D36007 sys/dev/sound/pci/hda/hdaa_patches.c | 6 ++++++ sys/dev/sound/pci/hda/hdac.h | 1 + 2 files changed, 7 insertions(+)