Files
RedBear-OS/config/redbear-device-services.toml
T
2026-04-21 16:15:17 +01:00

119 lines
2.0 KiB
TOML

# Red Bear OS shared device-service wiring
#
# Shared by profiles that ship the firmware/input/Wi-Fi control compatibility stack.
[packages]
redbear-quirks = {}
pciids = {}
fatd = {}
[[files]]
path = "/lib/firmware"
data = ""
directory = true
mode = 0o755
[[files]]
path = "/usr/bin/usbctl"
data = "/usr/lib/drivers/usbctl"
symlink = true
[[files]]
path = "/lib/pcid.d/intel_gpu.toml"
data = """
# PCID configuration for Intel GPU auto-detection
[[drivers]]
name = "Intel GPU (VGA compatible)"
class = 0x03
vendor = 0x8086
subclass = 0x00
command = ["redox-drm"]
[[drivers]]
name = "Intel GPU (3D controller)"
class = 0x03
vendor = 0x8086
subclass = 0x02
command = ["redox-drm"]
"""
[[files]]
path = "/lib/pcid.d/amd_gpu.toml"
data = """
# PCID configuration for AMD GPU auto-detection
[[drivers]]
name = "AMD GPU (VGA compatible)"
class = 0x03
vendor = 0x1002
subclass = 0x00
command = ["redox-drm"]
[[drivers]]
name = "AMD GPU (3D controller)"
class = 0x03
vendor = 0x1002
subclass = 0x02
command = ["redox-drm"]
"""
[[files]]
path = "/usr/lib/init.d/05_firmware-loader.service"
data = """
[unit]
description = "Firmware loading scheme"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
]
[service]
cmd = "firmware-loader"
type = { scheme = "firmware" }
"""
[[files]]
path = "/usr/lib/init.d/11_udev.service"
data = """
[unit]
description = "udev compatibility shim"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
]
[service]
cmd = "udev-shim"
type = { scheme = "udev" }
"""
[[files]]
path = "/usr/lib/init.d/11_wifictl.service"
data = """
[unit]
description = "Wi-Fi control daemon"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
"05_firmware-loader.service",
]
[service]
cmd = "redbear-wifictl"
type = { scheme = "wifictl" }
"""
[[files]]
path = "/usr/lib/init.d/10_evdevd.service"
data = """
[unit]
description = "Evdev input daemon"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
]
[service]
cmd = "evdevd"
type = "oneshot_async"
"""