Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backlight device not found #481

Open
lindeMAX opened this issue Sep 30, 2024 · 3 comments
Open

backlight device not found #481

lindeMAX opened this issue Sep 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@lindeMAX
Copy link

The backlight slider does not show up and i'm getting an error message that swaync is not able find the device:

** (swaync:226274): WARNING **: 13:31:21.692: backlightUtil.vala:41: Could not find device /sys/class/backlight/amdgpu_b11/brightness

But the device does exist:

Me@MyDevice [01:30:00 PM] [/sys/class/backlight/amdgpu_bl1] 
-> % l
Permissions Size User Date Modified Name
.r--r--r--  4.1k root 30 Sep 13:27  actual_brightness
.rw-r--r--  4.1k root 30 Sep 13:27  bl_power
.rw-r--r--  4.1k root 30 Sep 13:27  brightness
lrwxrwxrwx     - root 30 Sep 13:27  device -> ../../card1-eDP-1
.r--r--r--  4.1k root 30 Sep 13:27  max_brightness
drwxr-xr-x     - root 30 Sep 13:27  power
.r--r--r--  4.1k root 30 Sep 13:27  scale
lrwxrwxrwx     - root 30 Sep 13:27  subsystem -> ../../../../../../../../class/backlight
.r--r--r--  4.1k root 30 Sep 13:27  type
.rw-r--r--  4.1k root 30 Sep 13:27  uevent

To Reproduce
Add the backlight widget to the config and configure it:

  "widgets": [
     "backlight",
     "volume",
     "mpris",
     "title",
     "dnd",
     "notifications",
     "buttons-grid"
   ],
   "widget-config":{
      "backlight": {
	   "subsystem": "backlight",
	   "device": "amdgpu_b11"
      },

Expected behavior
Get a slider to control the backlight

Desktop (please complete the following information):

  • OS: Arch
  • Installed swaync as official package
@lindeMAX lindeMAX added the bug Something isn't working label Sep 30, 2024
@lindeMAX
Copy link
Author

lindeMAX commented Sep 30, 2024

Sorry for opening this issue.
As soon as i opened it i noticed that i had a typo in the config.
It should be amdgpu_bl1 and not amdgpu_b11

@ErikReider
Copy link
Owner

Sorry for opening this issue. As soon as i opened it i noticed that i had a typo in the config. It should be amdgpu_bl1 and not amdgpu_b11

So it works now?

@lindeMAX
Copy link
Author

Yes, it's working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants