Re: Lenovo Legion 5 Intel speakers working ok!

2022-08-26 Thread Nuno Teixeira
Hi all!

patch ready and tested at PR 265632


Cheers,

Jung-uk Kim  escreveu no dia quinta, 25/08/2022 à(s)
21:24:

> On 22. 8. 25., Nuno Teixeira wrote:
> > Hi!
> >
> > `pciconf -l | grep ^hdac`:
> > ---
> > hdac1@pci0:0:31:3:  class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086
> > device=0x06c8 subvendor=0x17aa subdevice=0x380f
> > 
>
>
> > ^  
> > hdac0@pci0:1:0:1:   class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de
> > device=0x10fa subvendor=0x17aa subdevice=0x3ffb
> > ---
> >
> > I think hdac1 is what I'm looking for:
> > ---
> > hdac1@pci0:0:31:3:  class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086
> > device=0x06c8 subvendor=0x17aa subdevice=0x380f
> >  vendor = 'Intel Corporation'
> >  device = 'Comet Lake PCH cAVS'
> >  class  = multimedia
> >  subclass   = HDA
> > ---
> >
> > (LENOVO_VENDORID 0x17aa)
> >
> > maybe:
> > #define LENOVO_L5INTEL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x380f) ?
> >
> > 
>
> > 
>
> I guess. :-)
>
> JK
>
> > Jung-uk Kim mailto:j...@freebsd.org>> escreveu no
> dia
> > quinta, 25/08/2022 à(s) 20:15:
> >
> > On 22. 8. 25., Nuno Teixeira wrote:
> >  > ** Same config were imported from D30333
> >  >  > >for Legion 5 AMD, PR 265632
> >  >  > >for Intel
> > version
> >  >
> >  > Nuno Teixeira mailto:edua...@freebsd.org>
> > >>
> >  > escreveu no dia quinta, 25/08/2022 à(s) 19:59:
> >  >
> >  > Hello,
> >  >
> >  > I have Lenovo Legion 5 Intel speakers working ok with
> > device.hints:
> >  > ---
> >  > hint.hdaa.1.nid20.config="as=1 seq=0"
> >  > hint.hdaa.1.nid33.config="as=1 seq=15"
> >  > ---
> >  >
> >  > Same config were imported from D30333
> >  >  > >and PR 265632
> >  >  > > for
> >  > Legion 5 AMD:
> >  > (sys/dev/sound/pci/hda/hdac.h)
> >  > ---
> >  > #define LENOVO_L5AMD_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO,
> > 0x381b)
> >  > ---
> >  > How do I found id for Intel version so I can submit a patch?
> >
> > Try "pciconf -l | grep ^hdac".  You'll see subvendor and subdevice.
>


-- 
Nuno Teixeira
FreeBSD Committer (ports)


Re: Lenovo Legion 5 Intel speakers working ok!

2022-08-25 Thread Jung-uk Kim

On 22. 8. 25., Nuno Teixeira wrote:

Hi!

`pciconf -l | grep ^hdac`:
---
hdac1@pci0:0:31:3:      class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086 
device=0x06c8 subvendor=0x17aa subdevice=0x380f
   
^  
hdac0@pci0:1:0:1:       class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de 
device=0x10fa subvendor=0x17aa subdevice=0x3ffb

---

I think hdac1 is what I'm looking for:
---
hdac1@pci0:0:31:3:      class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086 
device=0x06c8 subvendor=0x17aa subdevice=0x380f

     vendor     = 'Intel Corporation'
     device     = 'Comet Lake PCH cAVS'
     class      = multimedia
     subclass   = HDA
---

(LENOVO_VENDORID         0x17aa)

maybe:
#define LENOVO_L5INTEL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x380f) ?





I guess. :-)

JK

Jung-uk Kim mailto:j...@freebsd.org>> escreveu no dia 
quinta, 25/08/2022 à(s) 20:15:


On 22. 8. 25., Nuno Teixeira wrote:
 > ** Same config were imported from D30333
 > >for Legion 5 AMD, PR 265632
 > >for Intel
