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 <j...@jsg.id.au> 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: <NVIDIA (0x0099) HDA CODEC> at cad 0 on hdac0 > > hdaa0: <NVIDIA (0x0099) Audio Function Group> at nid 1 on hdacc0 > > pcm0: <NVIDIA (0x0099) (HDMI/DP 8ch)> at nid 7 on hdaa0 > > > > hdacc1: <Realtek ALC295 HDA CODEC> at cad 0 on hdac1 > > hdaa1: <Realtek ALC295 Audio Function Group> at nid 1 on hdacc1 > > pcm1: <Realtek ALC295 (Internal Analog Speaker)> at nid 20 on hdaa1 > > pcm2: <Realtek ALC295 (Right Analog Headphones)> at nid 33 on hdaa1 > > hdacc2: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac1 > > hdaa2: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc2 > > pcm3: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa2 > > > > hms0: <DELL0949:00 04F3:30CB Mouse> on hidbus0 > > hms0: 2 buttons and [XY] coordinates ID=1 > > hmt0: <DELL0949:00 04F3:30CB TouchPad> on hidbus0 > > hconf0: <DELL0949:00 04F3:30CB Configuration> 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.c 21 Mar 2022 19:22:41 -0000 1.271 > +++ sys/dev/pci/azalia.c 31 Mar 2022 23:31:08 -0000 > @@ -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