From a1072df0b0ab30ee466ebed67d18966fd030beb3 Mon Sep 17 00:00:00 2001 From: jgrogan Date: Sun, 9 Feb 2025 15:39:18 +0000 Subject: [PATCH] Add some linux internals notes --- src/articles/linux_internals.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/articles/linux_internals.md b/src/articles/linux_internals.md index a84353b..e5929c0 100644 --- a/src/articles/linux_internals.md +++ b/src/articles/linux_internals.md @@ -97,10 +97,6 @@ Important libraries: * `libnotify` * `libudev` - - - - ## Devices ## Devices are managed in user space with the `udev` utility - which has the following parts: @@ -124,6 +120,21 @@ Display servers can react to device input events via the `libinput` library, whi The Desktop-Bus (DBus) is a user space middleware allowing communication between multiple processes (e.g. IPC). +## Audio ## + +ALSA (Advanced Linux Sounds Architecture) - has both kernel and user-space elements, the later with alsa-lib. + + +Pipewire is a new low-level multimedia framework. + +## Power Managemenr ## + +UPower (previously DeviceKit-power) is a power manement middleware - it spawns `upowerd`. + +Systemd has some session and power management through its logind. The elogind is a standalone fork of this logind. + +The `systemctl suspend` analogue for elogind is `loginctl suspend`. + ## Other ## * avahi