wluma: [Bug]: Default config even after changing config

Steps for reproducing the issue

Start wluma with modified config with webcam set as als source

What is the buggy behavior?

wluma gives error about als iio no device found and states intel backlight and dell keyboard are being used while in fact they were removed from the config

What is the expected behavior?

wluma should have launched fine and gave minimal errors if any and should use the modified config

Logs

RUST_LOG=debug wluma

[2025-06-08T23:38:10Z DEBUG wluma] == wluma v4.9.0 ==
[2025-06-08T23:38:10Z DEBUG wluma] Using Config {
als: Iio {
path: "/sys/bus/iio/devices",
thresholds: {
80: "dim",
20: "dark",
500: "bright",
800: "outdoors",
250: "normal",
0: "night",
},
},
output: [
Backlight(
BacklightOutput {
name: "eDP-1",
path: "/sys/class/backlight/intel_backlight",
capturer: Wayland(
Any,
),
min_brightness: 1,
predictor: Adaptive,
},
),
Backlight(
BacklightOutput {
name: "keyboard-dell",
path: "/sys/bus/platform/devices/dell-laptop/leds/dell::kbd_backlight",
capturer: None,
min_brightness: 0,
predictor: Adaptive,
},
),
],
}
[2025-06-08T23:38:10Z WARN  wluma] Skipping 'eDP-1' as it might be disconnected: No such file or directory (oserror 2)
[2025-06-08T23:38:10Z WARN  wluma] Skipping 'keyboard-dell' as it might be disconnected: No such file or directory (os error 2)
[2025-06-08T23:38:10Z INFO  wluma] Continue adjusting brightness and wluma will learn your preference over time.

thread 'als' panicked at src/main.rs:137:26:
Unable to initialize ALS IIO sensor: "No iio device found"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Version

4.9.0 installed via octopi on garuda with chaotic-aur repository

Environment

lsb_release -a; uname -a; pgrep -l sway; pacman -Q | egrep "(wlroots|vulkan|sway|hyprland|clang|rust)"; dpkg -l | egrep "(wlroots|vulkan|sway|hyprland|clang|rust)"; echo "WLR_DRM_NO_MODIFIERS=$WLR_DRM_NO_MODIFIERS"

LSB Version:    n/a
Distributor ID: Garuda
Description:    Garuda Linux Broadwing
Release:        Soaring
Codename:       Broadwing
Linux max-hpelitedesk800g1twr 6.14.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 09 May 2025 17:35:59 +0000 x86_64 GNU/Linux
clang 19.1.7-2
lib32-vulkan-icd-loader 1.4.313.0-1
lib32-vulkan-intel 1:25.1.3-2
lib32-vulkan-mesa-layers 1:25.1.3-2
lib32-vulkan-radeon 1:25.1.3-2
vulkan-headers 1:1.4.313.0-1
vulkan-icd-loader 1.4.313.0-1
vulkan-intel 1:25.1.3-2
vulkan-mesa-layers 1:25.1.3-2
vulkan-radeon 1:25.1.3-2
vulkan-swrast 1:25.1.3-2
vulkan-tools 1.4.313.0-1
WLR_DRM_NO_MODIFIERS=

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

I think it’s probably because i use the kde compositor so it doesn’t quite like that