version
 >
 > Nuno Teixeira mailto:edua...@freebsd.org>
>>
 > escreveu no dia quinta, 25/08/2022 à(s) 19:59:
 >
 >     Hello,
 >
 >     I have Lenovo Legion 5 Intel speakers working ok with
device.hints:
 >     ---
 >     hint.hdaa.1.nid20.config="as=1 seq=0"
 >     hint.hdaa.1.nid33.config="as=1 seq=15"
 >     ---
 >
 >     Same config were imported from D30333
 >     >and PR 265632
 >     > for
 >     Legion 5 AMD:
 >     (sys/dev/sound/pci/hda/hdac.h)
 >     ---
 >     #define LENOVO_L5AMD_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO,
0x381b)
 >     ---
 >     How do I found id for Intel version so I can submit a patch?

Try "pciconf -l | grep ^hdac".  You'll see subvendor and subdevice.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Lenovo Legion 5 Intel speakers working ok!

2022-08-25 Thread Nuno Teixeira
Hi!

`pciconf -l | grep ^hdac`:
---
hdac1@pci0:0:31:3:  class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086
device=0x06c8 subvendor=0x17aa subdevice=0x380f

^  
hdac0@pci0:1:0:1:   class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de
device=0x10fa subvendor=0x17aa subdevice=0x3ffb
---

I think hdac1 is what I'm looking for:
---
hdac1@pci0:0:31:3:  class=0x040380 rev=0x00 hdr=0x00 vendor=0x8086
device=0x06c8 subvendor=0x17aa subdevice=0x380f
vendor = 'Intel Corporation'
device = 'Comet Lake PCH cAVS'
class  = multimedia
subclass   = HDA
---

(LENOVO_VENDORID 0x17aa)

maybe:
#define LENOVO_L5INTEL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x380f) ?







Jung-uk Kim  escreveu no dia quinta, 25/08/2022 à(s)
20:15:

> On 22. 8. 25., Nuno Teixeira wrote:
> > ** Same config were imported from D30333
> > for Legion 5 AMD, PR 265632
> > for Intel
> version
> >
> > Nuno Teixeira mailto:edua...@freebsd.org>>
> > escreveu no dia quinta, 25/08/2022 à(s) 19:59:
> >
> > Hello,
> >
> > I have Lenovo Legion 5 Intel speakers working ok with device.hints:
> > ---
> > hint.hdaa.1.nid20.config="as=1 seq=0"
> > hint.hdaa.1.nid33.config="as=1 seq=15"
> > ---
> >
> > Same config were imported from D30333
> > and PR 265632
> >  for
> > Legion 5 AMD:
> > (sys/dev/sound/pci/hda/hdac.h)
> > ---
> > #define LENOVO_L5AMD_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x381b)
> > ---
> > How do I found id for Intel version so I can submit a patch?
>
> Try "pciconf -l | grep ^hdac".  You'll see subvendor and subdevice.
>
> JK
>


-- 
Nuno Teixeira
FreeBSD Committer (ports)


Re: Lenovo Legion 5 Intel speakers working ok!

2022-08-25 Thread Nuno Teixeira
** Same config were imported from D30333
 for Legion 5 AMD, PR 265632
for Intel version

Nuno Teixeira  escreveu no dia quinta, 25/08/2022 à(s)
19:59:

> Hello,
>
> I have Lenovo Legion 5 Intel speakers working ok with device.hints:
> ---
> hint.hdaa.1.nid20.config="as=1 seq=0"
> hint.hdaa.1.nid33.config="as=1 seq=15"
> ---
>
> Same config were imported from D30333 
> and PR 265632 
> for Legion 5 AMD:
> (sys/dev/sound/pci/hda/hdac.h)
> ---
> #define LENOVO_L5AMD_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x381b)
> ---
> How do I found id for Intel version so I can submit a patch?
>
> Thanks,
> --
> Nuno Teixeira
> FreeBSD Committer (ports)
>


-- 
Nuno Teixeira
FreeBSD Committer (ports)