Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2024 22:13:21 +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-g4bswWPg1w@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

--- Comment #8 from david@catwhisker.org ---
(In reply to Vladimir Kondratyev from comment #7)
No worries! :-)

I appended

# For debugging the hms (mouse)
hw.iichid.debug=3D1

to /boot/loader.conf, then rebooted (verbosely, in case that might shed
additional light).

Still nothing iich-related in /var/log/console.log, but /var/log/messages h=
as:

g1-48(15.0-C)[14] grep -i iich /var/log/messages
<2>1 2024-10-26T11:01:50.461180+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T11:01:50.461191+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T11:32:59.567441+00:00 g1-48.catwhisker.org kernel - - -
Preloaded elf obj module "/boot/kernel/iichid.ko" at 0xffffffff82ef3050.
<2>1 2024-10-26T11:32:59.591939+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T11:32:59.591965+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T11:36:15.737156+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T11:36:15.737167+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T15:32:14.805002+00:00 g1-64.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T15:32:14.805010+00:00 g1-64.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T15:50:08.682212+00:00 g1-64.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T15:50:08.682223+00:00 g1-64.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T16:02:16.598252+00:00 g1-64.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T16:02:16.598263+00:00 g1-64.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T16:12:59.568215+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T16:12:59.568219+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T16:28:25.980090+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T16:28:25.980098+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T16:49:35.247032+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T16:49:35.247044+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T16:51:13.720991+00:00 g1-48.catwhisker.org kernel - - -
iichid0: iichid device close
<2>1 2024-10-26T16:51:13.721049+00:00 g1-48.catwhisker.org kernel - - -
iichid0: detached
<2>1 2024-10-26T16:51:13.721083+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T16:51:13.721100+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T21:55:39.168783+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T21:55:39.168796+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T21:59:35.596384+00:00 g1-48.catwhisker.org kernel - - -
Preloaded elf obj module "/boot/kernel/iichid.ko" at 0xffffffff82ef5108.
<2>1 2024-10-26T21:59:35.617157+00:00 g1-48.catwhisker.org kernel - - -
iichid0:   IICbus addr       : 0x2C
<2>1 2024-10-26T21:59:35.617166+00:00 g1-48.catwhisker.org kernel - - -
iichid0:   HID descriptor reg: 0x20
<2>1 2024-10-26T21:59:35.617175+00:00 g1-48.catwhisker.org kernel - - -
iichid0: HID command I2C_HID_CMD_DESCR at 0x20
<2>1 2024-10-26T21:59:35.617184+00:00 g1-48.catwhisker.org kernel - - -
iichid0: HID descriptor: 1e 00 00 01 b2 00 02 00 03 00 53 00 00 00 00 00 05=
 00
06 00 4e 04 0b 12 23 01 00 00 00 00
<2>1 2024-10-26T21:59:35.617194+00:00 g1-48.catwhisker.org kernel - - -
iichid0: <DLL07B0:00 044E:120B I2C HID device> at addr 0x2c irq 51 on iicbu=
s8
<2>1 2024-10-26T21:59:35.617203+00:00 g1-48.catwhisker.org kernel - - -
iichid0: HID command I2C_HID_CMD_SET_POWER(0)
<2>1 2024-10-26T21:59:35.617213+00:00 g1-48.catwhisker.org kernel - - -
iichid0: HID command I2C_HID_CMD_RESET
<2>1 2024-10-26T21:59:35.617222+00:00 g1-48.catwhisker.org kernel - - -
iichid0: allocated irq at 0xfffff8004078fb00 and rid 0
<2>1 2024-10-26T21:59:35.617240+00:00 g1-48.catwhisker.org kernel - - -
iichid0: successfully setup interrupt
<2>1 2024-10-26T21:59:35.617249+00:00 g1-48.catwhisker.org kernel - - -
hidbus0: <HID bus> on iichid0
<2>1 2024-10-26T21:59:35.617259+00:00 g1-48.catwhisker.org kernel - - -
iichid0: HID command I2C_HID_REPORT_DESCR at 0x2 with size 178
<2>1 2024-10-26T21:59:35.617268+00:00 g1-48.catwhisker.org kernel - - -
iichid0: HID report descriptor: 05 01 09 02 a1 01 85 01 09 01 a1 00 05 09 1=
9 01
29 03 15 00 25 01 75 01 95 03 81 02 75 05 95 01 81 03 05 01 09 30 09 31 15 =
81
25 7f 75 08 95 02 81 06 a1 02 09 38 95 01 81 06 c0 a1 02 05 0c 0a 38 02 81 =
06
c0 c0 c0 05 01 09 06 a1 01 85 02 05 07 19 e0 29 e7 15 00 25 01 75 01 95 08 =
81
02 75 08 95 01 81 01 05 07 19 00 29 73 15 00 26 73 00 75 08 95 06 81 00 c0 =
06
01 ff 09 01 a1 01 85 03 09 01 15 00 26 ff 00 95 1b 81 02 85 04 09 02 95 50 =
81
02 85 05 09 03 95 07 b1 02 85 06 09 04 81 02 c0 06 02 ff 09 01 a1 01 85 07 =
09
05 95 86 b1 02 c0
<2>1 2024-10-26T21:59:35.617306+00:00 g1-48.catwhisker.org kernel - - -
iichid0: iichid device open
<2>1 2024-10-26T21:59:35.617315+00:00 g1-48.catwhisker.org kernel - - -
iichid0: HID command I2C_HID_CMD_SET_POWER(1)

Note that as of the point I captured the above, I had:
* rebooted the machine;
* logged in (via ssh)
so I have not logged in via xdm (as I would normally for a laptop), nor hav=
e I
subjected it to a suspend/resume cycle.

I'm happy to poke at it in various ways, given suitable clues.

--=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-g4bswWPg1w>