Re: Dell G3 3590 audio and touchpad

2022-04-03 Thread Adriano Barbosa
Em dom., 3 de abr. de 2022 às 10:19, Jonathan Gray  escreveu:
>
> On Sun, Apr 03, 2022 at 09:56:09AM -0400, Adriano Barbosa wrote:
> > Em dom., 3 de abr. de 2022 às 09:38, Jonathan Gray  
> > escreveu:
> > >
> > > On Sun, Apr 03, 2022 at 09:22:24AM -0400, Adriano Barbosa wrote:
> > > > Em dom., 3 de abr. de 2022 às 00:38, Jonathan Gray  
> > > > escreveu:
> > > >
> > > > > On Sat, Apr 02, 2022 at 09:45:11AM -0400, Adriano Barbosa wrote:
> > > > > > Em sex., 1 de abr. de 2022 às 18:46, Jonathan Gray 
> > > > > escreveu:
> > > > > >
> > > > > > > On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> > > > > > > > Thank you for your help and sorry for the delay.
> > > > > > > > I had to learn how to compile from source and still not sure if 
> > > > > > > > I
> > > > > did it
> > > > > > > > correctly or if the patch didn't work.
> > > > > > > > I downloaded src.tar.gz and sys.tar.gz from 7.0 release, 
> > > > > > > > updated to
> > > > > > > -current
> > > > > > > > using cvs and applied the patch. Then, followed only step 3 of
> > > > > release(8)
> > > > > > > > (which took around 60 minutes to build). I repeated it twice to 
> > > > > > > > make
> > > > > > > sure I
> > > > > > > > didn't miss any step, but the result was the same, still getting
> > > > > "Intel
> > > > > > > 300
> > > > > > > > Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured 
> > > > > > > > in
> > > > > dmesg.
> > > > > > > > Should I do anything else or anything different?
> > > > > > > >
> > > > > > > > Obrigado!
> > > > > > >
> > > > > > > I've committed this change.  Try a snapshot in a few days time.
> > > > > > >
> > > > > > >
> > > > > > Managed to compile correctly and the audio patch works.
> > > > > > Thank you very much!
> > > > > >
> > > > > > Any hints on the touchpad? Looks like it is configured (Intel 300 
> > > > > > Series
> > > > > > I2C,
> > > > > > right?), but it doesn't move or click. Any tool to test it?
> > > > > >
> > > > > > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: 
> > > > > > apic 2
> > > > > > int 16
> > > > > > iic0 at dwiic0
> > > > > > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: 
> > > > > > apic 2
> > > > > > int 17
> > > > > > iic1 at dwiic1
> > > > > > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > > > > > , failed fetching initial HID descriptor
> > > > >
> > > > > this is less clear, does the following diff to force polling help?
> > > > >
> > > > > Index: sys/dev/pci/dwiic_pci.c
> > > > > ===
> > > > > RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
> > > > > retrieving revision 1.20
> > > > > diff -u -p -r1.20 dwiic_pci.c
> > > > > --- sys/dev/pci/dwiic_pci.c 11 Mar 2022 18:00:45 -  1.20
> > > > > +++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 04:28:45 -
> > > > > @@ -212,7 +212,8 @@ dwiic_pci_attach(struct device *parent,
> > > > >
> > > > > /* install interrupt handler */
> > > > > sc->sc_poll = 1;
> > > > > -   if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > > > > +// if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > > > > +   if (0) {
> > > > > intrstr = pci_intr_string(sc->sc_paa.pa_pc, ih);
> > > > > sc->sc_ih = pci_intr_establish(sc->sc_paa.pa_pc, ih,
> > > > > IPL_BIO,
> > > > > dwiic_intr, sc, sc->sc_dev.dv_xname);
> > > > >
> > > > >
> > > > Thank you again for all the help!
> > > >
> > > > I see polling on dmesg, but touchpad still doesn't work:
> > > > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: 
> > > > polling
> > > > iic0 at dwiic0
> > > > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: 
> > > > polling
> > > > iic1 at dwiic1
> > > > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > > > , failed fetching initial HID descriptor
> > > >
> > > > 0:21:0: Intel 300 Series I2C
> > > > 0x: Vendor ID: 8086, Product ID: a368
> > > > 0x0004: Command: 0006, Status: 0010
> > > > 0x0008: Class: 0c Serial Bus, Subclass: 80 (unknown),
> > > > Interface: 00, Revision: 10
> > > > 0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
> > > > Cache Line Size: 10
> > > > 0x0010: BAR mem 64bit addr: 0xa5528000/0x1000
> > > > 0x0018: BAR mem 64bit addr: 0xa5527000/0x1000
> > > > 0x0020: BAR empty ()
> > > > 0x0024: BAR empty ()
> > > > 0x0028: Cardbus CIS: 
> > > > 0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
> > > > 0x0030: Expansion ROM Base Address: 
> > > > 0x0038: 
> > > > 0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
> > > > 0x0080: Capability 0x01: Power Management
> > > > State: D0
> > > > 0x0090: Capability 0x09: Vendor Specific
> > > >
> > > >
> > > > Also, although audio output works both on speakers and audio jack,
> > > > audio recording is not working. Is it supposed to work on this card?
> > > > I found some

Re: Dell G3 3590 audio and touchpad

2022-04-03 Thread Jonathan Gray
On Sun, Apr 03, 2022 at 09:56:09AM -0400, Adriano Barbosa wrote:
> Em dom., 3 de abr. de 2022 às 09:38, Jonathan Gray  escreveu:
> >
> > On Sun, Apr 03, 2022 at 09:22:24AM -0400, Adriano Barbosa wrote:
> > > Em dom., 3 de abr. de 2022 às 00:38, Jonathan Gray  
> > > escreveu:
> > >
> > > > On Sat, Apr 02, 2022 at 09:45:11AM -0400, Adriano Barbosa wrote:
> > > > > Em sex., 1 de abr. de 2022 às 18:46, Jonathan Gray 
> > > > escreveu:
> > > > >
> > > > > > On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> > > > > > > Thank you for your help and sorry for the delay.
> > > > > > > I had to learn how to compile from source and still not sure if I
> > > > did it
> > > > > > > correctly or if the patch didn't work.
> > > > > > > I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated 
> > > > > > > to
> > > > > > -current
> > > > > > > using cvs and applied the patch. Then, followed only step 3 of
> > > > release(8)
> > > > > > > (which took around 60 minutes to build). I repeated it twice to 
> > > > > > > make
> > > > > > sure I
> > > > > > > didn't miss any step, but the result was the same, still getting
> > > > "Intel
> > > > > > 300
> > > > > > > Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in
> > > > dmesg.
> > > > > > > Should I do anything else or anything different?
> > > > > > >
> > > > > > > Obrigado!
> > > > > >
> > > > > > I've committed this change.  Try a snapshot in a few days time.
> > > > > >
> > > > > >
> > > > > Managed to compile correctly and the audio patch works.
> > > > > Thank you very much!
> > > > >
> > > > > Any hints on the touchpad? Looks like it is configured (Intel 300 
> > > > > Series
> > > > > I2C,
> > > > > right?), but it doesn't move or click. Any tool to test it?
> > > > >
> > > > > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: 
> > > > > apic 2
> > > > > int 16
> > > > > iic0 at dwiic0
> > > > > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: 
> > > > > apic 2
> > > > > int 17
> > > > > iic1 at dwiic1
> > > > > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > > > > , failed fetching initial HID descriptor
> > > >
> > > > this is less clear, does the following diff to force polling help?
> > > >
> > > > Index: sys/dev/pci/dwiic_pci.c
> > > > ===
> > > > RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
> > > > retrieving revision 1.20
> > > > diff -u -p -r1.20 dwiic_pci.c
> > > > --- sys/dev/pci/dwiic_pci.c 11 Mar 2022 18:00:45 -  1.20
> > > > +++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 04:28:45 -
> > > > @@ -212,7 +212,8 @@ dwiic_pci_attach(struct device *parent,
> > > >
> > > > /* install interrupt handler */
> > > > sc->sc_poll = 1;
> > > > -   if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > > > +// if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > > > +   if (0) {
> > > > intrstr = pci_intr_string(sc->sc_paa.pa_pc, ih);
> > > > sc->sc_ih = pci_intr_establish(sc->sc_paa.pa_pc, ih,
> > > > IPL_BIO,
> > > > dwiic_intr, sc, sc->sc_dev.dv_xname);
> > > >
> > > >
> > > Thank you again for all the help!
> > >
> > > I see polling on dmesg, but touchpad still doesn't work:
> > > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: polling
> > > iic0 at dwiic0
> > > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: polling
> > > iic1 at dwiic1
> > > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > > , failed fetching initial HID descriptor
> > >
> > > 0:21:0: Intel 300 Series I2C
> > > 0x: Vendor ID: 8086, Product ID: a368
> > > 0x0004: Command: 0006, Status: 0010
> > > 0x0008: Class: 0c Serial Bus, Subclass: 80 (unknown),
> > > Interface: 00, Revision: 10
> > > 0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
> > > Cache Line Size: 10
> > > 0x0010: BAR mem 64bit addr: 0xa5528000/0x1000
> > > 0x0018: BAR mem 64bit addr: 0xa5527000/0x1000
> > > 0x0020: BAR empty ()
> > > 0x0024: BAR empty ()
> > > 0x0028: Cardbus CIS: 
> > > 0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
> > > 0x0030: Expansion ROM Base Address: 
> > > 0x0038: 
> > > 0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
> > > 0x0080: Capability 0x01: Power Management
> > > State: D0
> > > 0x0090: Capability 0x09: Vendor Specific
> > >
> > >
> > > Also, although audio output works both on speakers and audio jack,
> > > audio recording is not working. Is it supposed to work on this card?
> > > I found some info about it on Linux that I suppose can help, but I'm
> > > not able to make any change myself:
> > > https://lore.kernel.org/all/s5h8rzdjkkf.wl-ti...@suse.de/T/
> >
> > To enable audio recording you will need to change the sysctl value.
> > # sysctl kern.audio.record=1
> > this can be set at boot by adding kern.audio.record=1 to /etc/sys

Re: Dell G3 3590 audio and touchpad

2022-04-03 Thread Adriano Barbosa
Em dom., 3 de abr. de 2022 às 09:38, Jonathan Gray  escreveu:
>
> On Sun, Apr 03, 2022 at 09:22:24AM -0400, Adriano Barbosa wrote:
> > Em dom., 3 de abr. de 2022 às 00:38, Jonathan Gray  
> > escreveu:
> >
> > > On Sat, Apr 02, 2022 at 09:45:11AM -0400, Adriano Barbosa wrote:
> > > > Em sex., 1 de abr. de 2022 às 18:46, Jonathan Gray 
> > > escreveu:
> > > >
> > > > > On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> > > > > > Thank you for your help and sorry for the delay.
> > > > > > I had to learn how to compile from source and still not sure if I
> > > did it
> > > > > > correctly or if the patch didn't work.
> > > > > > I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated to
> > > > > -current
> > > > > > using cvs and applied the patch. Then, followed only step 3 of
> > > release(8)
> > > > > > (which took around 60 minutes to build). I repeated it twice to make
> > > > > sure I
> > > > > > didn't miss any step, but the result was the same, still getting
> > > "Intel
> > > > > 300
> > > > > > Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in
> > > dmesg.
> > > > > > Should I do anything else or anything different?
> > > > > >
> > > > > > Obrigado!
> > > > >
> > > > > I've committed this change.  Try a snapshot in a few days time.
> > > > >
> > > > >
> > > > Managed to compile correctly and the audio patch works.
> > > > Thank you very much!
> > > >
> > > > Any hints on the touchpad? Looks like it is configured (Intel 300 Series
> > > > I2C,
> > > > right?), but it doesn't move or click. Any tool to test it?
> > > >
> > > > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: apic 2
> > > > int 16
> > > > iic0 at dwiic0
> > > > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: apic 2
> > > > int 17
> > > > iic1 at dwiic1
> > > > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > > > , failed fetching initial HID descriptor
> > >
> > > this is less clear, does the following diff to force polling help?
> > >
> > > Index: sys/dev/pci/dwiic_pci.c
> > > ===
> > > RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
> > > retrieving revision 1.20
> > > diff -u -p -r1.20 dwiic_pci.c
> > > --- sys/dev/pci/dwiic_pci.c 11 Mar 2022 18:00:45 -  1.20
> > > +++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 04:28:45 -
> > > @@ -212,7 +212,8 @@ dwiic_pci_attach(struct device *parent,
> > >
> > > /* install interrupt handler */
> > > sc->sc_poll = 1;
> > > -   if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > > +// if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > > +   if (0) {
> > > intrstr = pci_intr_string(sc->sc_paa.pa_pc, ih);
> > > sc->sc_ih = pci_intr_establish(sc->sc_paa.pa_pc, ih,
> > > IPL_BIO,
> > > dwiic_intr, sc, sc->sc_dev.dv_xname);
> > >
> > >
> > Thank you again for all the help!
> >
> > I see polling on dmesg, but touchpad still doesn't work:
> > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: polling
> > iic0 at dwiic0
> > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: polling
> > iic1 at dwiic1
> > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > , failed fetching initial HID descriptor
> >
> > 0:21:0: Intel 300 Series I2C
> > 0x: Vendor ID: 8086, Product ID: a368
> > 0x0004: Command: 0006, Status: 0010
> > 0x0008: Class: 0c Serial Bus, Subclass: 80 (unknown),
> > Interface: 00, Revision: 10
> > 0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
> > Cache Line Size: 10
> > 0x0010: BAR mem 64bit addr: 0xa5528000/0x1000
> > 0x0018: BAR mem 64bit addr: 0xa5527000/0x1000
> > 0x0020: BAR empty ()
> > 0x0024: BAR empty ()
> > 0x0028: Cardbus CIS: 
> > 0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
> > 0x0030: Expansion ROM Base Address: 
> > 0x0038: 
> > 0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
> > 0x0080: Capability 0x01: Power Management
> > State: D0
> > 0x0090: Capability 0x09: Vendor Specific
> >
> >
> > Also, although audio output works both on speakers and audio jack,
> > audio recording is not working. Is it supposed to work on this card?
> > I found some info about it on Linux that I suppose can help, but I'm
> > not able to make any change myself:
> > https://lore.kernel.org/all/s5h8rzdjkkf.wl-ti...@suse.de/T/
>
> To enable audio recording you will need to change the sysctl value.
> # sysctl kern.audio.record=1
> this can be set at boot by adding kern.audio.record=1 to /etc/sysctl.conf
>

Sorry, I should have been more explicit about recording not working. I
meant the audio input is not working. This is my mixerctl output:
inputs.dac-2:3=126,126
inputs.dac-0:1=126,126
outputs.spkr_source=dac-2:3
outputs.spkr_mute=off
outputs.spkr_eapd=on
outputs.hp_source=dac-0:1
outputs.hp_mute=off
outputs.hp_boost=off
outputs.hp_eapd=o

Re: Dell G3 3590 audio and touchpad

2022-04-03 Thread Jonathan Gray
On Sun, Apr 03, 2022 at 09:22:24AM -0400, Adriano Barbosa wrote:
> Em dom., 3 de abr. de 2022 às 00:38, Jonathan Gray  escreveu:
> 
> > On Sat, Apr 02, 2022 at 09:45:11AM -0400, Adriano Barbosa wrote:
> > > Em sex., 1 de abr. de 2022 às 18:46, Jonathan Gray 
> > escreveu:
> > >
> > > > On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> > > > > Thank you for your help and sorry for the delay.
> > > > > I had to learn how to compile from source and still not sure if I
> > did it
> > > > > correctly or if the patch didn't work.
> > > > > I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated to
> > > > -current
> > > > > using cvs and applied the patch. Then, followed only step 3 of
> > release(8)
> > > > > (which took around 60 minutes to build). I repeated it twice to make
> > > > sure I
> > > > > didn't miss any step, but the result was the same, still getting
> > "Intel
> > > > 300
> > > > > Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in
> > dmesg.
> > > > > Should I do anything else or anything different?
> > > > >
> > > > > Obrigado!
> > > >
> > > > I've committed this change.  Try a snapshot in a few days time.
> > > >
> > > >
> > > Managed to compile correctly and the audio patch works.
> > > Thank you very much!
> > >
> > > Any hints on the touchpad? Looks like it is configured (Intel 300 Series
> > > I2C,
> > > right?), but it doesn't move or click. Any tool to test it?
> > >
> > > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: apic 2
> > > int 16
> > > iic0 at dwiic0
> > > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: apic 2
> > > int 17
> > > iic1 at dwiic1
> > > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > > , failed fetching initial HID descriptor
> >
> > this is less clear, does the following diff to force polling help?
> >
> > Index: sys/dev/pci/dwiic_pci.c
> > ===
> > RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
> > retrieving revision 1.20
> > diff -u -p -r1.20 dwiic_pci.c
> > --- sys/dev/pci/dwiic_pci.c 11 Mar 2022 18:00:45 -  1.20
> > +++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 04:28:45 -
> > @@ -212,7 +212,8 @@ dwiic_pci_attach(struct device *parent,
> >
> > /* install interrupt handler */
> > sc->sc_poll = 1;
> > -   if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > +// if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> > +   if (0) {
> > intrstr = pci_intr_string(sc->sc_paa.pa_pc, ih);
> > sc->sc_ih = pci_intr_establish(sc->sc_paa.pa_pc, ih,
> > IPL_BIO,
> > dwiic_intr, sc, sc->sc_dev.dv_xname);
> >
> >
> Thank you again for all the help!
> 
> I see polling on dmesg, but touchpad still doesn't work:
> dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: polling
> iic0 at dwiic0
> dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: polling
> iic1 at dwiic1
> ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> , failed fetching initial HID descriptor
> 
> 0:21:0: Intel 300 Series I2C
> 0x: Vendor ID: 8086, Product ID: a368
> 0x0004: Command: 0006, Status: 0010
> 0x0008: Class: 0c Serial Bus, Subclass: 80 (unknown),
> Interface: 00, Revision: 10
> 0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
> Cache Line Size: 10
> 0x0010: BAR mem 64bit addr: 0xa5528000/0x1000
> 0x0018: BAR mem 64bit addr: 0xa5527000/0x1000
> 0x0020: BAR empty ()
> 0x0024: BAR empty ()
> 0x0028: Cardbus CIS: 
> 0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
> 0x0030: Expansion ROM Base Address: 
> 0x0038: 
> 0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
> 0x0080: Capability 0x01: Power Management
> State: D0
> 0x0090: Capability 0x09: Vendor Specific
> 
> 
> Also, although audio output works both on speakers and audio jack,
> audio recording is not working. Is it supposed to work on this card?
> I found some info about it on Linux that I suppose can help, but I'm
> not able to make any change myself:
> https://lore.kernel.org/all/s5h8rzdjkkf.wl-ti...@suse.de/T/

To enable audio recording you will need to change the sysctl value.
# sysctl kern.audio.record=1
this can be set at boot by adding kern.audio.record=1 to /etc/sysctl.conf

For the dwiic/touchpad problem, drop or revert the previous diff and try

Index: sys/dev/pci/dwiic_pci.c
===
RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
retrieving revision 1.20
diff -u -p -r1.20 dwiic_pci.c
--- sys/dev/pci/dwiic_pci.c 11 Mar 2022 18:00:45 -  1.20
+++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 13:26:34 -
@@ -190,7 +190,8 @@ dwiic_pci_attach(struct device *parent, 
 #if NACPI > 0
/* fetch timing parameters from ACPI, if possible */
node = acpi_pci_match(self, &sc->sc_paa);
-   if (node != NULL) {
+// 

Re: Dell G3 3590 audio and touchpad

2022-04-03 Thread Adriano Barbosa
Em dom., 3 de abr. de 2022 às 00:38, Jonathan Gray  escreveu:

> On Sat, Apr 02, 2022 at 09:45:11AM -0400, Adriano Barbosa wrote:
> > Em sex., 1 de abr. de 2022 às 18:46, Jonathan Gray 
> escreveu:
> >
> > > On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> > > > Thank you for your help and sorry for the delay.
> > > > I had to learn how to compile from source and still not sure if I
> did it
> > > > correctly or if the patch didn't work.
> > > > I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated to
> > > -current
> > > > using cvs and applied the patch. Then, followed only step 3 of
> release(8)
> > > > (which took around 60 minutes to build). I repeated it twice to make
> > > sure I
> > > > didn't miss any step, but the result was the same, still getting
> "Intel
> > > 300
> > > > Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in
> dmesg.
> > > > Should I do anything else or anything different?
> > > >
> > > > Obrigado!
> > >
> > > I've committed this change.  Try a snapshot in a few days time.
> > >
> > >
> > Managed to compile correctly and the audio patch works.
> > Thank you very much!
> >
> > Any hints on the touchpad? Looks like it is configured (Intel 300 Series
> > I2C,
> > right?), but it doesn't move or click. Any tool to test it?
> >
> > dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: apic 2
> > int 16
> > iic0 at dwiic0
> > dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: apic 2
> > int 17
> > iic1 at dwiic1
> > ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> > , failed fetching initial HID descriptor
>
> this is less clear, does the following diff to force polling help?
>
> Index: sys/dev/pci/dwiic_pci.c
> ===
> RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
> retrieving revision 1.20
> diff -u -p -r1.20 dwiic_pci.c
> --- sys/dev/pci/dwiic_pci.c 11 Mar 2022 18:00:45 -  1.20
> +++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 04:28:45 -
> @@ -212,7 +212,8 @@ dwiic_pci_attach(struct device *parent,
>
> /* install interrupt handler */
> sc->sc_poll = 1;
> -   if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> +// if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
> +   if (0) {
> intrstr = pci_intr_string(sc->sc_paa.pa_pc, ih);
> sc->sc_ih = pci_intr_establish(sc->sc_paa.pa_pc, ih,
> IPL_BIO,
> dwiic_intr, sc, sc->sc_dev.dv_xname);
>
>
Thank you again for all the help!

I see polling on dmesg, but touchpad still doesn't work:
dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: polling
iic0 at dwiic0
dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: polling
iic1 at dwiic1
ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
, failed fetching initial HID descriptor

0:21:0: Intel 300 Series I2C
0x: Vendor ID: 8086, Product ID: a368
0x0004: Command: 0006, Status: 0010
0x0008: Class: 0c Serial Bus, Subclass: 80 (unknown),
Interface: 00, Revision: 10
0x000c: BIST: 00, Header Type: 80, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0xa5528000/0x1000
0x0018: BAR mem 64bit addr: 0xa5527000/0x1000
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x09: Vendor Specific


Also, although audio output works both on speakers and audio jack,
audio recording is not working. Is it supposed to work on this card?
I found some info about it on Linux that I suppose can help, but I'm
not able to make any change myself:
https://lore.kernel.org/all/s5h8rzdjkkf.wl-ti...@suse.de/T/

0:31:3: Intel 300 Series cAVS
0x: Vendor ID: 8086, Product ID: a348
0x0004: Command: 0006, Status: 0010
0x0008: Class: 04 Multimedia, Subclass: 01 Audio,
Interface: 00, Revision: 10
0x000c: BIST: 00, Header Type: 00, Latency Timer: 20,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0xa5518000/0x4000
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR mem 64bit addr: 0xa520/0x0010
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
State: D0
0x0080: Capability 0x09: Vendor Specific
0x0060: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: yes

I can provide any other information or test any patch.


Re: Dell G3 3590 audio and touchpad

2022-04-02 Thread Jonathan Gray
On Sat, Apr 02, 2022 at 09:45:11AM -0400, Adriano Barbosa wrote:
> Em sex., 1 de abr. de 2022 às 18:46, Jonathan Gray  escreveu:
> 
> > On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> > > Thank you for your help and sorry for the delay.
> > > I had to learn how to compile from source and still not sure if I did it
> > > correctly or if the patch didn't work.
> > > I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated to
> > -current
> > > using cvs and applied the patch. Then, followed only step 3 of release(8)
> > > (which took around 60 minutes to build). I repeated it twice to make
> > sure I
> > > didn't miss any step, but the result was the same, still getting "Intel
> > 300
> > > Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in dmesg.
> > > Should I do anything else or anything different?
> > >
> > > Obrigado!
> >
> > I've committed this change.  Try a snapshot in a few days time.
> >
> >
> Managed to compile correctly and the audio patch works.
> Thank you very much!
> 
> Any hints on the touchpad? Looks like it is configured (Intel 300 Series
> I2C,
> right?), but it doesn't move or click. Any tool to test it?
> 
> dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: apic 2
> int 16
> iic0 at dwiic0
> dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: apic 2
> int 17
> iic1 at dwiic1
> ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
> , failed fetching initial HID descriptor

this is less clear, does the following diff to force polling help?

Index: sys/dev/pci/dwiic_pci.c
===
RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
retrieving revision 1.20
diff -u -p -r1.20 dwiic_pci.c
--- sys/dev/pci/dwiic_pci.c 11 Mar 2022 18:00:45 -  1.20
+++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 04:28:45 -
@@ -212,7 +212,8 @@ dwiic_pci_attach(struct device *parent, 
 
/* install interrupt handler */
sc->sc_poll = 1;
-   if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
+// if (pci_intr_map(&sc->sc_paa, &ih) == 0) {
+   if (0) {
intrstr = pci_intr_string(sc->sc_paa.pa_pc, ih);
sc->sc_ih = pci_intr_establish(sc->sc_paa.pa_pc, ih, IPL_BIO,
dwiic_intr, sc, sc->sc_dev.dv_xname);



Re: Dell G3 3590 audio and touchpad

2022-04-02 Thread Adriano Barbosa
Em sex., 1 de abr. de 2022 às 18:46, Jonathan Gray  escreveu:

> On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> > Thank you for your help and sorry for the delay.
> > I had to learn how to compile from source and still not sure if I did it
> > correctly or if the patch didn't work.
> > I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated to
> -current
> > using cvs and applied the patch. Then, followed only step 3 of release(8)
> > (which took around 60 minutes to build). I repeated it twice to make
> sure I
> > didn't miss any step, but the result was the same, still getting "Intel
> 300
> > Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in dmesg.
> > Should I do anything else or anything different?
> >
> > Obrigado!
>
> I've committed this change.  Try a snapshot in a few days time.
>
>
Managed to compile correctly and the audio patch works.
Thank you very much!

Any hints on the touchpad? Looks like it is configured (Intel 300 Series
I2C,
right?), but it doesn't move or click. Any tool to test it?

dwiic0 at pci0 dev 21 function 0 "Intel 300 Series I2C" rev 0x10: apic 2
int 16
iic0 at dwiic0
dwiic1 at pci0 dev 21 function 1 "Intel 300 Series I2C" rev 0x10: apic 2
int 17
iic1 at dwiic1
ihidev0 at iic1 addr 0x2cdwiic1: timed out reading remaining 30
, failed fetching initial HID descriptor


Re: Dell G3 3590 audio and touchpad

2022-04-01 Thread Jonathan Gray
On Fri, Apr 01, 2022 at 05:11:35PM -0400, Adriano Barbosa wrote:
> Thank you for your help and sorry for the delay.
> I had to learn how to compile from source and still not sure if I did it
> correctly or if the patch didn't work.
> I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated to -current
> using cvs and applied the patch. Then, followed only step 3 of release(8)
> (which took around 60 minutes to build). I repeated it twice to make sure I
> didn't miss any step, but the result was the same, still getting "Intel 300
> Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in dmesg.
> Should I do anything else or anything different?
> 
> Obrigado!

I've committed this change.  Try a snapshot in a few days time.



Re: Dell G3 3590 audio and touchpad

2022-04-01 Thread Adriano Barbosa
Thank you for your help and sorry for the delay.
I had to learn how to compile from source and still not sure if I did it
correctly or if the patch didn't work.
I downloaded src.tar.gz and sys.tar.gz from 7.0 release, updated to -current
using cvs and applied the patch. Then, followed only step 3 of release(8)
(which took around 60 minutes to build). I repeated it twice to make sure I
didn't miss any step, but the result was the same, still getting "Intel 300
Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured in dmesg.
Should I do anything else or anything different?

Obrigado!

Em qui., 31 de mar. de 2022 às 19:50, Jonathan Gray 
escreveu:

> On Thu, Mar 31, 2022 at 10:54:17AM -0400, Adriano Barbosa wrote:
> > Hi misc
> >
> > I'm trying to make audio and touchpad work on a Dell laptop.
> > I've never played with this kind of stuff and I don't even know how to
> > properly start.
> > I have no hope on making NVIDIA hardware to work, but I believe
> > Realtek ALC295 audio could work as, from what I got, it is supported
> > by OpenBSD.
> >
> > >From FreeBSD (where audio and touchpad work) I get the following
> information:
> >
> > hdacc0:  at cad 0 on hdac0
> > hdaa0:  at nid 1 on hdacc0
> > pcm0:  at nid 7 on hdaa0
> >
> > hdacc1:  at cad 0 on hdac1
> > hdaa1:  at nid 1 on hdacc1
> > pcm1:  at nid 20 on hdaa1
> > pcm2:  at nid 33 on hdaa1
> > hdacc2:  at cad 2 on hdac1
> > hdaa2:  at nid 1 on hdacc2
> > pcm3:  at nid 3 on hdaa2
> >
> > hms0:  on hidbus0
> > hms0: 2 buttons and [XY] coordinates ID=1
> > hmt0:  on hidbus0
> > hconf0:  on hidbus0
> > hmt0: Multitouch touchpad with 0 external buttons, click-pad
> > hmt0: 5 contacts with [C] properties. Report range [0:0] - [3211:2431]
> >
> > On  OpenBSD (where audio and touchpad don't work) I can identify the
> > following relevant information on dmesg:
> >
> > "Intel 300 Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured
>
> does not match as it uses pci subclass audio instead of hd audio
> should work with this
>
> Index: sys/dev/pci/azalia.c
> ===
> RCS file: /cvs/src/sys/dev/pci/azalia.c,v
> retrieving revision 1.271
> diff -u -p -r1.271 azalia.c
> --- sys/dev/pci/azalia.c21 Mar 2022 19:22:41 -  1.271
> +++ sys/dev/pci/azalia.c31 Mar 2022 23:31:08 -
> @@ -494,6 +494,7 @@ azalia_configure_pci(azalia_t *az)
>
>  const struct pci_matchid azalia_pci_devices[] = {
> { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_200SERIES_U_HDA },
> +   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_300SERIES_CAVS },
> { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_300SERIES_U_HDA },
> { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_400SERIES_CAVS },
> { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_HDA },
>
>

-- 
Adriano


Re: Dell G3 3590 audio and touchpad

2022-03-31 Thread Jonathan Gray
On Thu, Mar 31, 2022 at 10:54:17AM -0400, Adriano Barbosa wrote:
> Hi misc
> 
> I'm trying to make audio and touchpad work on a Dell laptop.
> I've never played with this kind of stuff and I don't even know how to
> properly start.
> I have no hope on making NVIDIA hardware to work, but I believe
> Realtek ALC295 audio could work as, from what I got, it is supported
> by OpenBSD.
> 
> >From FreeBSD (where audio and touchpad work) I get the following information:
> 
> hdacc0:  at cad 0 on hdac0
> hdaa0:  at nid 1 on hdacc0
> pcm0:  at nid 7 on hdaa0
> 
> hdacc1:  at cad 0 on hdac1
> hdaa1:  at nid 1 on hdacc1
> pcm1:  at nid 20 on hdaa1
> pcm2:  at nid 33 on hdaa1
> hdacc2:  at cad 2 on hdac1
> hdaa2:  at nid 1 on hdacc2
> pcm3:  at nid 3 on hdaa2
> 
> hms0:  on hidbus0
> hms0: 2 buttons and [XY] coordinates ID=1
> hmt0:  on hidbus0
> hconf0:  on hidbus0
> hmt0: Multitouch touchpad with 0 external buttons, click-pad
> hmt0: 5 contacts with [C] properties. Report range [0:0] - [3211:2431]
> 
> On  OpenBSD (where audio and touchpad don't work) I can identify the
> following relevant information on dmesg:
> 
> "Intel 300 Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured

does not match as it uses pci subclass audio instead of hd audio
should work with this

Index: sys/dev/pci/azalia.c
===
RCS file: /cvs/src/sys/dev/pci/azalia.c,v
retrieving revision 1.271
diff -u -p -r1.271 azalia.c
--- sys/dev/pci/azalia.c21 Mar 2022 19:22:41 -  1.271
+++ sys/dev/pci/azalia.c31 Mar 2022 23:31:08 -
@@ -494,6 +494,7 @@ azalia_configure_pci(azalia_t *az)
 
 const struct pci_matchid azalia_pci_devices[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_200SERIES_U_HDA },
+   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_300SERIES_CAVS },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_300SERIES_U_HDA },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_400SERIES_CAVS },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_500SERIES_LP_HDA },



Re: Dell G3 3590 audio and touchpad

2022-03-31 Thread Adriano Barbosa
Here is the pcidump:

Domain /dev/pci0:
 0:0:0: Intel Core 8G Host
0x: Vendor ID: 8086, Product ID: 3ec4
0x0004: Command: 0006, Status: 2090
0x0008: Class: 06 Bridge, Subclass: 00 Host,
Interface: 00, Revision: 07
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
0x00e0: Capability 0x09: Vendor Specific
 0:1:0: Intel Core 6G PCIE
0x: Vendor ID: 8086, Product ID: 1901
0x0004: Command: 0007, Status: 0010
0x0008: Class: 06 Bridge, Subclass: 04 PCI,
Interface: 00, Revision: 07
0x000c: BIST: 00, Header Type: 81, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: Primary Bus: 0, Secondary Bus: 1, Subordinate Bus: 1,
Secondary Latency Timer: 00
0x001c: I/O Base: 40, I/O Limit: 40, Secondary Status: 2000
0x0020: Memory Base: 9000, Memory Limit: a300
0x0024: Prefetch Memory Base: fff1, Prefetch Memory Limit: 0001
0x0028: Prefetch Memory Base Upper 32 Bits: 
0x002c: Prefetch Memory Limit Upper 32 Bits: 
0x0030: I/O Base Upper 16 Bits: , I/O Limit Upper 16 Bits: 
0x0038: Expansion ROM Base Address: 
0x003c: Interrupt Pin: 01, Line: ff, Bridge Control: 0010
0x0088: Capability 0x0d: PCI-PCI
0x0080: Capability 0x01: Power Management
State: D0
0x0090: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: yes
0x00a0: Capability 0x10: PCI Express
Max Payload Size: 128 / 256 bytes
Max Read Request Size: 128 bytes
Link Speed: 5.0 / 8.0 GT/s
Link Width: x8 / x8
0x0100: Enhanced Capability 0x02: Virtual Channel Capability
0x0140: Enhanced Capability 0x05: Root Complex Link Declaration
0x0d94: Enhanced Capability 0x19: Secondary PCIe Capability
 0:2:0: Intel UHD Graphics 630
0x: Vendor ID: 8086, Product ID: 3e9b
0x0004: Command: 0007, Status: 0010
0x0008: Class: 03 Display, Subclass: 00 VGA,
Interface: 00, Revision: 00
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0xa400/0x0100
0x0018: BAR mem prefetchable 64bit addr: 0x8000/0x1000
0x0020: BAR io addr: 0x5000/0x0040
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0040: Capability 0x09: Vendor Specific
0x0070: Capability 0x10: PCI Express
Max Payload Size: 128 / 128 bytes
Max Read Request Size: 128 bytes
0x0100: Enhanced Capability 0x1b: Process Address Space ID
0x0200: Enhanced Capability 0x0f: Address Translation Services
0x0300: Enhanced Capability 0x13: Page Request Interface
0x00ac: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: yes
0x00d0: Capability 0x01: Power Management
State: D0
 0:4:0: Intel Core 6G Thermal
0x: Vendor ID: 8086, Product ID: 1903
0x0004: Command: , Status: 0090
0x0008: Class: 11 DASP, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 07
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0xa551/0x8000
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0090: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no
0x00d0: Capability 0x01: Power Management
State: D0
0x00e0: Capability 0x09: Vendor Specific
 0:8:0: Intel Core GMM
0x: Vendor ID: 8086, Product ID: 1911
0x0004: Command: , Status: 0010
0x0008: Class: 08 System, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 00
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0xa552b000/0x1000
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 0949
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0090: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no
0x00dc: Capability 0x01: Power Management
State: D0
0x00f0: Capability 0x13: PCI Advanced Features
 0:18:0: Intel 300 Series Thermal
0x: Vendor ID: 8086, Product ID: a379
0x0004: Command: 0006, Status: 0010
0x0008: Class: 11 DASP, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 10
0x000c: BIST: 00, Header Type: 80, Latency Tim

Re: Dell G3 3590 audio and touchpad

2022-03-31 Thread Michael Stolovitzsky

On 3/31/22 17:54, Adriano Barbosa wrote:

Hi misc

I'm trying to make audio and touchpad work on a Dell laptop.
I've never played with this kind of stuff and I don't even know how to
properly start.
I have no hope on making NVIDIA hardware to work, but I believe
Realtek ALC295 audio could work as, from what I got, it is supported
by OpenBSD.


[snip]

Azalia driver doesnt detect your codecs correctly. On top of that, it 
may be a Dell specific hardware ID issue.


Please post the output of pcidump -v



Dell G3 3590 audio and touchpad

2022-03-31 Thread Adriano Barbosa
Hi misc

I'm trying to make audio and touchpad work on a Dell laptop.
I've never played with this kind of stuff and I don't even know how to
properly start.
I have no hope on making NVIDIA hardware to work, but I believe
Realtek ALC295 audio could work as, from what I got, it is supported
by OpenBSD.

>From FreeBSD (where audio and touchpad work) I get the following information:

hdacc0:  at cad 0 on hdac0
hdaa0:  at nid 1 on hdacc0
pcm0:  at nid 7 on hdaa0

hdacc1:  at cad 0 on hdac1
hdaa1:  at nid 1 on hdacc1
pcm1:  at nid 20 on hdaa1
pcm2:  at nid 33 on hdaa1
hdacc2:  at cad 2 on hdac1
hdaa2:  at nid 1 on hdacc2
pcm3:  at nid 3 on hdaa2

hms0:  on hidbus0
hms0: 2 buttons and [XY] coordinates ID=1
hmt0:  on hidbus0
hconf0:  on hidbus0
hmt0: Multitouch touchpad with 0 external buttons, click-pad
hmt0: 5 contacts with [C] properties. Report range [0:0] - [3211:2431]

On  OpenBSD (where audio and touchpad don't work) I can identify the
following relevant information on dmesg:

"Intel 300 Series cAVS" rev 0x10 at pci0 dev 31 function 3 not configured

vendor "NVIDIA", unknown product 0x2191 (class display subclass VGA,
rev 0xa1) at pci1 dev 0 function 0 not configured
azalia0 at pci1 dev 0 function 1 vendor "NVIDIA", unknown product
0x1aeb rev 0xa1: msi
azalia0: no supported codecs

Full dmesg attached.
Appreciate any help.

Obrigado!
-- 
Adriano Barbosa
OpenBSD 7.1 (GENERIC.MP) #452: Wed Mar 30 09:18:07 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8359219200 (7971MB)
avail mem = 8088596480 (7713MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe (116 entries)
bios0: vendor Dell Inc. version "1.16.0" date 12/14/2021
bios0: Dell Inc. G3 3590
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT BOOT SSDT SSDT HPET SSDT SSDT 
UEFI LPIT WSMT SSDT SSDT DBGP DBG2 SSDT SSDT MSDM SLIC DMAR SSDT SSDT NHLT BGRT 
TPM2 SSDT
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) PEGP(S4) 
RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) 
RP05(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, 3990.70 MHz, 06-9e-0a
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, 3990.70 MHz, 06-9e-0a
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, 3990.70 MHz, 06-9e-0a
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, 3990.70 MHz, 06-9e-0a
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3