Re: imt(4) Touchpad freezes from time to time
Hi Joshua, * joshua stein wrote: > On Tue, 31 May 2022 at 15:37:21 +0200, Matthias Schmidt wrote: > > Hi, > > > > weekly bump. Anyone (maybe jcs@) has an idea on how to debug this? > > You could enable IHIDEV_DEBUG in ihidev.c and see if it logs > anything when the touchpad freezes. Thanks, that works. Every time I move on the touchpad, I get an event. Here are the inital ihidev messages upon boot: May 31 20:12:56 kronos /bsd: ihidev0 at iic1 addr 0x2cihidev0: HID command I2C_HID_CMD_DESCR at 0x20 May 31 20:12:56 kronos /bsd: ihidev0: HID descriptor: 1e 00 00 01 7f 02 21 00 24 00 1f 00 25 00 00 00 22 00 23 00 3a 09 55 02 04 59 00 00 00 00 May 31 20:12:56 kronos /bsd: ihidev0: resetting May 31 20:12:56 kronos /bsd: ihidev0: HID command I2C_HID_CMD_SET_POWER(0) May 31 20:12:56 kronos /bsd: ihidev0: HID command I2C_HID_CMD_RESET May 31 20:12:56 kronos /bsd: ihidev0: HID command I2C_HID_REPORT_DESCR at 0x21 with size 639 May 31 20:12:56 kronos /bsd: ihidev0: HID report descriptor: 05 01 09 02 a1 01 85 02 05 01 09 01 a1 00 05 09 19 01 29 02 15 00 25 01 75 01 95 02 81 02 05 0d 09 32 75 01 95 01 81 02 75 05 95 01 81 03 05 01 75 10 95 01 35 00 45 00 16 00 80 26 ff 7f 09 30 81 26 16 00 80 26 ff 7f 09 31 81 26 c0 c0 05 0d 09 05 a1 01 85 01 05 0d 09 22 a1 02 09 47 09 42 15 00 25 01 75 01 95 02 81 02 95 06 81 03 09 51 25 05 75 08 95 01 81 02 05 01 09 30 75 10 55 0e 65 11 35 00 46 00 05 27 4c 06 00 00 81 02 09 31 46 0c 03 27 d6 03 00 00 81 02 c0 05 0d 09 22 a1 02 09 47 09 42 15 00 25 01 75 01 95 02 81 02 95 06 81 03 09 51 25 05 75 08 95 01 81 02 05 01 09 30 75 10 55 0e 65 11 35 00 46 00 05 27 4c 06 00 00 81 02 09 31 46 0c 03 27 d6 03 00 00 81 02 c0 05 0d 09 22 a1 02 09 47 09 42 15 00 25 01 75 01 95 02 81 02 95 06 81 03 09 51 25 05 75 08 95 01 81 02 05 01 09 30 75 10 55 0e 65 11 35 00 46 00 05 27 4c 06 00 00 81 02 09 31 46 0c 03 27 d6 03 00 00 81 02 c0 05 0d 09 22 a1 02 09 47 09 42 15 00 25 01 75 01 95 02 81 02 95 06 81 03 09 51 25 05 75 08 95 01 81 02 05 01 09 30 75 10 55 0e 65 11 35 00 46 00 05 27 4c 06 00 00 81 02 09 31 46 0c 03 27 d6 03 00 00 81 02 c0 05 0d 09 54 15 00 25 04 75 08 95 01 81 02 05 09 09 01 15 00 25 01 75 01 95 01 81 02 95 07 81 03 05 0d 09 56 55 0c 66 01 10 35 00 47 ff ff 00 00 15 00 27 ff ff 00 00 75 10 95 01 81 02 06 0d 00 09 55 15 00 26 04 00 75 08 96 01 00 85 03 b1 02 06 0d 00 09 59 15 00 26 01 00 75 08 96 01 00 85 04 b1 02 06 00 ff 85 05 75 08 15 00 09 c6 25 08 95 01 b1 02 09 c7 26 ff 00 95 20 b1 02 c0 05 0d 09 0e a1 01 05 0d 09 22 a1 02 09 52 15 00 25 0a 75 08 95 01 85 06 b1 02 c0 05 0d 09 22 a1 00 09 57 09 58 15 00 25 01 75 01 95 02 85 07 b1 02 95 06 b1 03 c0 05 0d 09 60 15 00 25 01 75 01 95 01 85 08 b1 02 95 07 b1 03 c0 06 00 ff 09 01 a1 01 85 42 09 06 15 00 26 ff 00 75 08 95 03 b1 02 06 00 ff 09 05 15 00 26 ff 00 75 08 96 00 01 85 41 b1 02 85 43 09 06 15 00 26 ff 00 75 08 95 03 b1 02 06 00 ff 09 11 15 00 26 ff 00 75 08 96 10 00 85 0c b1 02 c0 May 31 20:12:56 kronos /bsd: ihidev0: 67 report ids May 31 20:12:56 kronos /bsd: ihidev0: repid 1 size 28 May 31 20:12:56 kronos /bsd: ihidev0: repid 2 size 5 May 31 20:12:56 kronos /bsd: imt0 at ihidev0ihidev0: HID command I2C_HID_CMD_GET_REPORT 3 (type 3, len 1) May 31 20:12:56 kronos /bsd: ihidev0: response: 04 00 03 04 May 31 20:12:56 kronos /bsd: ihidev0: HID command I2C_HID_CMD_SET_REPORT 6 (type 3, len 2): 03 00 May 31 20:12:56 kronos /bsd: ims0 at ihidev0 reportid 2: 2 buttons May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 4 not configured May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 5 not configured May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 7 not configured May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 8 not configured May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 12 not configured May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 65 not configured May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 66 not configured May 31 20:12:56 kronos /bsd: hid at ihidev0 reportid 67 not configured May 31 20:12:56 kronos /bsd: ihidev0: HID command I2C_HID_CMD_SET_POWER(1) May 31 20:12:56 kronos /bsd: ihidev0: ihidev_intr: invalid packet size (0 vs. 31) May 31 20:12:58 kronos /bsd: ihidev0: ihidev_open: state=0 refcnt=0 May 31 20:12:58 kronos /bsd: ihidev0: resetting May 31 20:12:58 kronos /bsd: ihidev0: HID command I2C_HID_CMD_SET_POWER(0) May 31 20:12:58 kronos /bsd: ihidev0: HID command I2C_HID_CMD_RESET May 31 20:12:58 kronos /bsd: ihidev0: ihidev_intr: invalid packet size (0 vs. 31) May 31 20:12:58 kronos /bsd: ihidev0: ihidev_intr: invalid packet size (0 vs. 31) May 31 20:12:59 kronos /bsd: ihidev0: HID command I2C_HID_CMD_SET_REPORT 6 (type 3, len 2): 03 00 May 31 20:12:59 kronos /bsd: ihidev0: ihidev_close: state=1 refcnt=1 May 31 20:12:59 kronos /bsd: ihidev0: HID command I2C_HID_CMD_SET_POWER(1) May 31 20:12:59 kronos /bsd: ihidev0: ihidev_open: state=0 refcnt=0 May 31 20:12:59 kronos /bsd: ihidev0: resetting May 31 20:12:59 kronos /bsd: ihidev0: HID command I2C_HI
Re: imt(4) Touchpad freezes from time to time
On Tue, 31 May 2022 at 15:37:21 +0200, Matthias Schmidt wrote: > Hi, > > weekly bump. Anyone (maybe jcs@) has an idea on how to debug this? You could enable IHIDEV_DEBUG in ihidev.c and see if it logs anything when the touchpad freezes.
Re: imt(4) Touchpad freezes from time to time
Hi, weekly bump. Anyone (maybe jcs@) has an idea on how to debug this? Cheers and thanks Matthias * Claudio Miranda wrote: > Greetings, > > I'm the person whom Matthias linked to. Seems as though we're having > the same issue with the touchpad in spite of them being different > laptops. I'm using the snapshot from Sunday, 22 May 2022, but previous > snapshots also had this issue. After some time, usually when using > Firefox, but also while using other apps when Firefox isn't being > used, the trackpad will just stop responding for a few seconds, or I > have to tap it to get it to respond after a while. On rare occasions, > it will completely stop working and I have to restart the laptop to > get it working again (logging out and back in of X11 or restarting > xenodm doesn't resolve it). > > Both our trackpads use imt(4). I've provided my dmesg, pcidump, and > usbdevs info below. If you require me to submit this separately, > please let me know and I'll do so. Thanks. > > Claudio Miranda > >
Re: imt(4) Touchpad freezes from time to time
Greetings, I'm the person whom Matthias linked to. Seems as though we're having the same issue with the touchpad in spite of them being different laptops. I'm using the snapshot from Sunday, 22 May 2022, but previous snapshots also had this issue. After some time, usually when using Firefox, but also while using other apps when Firefox isn't being used, the trackpad will just stop responding for a few seconds, or I have to tap it to get it to respond after a while. On rare occasions, it will completely stop working and I have to restart the laptop to get it working again (logging out and back in of X11 or restarting xenodm doesn't resolve it). Both our trackpads use imt(4). I've provided my dmesg, pcidump, and usbdevs info below. If you require me to submit this separately, please let me know and I'll do so. Thanks. Claudio Miranda dmesg: OpenBSD 7.1-current (GENERIC.MP) #543: Sun May 22 16:59:42 MDT 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 6342987776 (6049MB) avail mem = 6133391360 (5849MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xde39c000 (43 entries) bios0: vendor American Megatrends Inc. version "N.1.01" date 10/12/2020 bios0: EVOO Products EVC141-12 acpi0 at bios0: ACPI 6.0 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT FIDT SSDT MSDM MCFG HPET UEFI VFCT BGRT TPM2 IVRS SSDT CRAT CDIT SSDT SSDT SSDT SSDT WSMT SSDT acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) RLAN(S5) GPP4(S4) GPP5(S4) GPP6(S4) GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx, 2096.36 MHz, 17-18-01 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx, 2096.04 MHz, 17-18-01 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx, 2096.04 MHz, 17-18-01 cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 8-way L2 cache cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu2: disabling user TSC (skew=136) cpu2: smt 0, core 1, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx, 2096.04 MHz, 17-18-01 cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu3: 64KB 64b/line 4-way I-ca