Bug 218402

Summary: Internal Mic non-functional on MSI Bravo 15 C7VF, not in quirk list.
Product: Drivers Reporter: techno.mooney
Component: Sound(ALSA)Assignee: drivers_staging (drivers_staging)
Status: NEW ---    
Severity: normal CC: bagasdotme
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: the patch i used to patch the manjaro kernel
the patch i made to the manjaro kernel

Description techno.mooney 2024-01-20 19:48:38 UTC
Created attachment 305734 [details]
the patch i used to patch the manjaro kernel

First time reporting a bug on Bugzilla. I have looked at the most recent version of the source on GitHub and it does not include the fix i need (https://github.com/torvalds/linux/blob/master/sound/soc/amd/yc/acp6x-mach.c)

i am running kernel version 6.6.12-1-MANJARO

there are no steps to reproduce. the mic just does not show up even though there is a module loaded for the ACP6X device. 

I have patched the kernel and it does work. 

expected result of `arecord -l`                                                                          
**** List of CAPTURE Hardware Devices ****
card 2: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 3: acp6x [acp6x], device 0: DMIC capture dmic-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0

**** List of CAPTURE Hardware Devices ****
card 2: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 3: acp6x [acp6x], device 0: DMIC capture dmic-hifi-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Comment 1 techno.mooney 2024-01-20 19:50:39 UTC
Created attachment 305735 [details]
the patch i made to the manjaro kernel
Comment 2 Bagas Sanjaya 2024-01-25 02:32:46 UTC
(In reply to techno.mooney from comment #0)
> Created attachment 305734 [details]
> the patch i used to patch the manjaro kernel
> 
> First time reporting a bug on Bugzilla. I have looked at the most recent
> version of the source on GitHub and it does not include the fix i need
> (https://github.com/torvalds/linux/blob/master/sound/soc/amd/yc/acp6x-mach.c)
> 
> i am running kernel version 6.6.12-1-MANJARO
> 
> there are no steps to reproduce. the mic just does not show up even though
> there is a module loaded for the ACP6X device. 
> 
> I have patched the kernel and it does work. 
> 

Can you submit the patch to LKML (see Documentation/process/submitting-patches.rst for instructions)?
Comment 3 techno.mooney 2024-01-27 20:47:58 UTC
(In reply to Bagas Sanjaya from comment #2)
> (In reply to techno.mooney from comment #0)
> > Created attachment 305734 [details]
> > the patch i used to patch the manjaro kernel
> > 
> > First time reporting a bug on Bugzilla. I have looked at the most recent
> > version of the source on GitHub and it does not include the fix i need
> >
> (https://github.com/torvalds/linux/blob/master/sound/soc/amd/yc/acp6x-mach.c)
> > 
> > i am running kernel version 6.6.12-1-MANJARO
> > 
> > there are no steps to reproduce. the mic just does not show up even though
> > there is a module loaded for the ACP6X device. 
> > 
> > I have patched the kernel and it does work. 
> > 
> 
> Can you submit the patch to LKML (see
> Documentation/process/submitting-patches.rst for instructions)?

I dont think gmail works with the mailing list, hence why i made a bugzilla report. I'm not really a kernel developer so I am hesitent to go through all the hubub to get something setup just for this patch.
Comment 4 Bagas Sanjaya 2024-01-29 08:16:24 UTC
(In reply to techno.mooney from comment #3)
> (In reply to Bagas Sanjaya from comment #2)
> > (In reply to techno.mooney from comment #0)
> > > Created attachment 305734 [details]
> > > the patch i used to patch the manjaro kernel
> > > 
> > > First time reporting a bug on Bugzilla. I have looked at the most recent
> > > version of the source on GitHub and it does not include the fix i need
> > >
> >
> (https://github.com/torvalds/linux/blob/master/sound/soc/amd/yc/acp6x-mach.c)
> > > 
> > > i am running kernel version 6.6.12-1-MANJARO
> > > 
> > > there are no steps to reproduce. the mic just does not show up even
> though
> > > there is a module loaded for the ACP6X device. 
> > > 
> > > I have patched the kernel and it does work. 
> > > 
> > 
> > Can you submit the patch to LKML (see
> > Documentation/process/submitting-patches.rst for instructions)?
> 
> I dont think gmail works with the mailing list, hence why i made a bugzilla
> report. I'm not really a kernel developer so I am hesitent to go through all
> the hubub to get something setup just for this patch.

Patch forwarded to LKML at [1].

[1]: https://lore.kernel.org/lkml/20240129081148.1044891-1-bagasdotme@gmail.com/