SchOS/kernel/core
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 5ea03c4cf5 i2c-hid: the touchpad crash was a printf format, not the driver
The PSOGM on the ASUS TUF A15 was a page fault in cprintf, from probe(),
in the touchpad driver's own success message. cprintf had no field widths:
"%04x" printed literally and consumed no argument, so the "%s" after it
was handed the product ID as a string pointer. "%lx" misprinted the same
way -- "0x4275838976x" for 0xFEDC2000 -- on the line before.

The driver's formats are fixed, and cprintf now steps over flags and
widths and takes l/ll/z as 64-bit, so a directive it does not render can
no longer shift every argument after it. Until now any %ld or %lu printed
the number followed by a stray letter.

The touchpad on/off entry in the boot menu has served its purpose and is
gone; the verbose step trace stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 00:28:23 +02:00
..
console.c i2c-hid: the touchpad crash was a printf format, not the driver 2026-10-25 00:28:23 +02:00
dma.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
kalloc.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
klog.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
kmem.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ksym.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
main.c kernel: laptop touchpads over I2C-HID 2026-10-24 21:54:33 +02:00
panic.c i2c-hid on a stack of its own; PSOGM powers off after three minutes 2026-10-25 00:21:39 +02:00
qr.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sbuf.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sleeplock.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
spinlock.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
string.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
time.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
uaccess.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00