Date: Thu, 25 Aug 2022 20:35:16 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: Jung-uk Kim <jkim@freebsd.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: Lenovo Legion 5 Intel speakers working ok! Message-ID: <CAFDf7U%2BDdFu14TupbSB5xu1JN=NhEJqF5M_h%2ByU2VKfkyzfxAQ@mail.gmail.com> In-Reply-To: <94e271b7-3019-a377-bb8b-e681c78b0d82@FreeBSD.org> References: <CAFDf7U%2BbEh6X8r3JPS=5dRbSZ8CJgF74kCM4uGEKVo6QZ9Ex2Q@mail.gmail.com> <CAFDf7UKSaMHMZCtsydS4no6YREYXa76Z4G3ZSZtxDLGga7iOng@mail.gmail.com> <94e271b7-3019-a377-bb8b-e681c78b0d82@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000629c7105e715e606 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi! `pciconf -l | grep ^hdac`: --- hdac1@pci0:0:31:3: class=3D0x040380 rev=3D0x00 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x06c8 subvendor=3D0x17aa subdevice=3D0x380f ^^^^ ^^^^^ ^^^^ hdac0@pci0:1:0:1: class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor=3D0x1= 0de device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb --- I think hdac1 is what I'm looking for: --- hdac1@pci0:0:31:3: class=3D0x040380 rev=3D0x00 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x06c8 subvendor=3D0x17aa subdevice=3D0x380f vendor =3D 'Intel Corporation' device =3D 'Comet Lake PCH cAVS' class =3D multimedia subclass =3D HDA --- (LENOVO_VENDORID 0x17aa) maybe: #define LENOVO_L5INTEL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x380f) ? ^^^^ ^^^^ Jung-uk Kim <jkim@freebsd.org> escreveu no dia quinta, 25/08/2022 =C3=A0(s) 20:15: > On 22. 8. 25., Nuno Teixeira wrote: > > ** Same config were imported from D30333 > > <https://reviews.freebsd.org/D30333>for Legion 5 AMD, PR 265632 > > <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265632>for Intel > version > > > > Nuno Teixeira <eduardo@freebsd.org <mailto:eduardo@freebsd.org>> > > escreveu no dia quinta, 25/08/2022 =C3=A0(s) 19:59: > > > > Hello, > > > > I have Lenovo Legion 5 Intel speakers working ok with device.hints: > > --- > > hint.hdaa.1.nid20.config=3D"as=3D1 seq=3D0" > > hint.hdaa.1.nid33.config=3D"as=3D1 seq=3D15" > > --- > > > > Same config were imported from D30333 > > <https://reviews.freebsd.org/D30333>and PR 265632 > > <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265632> 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 > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000629c7105e715e606 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdj5IaSE8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PmBwY2ljb25m IC1sIHwgZ3JlcCBeaGRhY2A6PC9kaXY+PGRpdj4tLS08L2Rpdj48ZGl2PmhkYWMxQHBjaTA6MDoz MTozOiDCoCDCoCDCoGNsYXNzPTB4MDQwMzgwIHJldj0weDAwIGhkcj0weDAwIHZlbmRvcj0weDgw ODYgZGV2aWNlPTB4MDZjOCBzdWJ2ZW5kb3I9MHgxN2FhIHN1YmRldmljZT0weDM4MGY8L2Rpdj48 ZGl2Pl5eXl7CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqD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