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
83 lines
2.8 KiB
Text
83 lines
2.8 KiB
Text
# Alpine packages built into the apk-managed root, one per line.
|
|
#
|
|
# Edit this, then run `make alpine-lock` to resolve it, with every dependency,
|
|
# into world.lock -- exact versions and checksums. A normal build installs
|
|
# exactly what world.lock says from dist/alpine/, downloading only files it
|
|
# does not have yet, and never asks Alpine what is newer. That happens only
|
|
# when you run `make alpine-lock` again.
|
|
#
|
|
# Anything else is one `apk add` away on the running system; this list is
|
|
# what a fresh image starts with.
|
|
|
|
# The login shell. Replaces SchOS's own zsh port.
|
|
zsh
|
|
# Terminal descriptions for zsh, htop, and everything else that draws.
|
|
ncurses-terminfo-base
|
|
# The PCI and USB ID databases: lspci, fastfetch and Xorg read them.
|
|
hwdata-pci
|
|
hwdata-usb
|
|
# X on the framebuffer, with startx. /root/.xserverrc and .xinitrc (from
|
|
# mkaroot.sh) start it with -dumbSched and run Window Maker in it.
|
|
xorg-server
|
|
xf86-video-fbdev
|
|
xf86-input-evdev
|
|
xinit
|
|
# The desktop: Window Maker, a terminal for it, and a font for both.
|
|
windowmaker
|
|
xterm
|
|
font-dejavu
|
|
# Stress: terminal programs that draw, multiplex and poll. htop and btop read
|
|
# /proc hard; tmux wants ptys, sockets and signals; mc does everything at once.
|
|
htop
|
|
btop
|
|
tmux
|
|
mc
|
|
ncdu
|
|
fastfetch
|
|
# Games. In the terminal: nethack, the BSD set, and two toys. On X:
|
|
# lbreakouthd (SDL 2) and the classic X clients. Not lbreakout2: its stk.c
|
|
# hands vsnprintf a size of 511 + the prefix length, and Alpine's fortified
|
|
# headers trap on that before it loads its first image -- on Alpine too.
|
|
nethack
|
|
bsd-games
|
|
cmatrix
|
|
sl
|
|
lbreakouthd
|
|
xeyes
|
|
xclock
|
|
xcalc
|
|
# A browser: NetSurf, on GTK 3 -- glib's threads, cairo, pango, TLS. The step
|
|
# before WebKit (epiphany), which is `apk add` away.
|
|
netsurf
|
|
# curl's command line; libcurl is already here for NetSurf.
|
|
curl
|
|
# Sound for everything that speaks ALSA, SDL included: alsa-lib with the OSS
|
|
# plugin, pointed at /dev/dsp by schos-base's /etc/asound.conf. SchOS has OSS,
|
|
# not ALSA's kernel side, and SDL 3 has no OSS backend of its own.
|
|
alsa-lib
|
|
alsa-plugins
|
|
# udev: the daemon that names devices and tells Xorg (and libinput, and every
|
|
# Wayland compositor) what is plugged in. eudev is udev without systemd.
|
|
# `udevadm`, the rules, and libudev come with it.
|
|
eudev
|
|
eudev-libs
|
|
udev-init-scripts
|
|
|
|
# Privilege for ordinary users: setuid doas (opendoas), configured in /etc/doas.d.
|
|
doas
|
|
|
|
# Input and seats for Wayland: libinput turns the evdev nodes udev tagged into
|
|
# pointer, keyboard and touch events; libseat hands a compositor its devices
|
|
# without making it root, through seatd's socket (or directly when it is root).
|
|
# xf86-input-libinput is the same library for Xorg.
|
|
libinput
|
|
libinput-libs
|
|
libinput-udev
|
|
libseat
|
|
seatd
|
|
seatd-launch
|
|
# lsusb that reads /sys/bus/usb/devices, which busybox's does not.
|
|
usbutils
|
|
|
|
# usb.ids, which lsusb reads to name devices.
|
|
hwdata-usb
|