Closed GarlandKey closed 2 months ago
I alter the illuminanced.toml file to match my os and machine settings. Logs shows that no such file exists, but they do.
illuminanced.toml
OS: Arch Linux Host: Laptop 16 Kernel: 6.9.3 DE: Plasma 6.0.5 CPU: AMD Ryzen 9 7940HS GPU: AMD ATI Radeon RX 7700S Memory: 62092MiB
/etc/illuminanced.toml
/etc/illuminanced.toml [daemonize] log_to = "/var/log/illuminanced.log" pid_file = "/run/illuminanced.pid" log_level = "DEBUG" [general] check_period_in_seconds = 5 light_steps = 10 min_backlight = 70 step_barrier = 0.1 max_backlight_file = "/sys/class/backlight/amdgpu_bl2/max_backlight" backlight_file = "/sys/class/backlight/amdgpu_bl2/brightness" illuminance_file = "/sys/bus/iio/devices/iio:device0/in_illuminance_raw" event_device_mask = "/dev/input/event*" event_device_name = "Asus WMI hotkeys" enable_max_brightness_mode = true filename_for_sensor_activation = ""
/var/log/illuminanced.log
06:55:25 [DEBUG] (1) illuminanced: Points: [LightPoint { illuminance: 0, light: 0 }, LightPoint { illuminance: 20, light: 1 }, LightPoint { illuminance: 300, light: 3 }, LightPoint { illuminance: 700, light: 4 }, LightPoint { illuminance: 1100, light: 5 }, LightPoint { illuminance: 7100, light: 10 }] 06:55:25 [ERROR] Cannot read file `/sys/class/backlight/amdgpu_bl2/max_backlight`: No such file or directory (os error 2)
[RESOLVED] I had the setting for max_backlight_file as max_backlight instead of max_brightness.
max_backlight_file
max_backlight
max_brightness
Unexpected Behavior
I alter the
illuminanced.toml
file to match my os and machine settings. Logs shows that no such file exists, but they do.Specs
OS: Arch Linux Host: Laptop 16 Kernel: 6.9.3 DE: Plasma 6.0.5 CPU: AMD Ryzen 9 7940HS GPU: AMD ATI Radeon RX 7700S Memory: 62092MiB
Settings
/etc/illuminanced.toml
Logs
/var/log/illuminanced.log