ca32adf6ba
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
125 lines
2.1 KiB
TOML
125 lines
2.1 KiB
TOML
# Red Bear OS shared device-service wiring
|
|
#
|
|
# Shared by profiles that ship the firmware/input/Wi-Fi/FAT control compatibility stack.
|
|
|
|
[packages]
|
|
redbear-quirks = {}
|
|
pciids = {}
|
|
fatd = {}
|
|
|
|
[[files]]
|
|
path = "/lib/firmware"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[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 = [
|
|
"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 = [
|
|
"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 = [
|
|
"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 = [
|
|
"00_pcid-spawner.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "evdevd"
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/15_fatd.service"
|
|
data = """
|
|
[unit]
|
|
description = "FAT filesystem scheme daemon"
|
|
requires_weak = [
|
|
"00_pcid-spawner.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "fatd"
|
|
args = ["disk/live-nvme", "fat-live"]
|
|
type = "oneshot_async"
|
|
"""
|