Tagged articles
8 articles
Page 1 of 1
Linux Kernel Journey
Linux Kernel Journey
Nov 12, 2025 · Fundamentals

Linux /sys/bus Explained: Kernel Device Bus Architecture and Practical Exploration

The article delves into the Linux /sys/bus directory of the sysfs virtual file system, detailing how the kernel registers bus types, organizes devices and drivers, explains core structures like struct bus_type, walks through the device‑add and driver‑probe workflow with concrete USB examples, and demonstrates practical inspection using NanoCode.

KernelLinuxNanoCode
0 likes · 15 min read
Linux /sys/bus Explained: Kernel Device Bus Architecture and Practical Exploration
Linux Kernel Journey
Linux Kernel Journey
Nov 10, 2025 · Fundamentals

Understanding Linux /sys/bus: Principles and Practical Exploration

The article explains how the /sys/bus directory in the Linux sysfs virtual file system represents registered bus types, details its internal kernel structures such as struct bus_type, describes the bus registration and device‑driver matching process, and demonstrates practical inspection using NanoCode with concrete examples like USB storage devices.

KernelLinuxNanoCode
0 likes · 14 min read
Understanding Linux /sys/bus: Principles and Practical Exploration
Linux Code Review Hub
Linux Code Review Hub
Oct 13, 2025 · Fundamentals

Why Linux Uses Its Bus, Device, and Driver Model – A Deep Dive

The presentation walks through Linux’s bus, device, and driver architecture, covering concepts such as decoupling, unified interfaces, sysfs, class views, power management, ACPI matching, automatic module loading, and kernel objects like kobject, kref, and subsys, illustrating why the kernel is designed this way.

ACPIBus Modeldevice driver
0 likes · 2 min read
Why Linux Uses Its Bus, Device, and Driver Model – A Deep Dive
Liangxu Linux
Liangxu Linux
Sep 7, 2024 · Fundamentals

How Linux’s Device Driver Model and sysfs Work Together: A Deep Dive

This article explains the Linux kernel device driver model introduced in 2.6, how devices, buses, classes and drivers are represented, how the sysfs virtual filesystem exposes their hierarchy, and walks through the registration and matching process for platform buses, drivers, and devices with detailed code examples.

Linuxdevice driverplatform bus
0 likes · 28 min read
How Linux’s Device Driver Model and sysfs Work Together: A Deep Dive
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 2, 2021 · Mobile Development

Understanding the Android Power Supply Subsystem and healthd Daemon

The article explains how Android’s Linux power‑supply subsystem abstracts battery and charger status via sysfs nodes, how drivers register properties and trigger uevents, and how the healthd daemon listens to those events, parses attributes, and forwards detailed power information to user space.

AndroidDevice DriversHealthd
0 likes · 9 min read
Understanding the Android Power Supply Subsystem and healthd Daemon
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 12, 2021 · Fundamentals

Overview and Implementation Mechanisms of the Linux Firmware Subsystem

The Linux kernel’s Firmware Subsystem, built on sysfs and uevent, provides a layered mechanism—checking built‑in firmware, cache, default directories, then invoking a user‑space helper—to transfer firmware binaries from user space to drivers via request_firmware APIs, with asynchronous and direct options and timeout handling.

Device DriversLinuxfirmware
0 likes · 8 min read
Overview and Implementation Mechanisms of the Linux Firmware Subsystem