SchOS/include
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
..
arch Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps 2026-10-25 13:43:27 +01:00
core 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
dev PCI and USB devices in the /sys/devices tree, with uevents and USB hot-plug 2026-10-26 15:51:28 +01:00
fs Users and permissions: accounts, login, enforced file permissions, setuid, su, passwd, doas 2026-10-26 13:16:07 +01:00
gfx Boot manager: Niveus window, keys and wells, Instrument Sans, pointer, other systems, working power entries 2026-10-26 15:31:39 +01:00
gmmos GMMOS: USB keyboards on xHCI 2026-10-25 01:23:14 +02:00
ldls ldls: the top-2 GB window Linux modules link against 2026-10-24 22:12:40 +02:00
net udev works: /sys device tree, uevent netlink, datagram sockets with per-message credentials 2026-10-26 11:39:13 +01:00
uapi Demand paging, the RTL8168H, links that come up late, and Ctrl+Alt+F1..F12 2026-10-25 11:27:48 +01:00