From nobody Thu Aug 25 19:35:16 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MDCqP5w6Lz4ZKnf for ; Thu, 25 Aug 2022 19:35:29 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MDCqP59HZz3dyl; Thu, 25 Aug 2022 19:35:29 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661456129; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5zbPNgzEDCplDgjldGZ3CQNW0xE5gFePHlQuWeOyJMc=; b=nOTGxlBfer6pcEjpps9WjYvihOdVzIFmYYFiEpyJ2ayxfLcrBIUc40nln0lz7SB5Y7z/N+ BpcCBa/cuiYo3taGFLt6NLqanuRHKlhUQ/iDc2eyA1IabTKnJ8jUk4zlwrLt/0CV6pZj2K +0oApPMKhcFKjGk5CRvB8fgtI1Xvl4xFcR67KwIbUGFcx6b8YX86d9qQu12rt7QZ3NdiXv Gz3LYfYwBRGIQYh77Vn+7yARhvP9U49k44pvQXZVvNJxFpn1V4xjv4r6Rw/9Fk3di1XXM3 yUqCU2N5uBDTtelWQhRn7O+JOw2gwp3Oj2/sekhIsxN4ZFckwz8V1kQOR9vVqw== Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MDCqP40m4zpQB; Thu, 25 Aug 2022 19:35:29 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vs1-f47.google.com with SMTP id d126so21910200vsd.13; Thu, 25 Aug 2022 12:35:29 -0700 (PDT) X-Gm-Message-State: ACgBeo1bhRlUrjfXMj3XFPHaQuJHz0NLomi1kXxvH9qonS0Ke3WSDq0j SHDL8EmKW3rjaL+QSrUj7nzBtTubO+GAIg+lA5Q= X-Google-Smtp-Source: AA6agR7IVENJM3M+L52VNZJhtgTeVX1DR6uVKqMdO1Aft+4vjjTUxsAoOqi7G2Se4tUYW90Uow0O6agZklpTcIlNF2Y= X-Received: by 2002:a05:6102:34ed:b0:390:abb1:60ba with SMTP id bi13-20020a05610234ed00b00390abb160bamr29801vsb.51.1661456129103; Thu, 25 Aug 2022 12:35:29 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <94e271b7-3019-a377-bb8b-e681c78b0d82@FreeBSD.org> In-Reply-To: <94e271b7-3019-a377-bb8b-e681c78b0d82@FreeBSD.org> From: Nuno Teixeira Date: Thu, 25 Aug 2022 20:35:16 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Lenovo Legion 5 Intel speakers working ok! To: Jung-uk Kim Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000629c7105e715e606" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661456129; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5zbPNgzEDCplDgjldGZ3CQNW0xE5gFePHlQuWeOyJMc=; b=tXzR4kpxkoiShm27xmTOdUeU5Xr9nThwCwteNV8i5vtu/C/AVPcpmC0TVeSsEsL/yA2BSW lcUZ4icVf8aDOijVw1o0Bt13oQS9tk3TJGDpiMZLTBdzmwJNsBFdBC/snkbQJZmNK9HUNT MCHtT9bGnxqd3bJ0+zOKAuFqO8C2nNomPLMxewgmBLZgRnPHoIvmLjyng8FpTnObAPBiYa XZ1IXbdlmJYWotWmgFkXfaIj986w+ewSUq66mRRAJmNusb6/fdmKIP5i8nqjL4sKqDA4LX 1yPjyXdWF6lGYmCMpxQcjb8SEYeDWjwIH9IxaEn9c+tjV9DdsWiZltDHAJIy/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661456129; a=rsa-sha256; cv=none; b=evyBfhRKbTM2i3z92Mf3VU2NDcKaZYpMFxTCK2ile+0iXmiHsg6zKsAg1oT4SEhzsbuHdp SqOI4gwKErNSzxV6xqgjuiS7kxbJRZ4V7du+uTsAOWzudY1cTvtnHbtqIDP1juVVSm1O/Z mmyOjD09xwRuKAZWDHHBnqtxmj9pCbtqoV+ysK769q9HWDfHHhvzYAI1ivPFs6PDPb518c gopgCnqdct2eBwaFDpUwYRs1+IWkGK0KBlKfdWbnT7Z9TB65P0xy3pPQ3ESglEO054VWzA gq+q6VbV7iripGCOOICihHhZp9I825FWVXLN+wk+QOBN0vRHCL/I0BdIqCDI6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --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 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 > > for Legion 5 AMD, PR 265632 > > for Intel > version > > > > Nuno Teixeira > > > 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 > > 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 > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000629c7105e715e606 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdj5IaSE8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PmBwY2ljb25m IC1sIHwgZ3JlcCBeaGRhY2A6PC9kaXY+PGRpdj4tLS08L2Rpdj48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