Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2024 16:40:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280290] hms(4): Broken fresh after boot, fixed by resume
Message-ID:  <bug-280290-227-iJ9ZsyYMdt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280290-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280290-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280290

david@catwhisker.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david@catwhisker.org

--- Comment #5 from david@catwhisker.org ---
I recently noticed this behavior on the laptop (a Dell Precision 7520) I use
when I go to other countries.  I had used it without issue in June (2024) a=
nd
had mostly been merely updating it by logging in to it from my "normal" lap=
top,
so I hadn't noticed the problem until a few days ago.

But on seeing this bug report, I tried suspend/resume ... and that did cause
the mouse to start functioning.

Here's what dmesg says about the mouse-related hardware:

g1-48(14.2-P)[1] grep -C 3 hid /var/run/dmesg.boot
ig4iic1: <Intel Sunrise Point-H I2C Controller-1> mem 0xed356000-0xed356fff=
 irq
17 at device 21.1 on pci0
ig4iic1: Using MSI
iicbus8: <Philips I2C bus (ACPI-hinted)> on ig4iic1
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
hidbus0: <HID bus> on iichid0
hms0: <DLL07B0:00 044E:120B Mouse> on hidbus0
hms0: 3 buttons and [XYWH] coordinates ID=3D1
hkbd0: <DLL07B0:00 044E:120B Keyboard> on hidbus0
kbd2 at hkbd0
iic8: <I2C generic I/O> on iicbus8
iicsmb8: <SMBus over I2C bridge> on iicbus8

This is while the machine is running:
g1-48(14.2-P)[3] uname -aUK
FreeBSD g1-48.catwhisker.org 14.2-PRERELEASE FreeBSD 14.2-PRERELEASE #264
stable/14-n269310-bbd018d0aaaf: Sat Oct 26 10:42:44 UTC 2024=20=20=20=20
root@g1-48.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd=
64
1401503 1401503

Now, after rebooting to head (and re-testing; yes, the behavior is the same=
),
it's running:
g1-48(15.0-C)[2] uname -aUK
FreeBSD g1-48.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #113
main-n273250-9d585fc395c3: Sat Oct 26 11:17:40 UTC 2024=20=20=20=20
root@g1-48.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd=
64
1500026 1500026

and here is what I find in dmesg.boot (after doing the suspend/resume):
g1-48(15.0-C)[3] grep -C 3 hid /var/run/dmesg.boot
ig4iic1: <Intel Sunrise Point-H I2C Controller-1> mem 0xed356000-0xed356fff=
 irq
17 at device 21.1 on pci0
ig4iic1: Using MSI
iicbus8: <Philips I2C bus (ACPI-hinted)> on ig4iic1
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
hidbus0: <HID bus> on iichid0
hms0: <DLL07B0:00 044E:120B Mouse> on hidbus0
hms0: 3 buttons and [XYWH] coordinates ID=3D1
hkbd0: <DLL07B0:00 044E:120B Keyboard> on hidbus0
kbd2 at hkbd0
iic8: <I2C generic I/O> on iicbus8
iicsmb8: <SMBus over I2C bridge> on iicbus8
--
ig4iic1: <Intel Sunrise Point-H I2C Controller-1> mem 0xed356000-0xed356fff=
 irq
17 at device 21.1 on pci0
ig4iic1: Using MSI
iicbus8: <Philips I2C bus (ACPI-hinted)> on ig4iic1
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
hidbus0: <HID bus> on iichid0
hkbd0: <DLL07B0:00 044E:120B Keyboard> on hidbus0
kbd2 at hkbd0
iic8: <I2C generic I/O> on iicbus8
iicsmb8: <SMBus over I2C bridge> on iicbus8
--
em0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
wlan0: link state changed to UP
hms0: <DLL07B0:00 044E:120B Mouse> on hidbus0
hms0: 3 buttons and [XYWH] coordinates ID=3D1

I will rebuild the kernel with IICHID_DEBUG enabled & update again when I h=
ave
more information.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280290-227-iJ9ZsyYMdt>