synos-driver-wrappers — Userspace Driver Interfaces
tags: [general]
synos-driver-wrappers — Userspace Driver Interfaces
Section titled “synos-driver-wrappers — Userspace Driver Interfaces”Classification: PUBLIC
Crate: fruit/crates/synos-driver-wrappers/
Milestone: v101+
License: MIT OR Apache-2.0
What It Is
Section titled “What It Is”synos-driver-wrappers provides userspace Rust wrappers for NIC, NVMe, ALSA,
and i915 driver interfaces. These wrappers enable the Syn_OS char-device modules
to be managed from userspace without requiring root privileges for all operations.
Architecture
Section titled “Architecture”Wrappers
Section titled “Wrappers”| Wrapper | Purpose |
|---|---|
nic | Network interface card configuration and statistics |
nvme | NVMe device management and SMART data |
alsa | Audio device control and mixer |
i915 | Intel GPU management (i915 kernel driver) |
How It’s Wired
Section titled “How It’s Wired”- Char-device modules — wrappers communicate with
/dev/synos_*devices - CAP_SYS_ADMIN — required for device access; gated by Curtain
- synos-ai-interaction — uses NIC/GPU wrappers for AI inference acceleration
- ALFRED — uses wrappers for hardware monitoring
Future Ideas
Section titled “Future Ideas”- AMD GPU support — add amdgpu wrappers
- RDMA — remote direct memory access for mesh networking
- DPDK — data-plane development kit for high-performance networking
- GPU compute — OpenCL/Vulkan compute wrappers for AI acceleration