From: Manuel Giraud Subject: Re: Please help me test/review my imt(4) patch for touchpads To: Thomas Dettbarn Cc: "tech@openbsd.org" , "jcs@jcs.org" , "jcs@openbsd.org" Date: Wed, 11 Jun 2025 17:43:56 +0200 Thomas Dettbarn writes: [...] > 1. Is it working where it did not work before? > If you have a Laptop where two-finger scrolling was not working, OR > where the cursor only moves if you are using 5 fingers, please apply it > and check if it is now behaving as you would expect it to. Hi Thomas, Not a dev but, I tried your patch and the touchpad on this machine does show up as imt (it also wasn't before): OpenBSD 7.7-current (GENERIC.MP) #1: Wed Jun 11 17:21:39 CEST 2025 manuel@computer:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8444116992 (8052MB) avail mem = 8161652736 (7783MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xc77ed000 (33 entries) bios0: vendor HP version "N75 Ver. 01.62" date 03/17/2024 bios0: HP HP EliteBook 840 G3 efi0 at bios0: UEFI 2.4 efi0: HP rev 0x1003e acpi0 at bios0: ACPI 5.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT TCPA SSDT UEFI SSDT WSMT HPET APIC MCFG SSDT SSDT SSDT SSDT DMAR NHLT ASF! FPDT BGRT SSDT acpi0: wakeup devices PEG1(S4) PEGP(S4) PEG2(S4) PEGP(S4) PEG0(S4) PEGP(S4) GLAN(S0) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 23999999 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2893.26 MHz, 06-4e-03, patch 000000f0 cpu0: cpuid 1 edx=bfebfbff ecx=77fafbff cpu0: cpuid 6 eax=27f7 ecx=9 cpu0: cpuid 7.0 ebx=29c6fbf edx=bc002e00 cpu0: cpuid a vers=4, gp=4, gpwidth=48, ff=3, ffwidth=48 cpu0: cpuid d.1 eax=f cpu0: cpuid 80000001 edx=2c100800 ecx=121 cpu0: cpuid 80000007 edx=100 cpu0: msr 10a=c04 cpu0: MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 3MB 64b/line 12-way L3 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) i5-6300U CPU @ 2.40GHz, 2893.26 MHz, 06-4e-03, patch 000000f0 cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2893.26 MHz, 06-4e-03, patch 000000f0 cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2893.26 MHz, 06-4e-03, patch 000000f0 cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins acpimcfg0 at acpi0 acpimcfg0: addr 0xf8000000, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG1) acpiprt2 at acpi0: bus -1 (PEG2) acpiprt3 at acpi0: bus -1 (PEG0) acpiprt4 at acpi0: bus -1 (RP01) acpiprt5 at acpi0: bus 1 (RP02) acpiprt6 at acpi0: bus -1 (RP03) acpiprt7 at acpi0: bus 2 (RP04) acpiprt8 at acpi0: bus -1 (RP05) acpiprt9 at acpi0: bus -1 (RP06) acpiprt10 at acpi0: bus -1 (RP07) acpiprt11 at acpi0: bus -1 (RP08) acpiprt12 at acpi0: bus -1 (RP09) acpiprt13 at acpi0: bus -1 (RP10) acpiprt14 at acpi0: bus -1 (RP11) acpiprt15 at acpi0: bus -1 (RP12) acpiprt16 at acpi0: bus -1 (RP13) acpiprt17 at acpi0: bus -1 (RP14) acpiprt18 at acpi0: bus -1 (RP15) acpiprt19 at acpi0: bus -1 (RP16) acpiprt20 at acpi0: bus -1 (RP17) acpiprt21 at acpi0: bus -1 (RP18) acpiprt22 at acpi0: bus -1 (RP19) acpiprt23 at acpi0: bus -1 (RP20) acpiec0 at acpi0 "PNP0C14" at acpi0 not configured "PNP0C14" at acpi0 not configured acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001 "HPQ6007" at acpi0 not configured acpicmos0 at acpi0 "HPQ8002" at acpi0 not configured "SYN3037" at acpi0 not configured pchgpio0 at acpi0 GPI0 addr 0xfdaf0000/0x10000 0xfdae0000/0x10000 0xfdac0000/0x10000 irq 14, 176 pins acpibat0 at acpi0: BAT0 model "Primary" serial 09001 2022/03/09 type LIon oem "Hewlett-Packard" acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: LID_ "PNP0C14" at acpi0 not configured "HPQ6001" at acpi0 not configured intelpmc0 at acpi0: PEPD tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0xfed40000/0x5000, device 0x001b15d1 rev 0x10 acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: PG01, resource for PEG1 acpipwrres1 at acpi0: PG02, resource for PEG2 acpipwrres2 at acpi0: PG00, resource for PEG0 acpipwrres3 at acpi0: WRST acpipwrres4 at acpi0: WRST acpipwrres5 at acpi0: PXP_ acpipwrres6 at acpi0: WRST acpipwrres7 at acpi0: WRST acpipwrres8 at acpi0: WRST acpipwrres9 at acpi0: WRST acpipwrres10 at acpi0: WRST acpipwrres11 at acpi0: WRST acpipwrres12 at acpi0: WRST acpipwrres13 at acpi0: WRST acpipwrres14 at acpi0: WRST acpipwrres15 at acpi0: WRST acpipwrres16 at acpi0: WRST acpipwrres17 at acpi0: WRST acpipwrres18 at acpi0: WRST acpipwrres19 at acpi0: WRST acpipwrres20 at acpi0: WRST acpipwrres21 at acpi0: WRST acpipwrres22 at acpi0: WRST acpipwrres23 at acpi0: WRST acpitz0 at acpi0 acpitz0: critical temperature is 128 degC acpitz1 at acpi0 acpitz1: critical temperature is 128 degC acpitz2 at acpi0 acpitz2: critical temperature is 128 degC acpitz3 at acpi0 acpitz3: critical temperature is 128 degC acpitz4 at acpi0 acpitz4: critical temperature is 128 degC acpitz5 at acpi0 acpitz5: critical temperature is 128 degC acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F cpu0: using VERW MDS workaround (except on vmm entry) cpu0: Enhanced SpeedStep 2893 MHz: speeds: 2401, 2400, 2300, 2200, 2000, 1900, 1700, 1600, 1400, 1300, 1100, 1000, 800, 700, 500, 400 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 6G Host" rev 0x08 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 520" rev 0x07 drm0 at inteldrm0 inteldrm0: msi, SKYLAKE, gen 9 xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x21: msi, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 pchtemp0 at pci0 dev 20 function 2 "Intel 100 Series Thermal" rev 0x21 dwiic0 at pci0 dev 21 function 0 "Intel 100 Series I2C" rev 0x21: apic 2 int 16 iic0 at dwiic0 "Intel 100 Series MEI" rev 0x21 at pci0 dev 22 function 0 not configured puc0 at pci0 dev 22 function 3 "Intel 100 Series KT" rev 0x21: ports: 16 com com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo ahci0 at pci0 dev 23 function 0 "Intel 100 Series AHCI" rev 0x21: msi, AHCI 1.3.1 ahci0: PHY offline on port 0 ahci0: port 2: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 2 lun 0: naa.500a075114446624 sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi pci1 at ppb0 bus 1 rtsx0 at pci1 dev 0 function 0 "Realtek RTS522A Card Reader" rev 0x01: msi sdmmc0 at rtsx0: 4-bit, dma ppb1 at pci0 dev 28 function 3 "Intel 100 Series PCIE" rev 0xf1: msi pci2 at ppb1 bus 2 iwm0 at pci2 dev 0 function 0 "Intel AC 8260" rev 0x3a, msi pcib0 at pci0 dev 31 function 0 "Intel 100 Series LPC" rev 0x21 "Intel 100 Series PMC" rev 0x21 at pci0 dev 31 function 2 not configured azalia0 at pci0 dev 31 function 3 "Intel 100 Series HD Audio" rev 0x21: msi azalia0: codecs: Conexant/0x50f4, Intel/0x2809, using Conexant/0x50f4 audio0 at azalia0 ichiic0 at pci0 dev 31 function 4 "Intel 100 Series SMBus" rev 0x21: apic 2 int 16 iic1 at ichiic0 em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x21: msi, address c8:d3:ff:6e:5e:6f isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT efifb at mainbus0 not configured uhub1 at uhub0 port 2 configuration 1 interface 0 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 2 uhidev0 at uhub1 port 1 configuration 1 interface 0 "xiudi XD75" rev 2.00/0.01 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub1 port 1 configuration 1 interface 1 "xiudi XD75" rev 2.00/0.01 addr 3 uhidev1: iclass 3/0, 4 report ids ums0 at uhidev1 reportid 2: 8 buttons, Z and W dir wsmouse1 at ums0 mux 0 uhid0 at uhidev1 reportid 3: input=2, output=0, feature=0 ucc0 at uhidev1 reportid 4: 672 usages, 20 keys, array wskbd2 at ucc0 mux 1 uhidev2 at uhub1 port 2 configuration 1 interface 0 "Dell Computer Corp Dell Laser Mouse MS3220" rev 2.00/1.24 addr 4 uhidev2: iclass 3/1, 1 report id ums1 at uhidev2 reportid 1: 5 buttons, Z and W dir wsmouse2 at ums1 mux 0 uhidev3 at uhub1 port 2 configuration 1 interface 1 "Dell Computer Corp Dell Laser Mouse MS3220" rev 2.00/1.24 addr 4 uhidev3: iclass 3/0, 8 report ids uhid1 at uhidev3 reportid 1: input=31, output=0, feature=0 uhid2 at uhidev3 reportid 8: input=0, output=0, feature=31 uhidev4 at uhub1 port 2 configuration 1 interface 2 "Dell Computer Corp Dell Laser Mouse MS3220" rev 2.00/1.24 addr 4 uhidev4: iclass 3/0 uhid3 at uhidev4: input=8, output=0, feature=64 uvideo0 at uhub0 port 9 configuration 1 interface 0 "Sonix Technology Co., Ltd. HP HD Camera" rev 2.00/1.06 addr 5 video0 at uvideo0 sdmmc0: can't enable card vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets sd1 at scsibus3 targ 1 lun 0: sd1: 244197MB, 512 bytes/sector, 500116577 sectors root on sd1a (40afa9d40d3c9c3f.a) swap on sd1b dump on sd1b inteldrm0: 1680x1050, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) iwm0: hw rev 0x200, fw ver 36.ca7b901d.0, address f0:d5:bf:1f:cb:5b -- Manuel Giraud