SchOS/kernel/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz c6d90e69fa GMMOS: I2C keyboards, and every keyboard at once
The second micro driver: i2c_hid.c with everything but reading a
keyboard's input reports taken out. No ACPI -- AML cannot run on a dead
kernel -- so the live driver hands over what it found at boot
(i2c_hid_keyboards): the DesignWare controller, the address, the report
size, the AMD GPIO pin if there is one, and the parsed report descriptor.
No power commands, no reset, a read-only transfer.

usb_hid.c's report-protocol rewrite is split out as hid_boot_report(),
which does nothing but rewrite, and kernel/gmmos/hidkeys.c turns boot
reports into keys for this and the USB micro drivers to come.

GMMOS now probes every micro driver and polls all that answer.

Not run: QEMU has no DesignWare I2C, and the laptops at hand have PS/2
keyboards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 01:15:50 +02:00
..
audio include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
bus/xhci i2c-hid: the touchpad crash was a printf format, not the driver 2026-10-25 00:28:23 +02:00
gpu display: a 64-bit framebuffer address, no mirroring onto itself 2026-10-23 15:46:42 +02:00
net net: downloads at tens of megabits, not one 2026-10-24 15:28:32 +02:00
storage include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
usb GMMOS: I2C keyboards, and every keyboard at once 2026-10-25 01:15:50 +02:00
registry.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00