Bug 218216

Summary: Builtin microphone doesn't work on ASUS Vivobook S 16x IPS M5602RA
Product: Drivers Reporter: Vyacheslav (itmymaill)
Component: Input DevicesAssignee: Jaroslav Kysela (perex)
Status: RESOLVED CODE_FIX    
Severity: normal CC: itmymaill
Priority: P3    
Hardware: AMD   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=216270
Kernel Version: 6.10 Subsystem:
Regression: No Bisected commit-id:
Attachments: Patch

Description Vyacheslav 2023-12-03 18:16:35 UTC
Hi all. Same problem as in this topic:

https://bugzilla.kernel.org/show_bug.cgi?id=216270

Is it possible to add my manufacturer and product?:

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.4.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ASUSTeK COMPUTER INC.
        Product Name: M5602RA

I checked it on my laptop, adding the vendor and product into acp6x-mach.c fixes an issue.

arecord -l without fix:

**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 2: ALC294 Alt Analog [ALC294 Alt Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1


arecord -l with fix:

**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 2: ALC294 Alt Analog [ALC294 Alt Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 2: acp6x [acp6x], device 0: DMIC capture dmic-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Thank you in advance.
Comment 1 Vyacheslav 2023-12-03 18:19:05 UTC
Created attachment 305533 [details]
Patch

My patch with changes:
Comment 2 Vyacheslav 2024-07-10 13:28:11 UTC
Resolved.

For details see - https://lore.kernel.org/lkml/20240626055131.44014-1-itmymaill@gmail.com/#t