On Tue, Jan 11, 2022 at 09:06:42PM +0100, Sven Wolf wrote: > > > On 1/11/22 01:42, Jonathan Gray wrote: > > On Mon, Jan 10, 2022 at 08:56:18PM +0100, Sven Wolf wrote: > > > > > > > > > On 1/10/22 02:02, Jonathan Gray wrote: > > > > On Sun, Jan 09, 2022 at 09:27:57PM +0100, Sven Wolf wrote: > > > > > Hi list, > > > > > > > > > > in October'21 I successfully installed OpenBSD on this litte fanless > > > > > latop. > > > > > There are following issues, even with -current: > > > > > > > > > > The soundcard (Linux dmesg: snd_hda_codec_realtek hdaudioC0D0: > > > > > autoconfig > > > > > for ALC256) is not detected. > > > > > > > > > > The emmc (Linux dmesg: mmc0: new HS400 Enhanced strobe MMC card at > > > > > address > > > > > 0001, mmcblk0: mmc0:0001 DA4128 116 GiB) can't get enabled. > > > > > After I insert an nvme into the empty internal port I got OpenBSD > > > > > installed. > > > > > > > > > > The AX201 is not detected. In October'21 I got the AX201 with > > > > > following > > > > > patch in a stable working state: > > > > > > > > > > cat pcidevs.diff > > > > > *** pcidevs Sun Jan 9 20:02:35 2022 > > > > > --- pcidevs.swift1 Sun Jan 9 19:35:41 2022 > > > > > *************** > > > > > *** 5510,5515 **** > > > > > --- 5510,5516 ---- > > > > > product INTEL RKL_GT_4 0x4c8c UHD Graphics > > > > > product INTEL RKL_GT_5 0x4c90 UHD Graphics > > > > > product INTEL RKL_GT_6 0x4c9a UHD Graphics > > > > > + product INTEL WL_22500_6 0x4df0 Wi-Fi 6 AX201 > > > > > product INTEL JSL_GT_1 0x4e51 UHD Graphics > > > > > product INTEL JSL_GT_2 0x4e55 UHD Graphics > > > > > product INTEL JSL_GT_3 0x4e57 UHD Graphics > > > > > > > > > > > > > > > cat if_iwx.c.diff > > > > > *** if_iwx.c Sun Jan 9 20:02:35 2022 > > > > > --- if_iwx.c.swift1 Sun Jan 9 19:37:41 2022 > > > > > *************** > > > > > *** 9177,9182 **** > > > > > --- 9177,9183 ---- > > > > > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_22500_3 }, > > > > > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_22500_4,}, > > > > > { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_22500_5,}, > > > > > + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_22500_6,}, > > > > > }; > > > > > > > > > > static const struct pci_matchid iwx_subsystem_id_ax201[] = { > > > > > *************** > > > > > *** 9218,9223 **** > > > > > --- 9219,9225 ---- > > > > > case PCI_PRODUCT_INTEL_WL_22500_3: /* AX201 */ > > > > > case PCI_PRODUCT_INTEL_WL_22500_4: /* AX201 */ > > > > > case PCI_PRODUCT_INTEL_WL_22500_5: /* AX201 */ > > > > > + case PCI_PRODUCT_INTEL_WL_22500_6: /* AX201 */ > > > > > for (i = 0; i < nitems(iwx_subsystem_id_ax201); i++) { > > > > > if (svid == iwx_subsystem_id_ax201[i].pm_vid && > > > > > spid == iwx_subsystem_id_ax201[i].pm_pid) > > > > > > > > > > But now I only get following message: > > > > > iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x01, msix > > > > > iwx0: unknown adapter type > > > > > > > > > > In Linux following firmware is used: > > > > > Loading firmware: iwlwifi-QuZ-a0-hr-b0-63.ucode > > > > > iwlwifi 0000:00:14.3: loaded firmware version 63.c04f3485.0 > > > > > QuZ-a0-hr-b0-63.ucode op_mode iwlmvm > > > > > > > > > > I hope that Stefan has an idea, how we can get the iwx on this > > > > > machine in a > > > > > working state. > > > > > > > > > > The azalia and emmc issues are not the highest priority for myself. > > > > > Maybe > > > > > someone will make a patch. > > > > > > > > > > The touchpad only works in PS/2 mode. Fortunately on this machine, the > > > > > touchpad mode can be changed in the (hidden) BIOS/UEFI menu (CTRL+s) > > > > > > > > The touchpad is likely connected via i2c. > > > > > > > > The following diff should make audio and the touchpad work. > > > > inteldrm will require the 5.15 port I'm working on. > > > > committed with another id I missed added > > > > does this help with emmc? > > > > Index: sys/dev/pci/sdhc_pci.c > > =================================================================== > > RCS file: /cvs/src/sys/dev/pci/sdhc_pci.c,v > > retrieving revision 1.21 > > diff -u -p -U4 -r1.21 sdhc_pci.c > > --- sys/dev/pci/sdhc_pci.c 20 Nov 2019 16:34:58 -0000 1.21 > > +++ sys/dev/pci/sdhc_pci.c 11 Jan 2022 00:38:27 -0000 > > @@ -130,9 +130,10 @@ sdhc_pci_attach(struct device *parent, s > > /* Some Intel controllers break if set to 0V bus power. */ > > if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL && > > (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_100SERIES_LP_EMMC || > > PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_APOLLOLAKE_EMMC || > > - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_GLK_EMMC)) > > + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_GLK_EMMC || > > + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_JSL_EMMC)) > > sc->sc.sc_flags |= SDHC_F_NOPWR0; > > /* Some RICOH controllers need to be bumped into the right mode. */ > > if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_RICOH && > > > > Thanks :) > Also this patch works perfectly. > The emmc is now accessible.
thanks for the report and testing, committed