boot menu: turn the touchpad driver off, and trace its steps
The ASUS TUF A15 freezes at the default resolution shortly after the loader hands over -- screen dark, Caps Lock dead -- and it is the only machine here with an I2C-HID touchpad, which the driver added in the same release now probes at boot. "Touchpad driver: on/off" in the F8 menu answers whether it is the cause on the machine itself, through a new SCHBOOT_OFF_FLAGS byte the kernel checks before starting the driver. A verbose boot now prints each step of the probe before taking it, so if it is the cause, the last line on the screen says which step. Also: S in the menu wrapped at five entries whatever the count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
This commit is contained in:
parent
d2c70c9129
commit
c79b1d6d6d
3 changed files with 49 additions and 16 deletions
|
|
@ -78,6 +78,13 @@
|
|||
// Zero on every ordinary boot, including every boot of a build made without
|
||||
// DEBUG=1 -- where the menu entry does not exist and nothing can set it.
|
||||
#define SCHBOOT_DEBUG_FLAG (SCHBOOT_BASE + 0x102)
|
||||
|
||||
// Drivers switched off at the boot menu, one bit each. For bisecting a machine
|
||||
// that hangs during boot without a rebuild: the newest driver that touches
|
||||
// hardware nobody tested it on is the first suspect, and turning it off from
|
||||
// the menu answers the question on the machine itself.
|
||||
#define SCHBOOT_OFF_FLAGS (SCHBOOT_BASE + 0x103)
|
||||
#define SCHBOOT_OFF_I2C_HID 0x01 // kernel/acpi/i2c_hid.c: touchpads
|
||||
#define SCHBOOT_MEDIA_CD 1
|
||||
|
||||
// Real-mode spelling of the same byte, for cdboot.S which has no 32-bit
|
||||
|
|
|
|||
Loading…
Reference in a new issue