SchOS/ports
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz d650ff433b udev: PCI bridges as parents, USB interfaces, the controller's own address, and the attributes lsusb reads
PCI devices now nest under the bridge they sit behind (from each bridge's
secondary..subordinate window), so a controller behind a root port is where
Linux would put it. USB interfaces (1-5:1.0) are directories with class,
number, a driver link and a uevent with INTERFACE= and a MODALIAS, announced
after the drivers have been offered the device and removed before it. The xHCI
driver tells the USB core its PCI address when it comes up, replacing the guess
that bus N was the Nth controller. Devices and root hubs carry version,
bMaxPacketSize0, bNumInterfaces, bmAttributes and the rest; lsusb -t from
Alpine's usbutils now draws the tree.

Checked on q35 with an xHCI behind a pcie-root-port and a USB keyboard on each
controller. Plain lsusb still fails: libusb wants usbfs, and refuses a kernel
that calls itself 0.1.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EVRhxi9zpdW2uDUN4FVcao
2026-10-26 17:54:13 +01:00
..
alpine udev: PCI bridges as parents, USB interfaces, the controller's own address, and the attributes lsusb reads 2026-10-26 17:54:13 +01:00
fastfetch Faster ISO builds (69 s to 9 s) and a faster write.sh check 2026-10-25 19:28:03 +01:00
JetBrains_Mono Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
kilo licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
linux-headers input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00
lwip licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
mk licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
mksh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
musl exec, mmap, musl: dynamic linking 2026-10-24 10:59:52 +02:00
ncurses licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
Roboto Initial commit: Schunix as it stands before the SchOS rename 2026-08-09 13:47:01 +02:00
toybox licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
uacpi acpi: uACPI, for interrupt routing, the power button and power-off 2026-10-22 16:12:28 +02:00
zsh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
zstd SCFF: the live root ships compressed, with Xorg and Window Maker 2026-10-24 21:17:31 +02:00
Makefile input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00