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 <j...@jsg.id.au> 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 -0000 1.20 +++ sys/dev/pci/dwiic_pci.c 3 Apr 2022 04:28:45 -0000 @@ -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);