On 13 Dec 2020, 13:27:48 +0000, Joel Carnat wrote:
> Hello,
>
> I just got a Teclast F7 Plus laptop and installed OpenBSD 6.8-current on
> it. Most things works except apm and touchpad
>
> Using zzz or ZZZ, it seems suspend/hibernation start but are never
> achieved. The backlight keyboard and power led are still on. On Linux,
> keyboard goes black and power led slowly blinks.
> Plus, there is no way to resume the laptop. I have to force a poweroff
> using the power button.
>
> Regarding the touchpad, it doesn't work ; neither with wsmoused(8) nor
> in Xorg. It seems to be identified and attached to pms0. Looking at a
> Linux dmesg, it references I2C:
> [    5.462957] kernel: input: HTIX5288:00 0911:5288 Touchpad as
> /devices/pci0000:00/0000:00:17.3/i2c_designware.7/i2c-8/i2c-HTIX5288:00/0018:0911:5288.0001/input/input11
> So I guess OpenBSD should rather attach it to imt(4)?


This diff should activate I2C touchpad on your laptop:

Index: dev/pci/dwiic_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/dwiic_pci.c,v
retrieving revision 1.14
diff -u -p -u -r1.14 dwiic_pci.c
--- dev/pci/dwiic_pci.c 7 Oct 2020 11:17:59 -0000       1.14
+++ dev/pci/dwiic_pci.c 23 Dec 2020 00:02:50 -0000
@@ -117,6 +117,14 @@ const struct pci_matchid dwiic_pci_ids[]
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_APOLLOLAKE_I2C_6 },
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_APOLLOLAKE_I2C_7 },
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_APOLLOLAKE_I2C_8 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_1 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_2 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_3 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_4 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_5 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_6 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_7 },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_GLK_I2C_8 },
 };
 
 int

Reply via email to