Intel-backlight

Hi,

So my FN keys on my T480 laptop from Lenovo doesn't work in XFCE in FreeBSD 14.1 doesn't work. Anyhow I went to install the package "intel-backlight" and I wasn't able to install it (see attachment).

How can I get this package installed or get the backlight keys to function properly?

Thanks!
 

Attachments

  • IMG_6416.jpg
    IMG_6416.jpg
    367.6 KB · Views: 474
  • Screenshot_2024-11-09_20-58-58.png
    Screenshot_2024-11-09_20-58-58.png
    51.2 KB · Views: 335
backlight(8) from base can be used to control brightness. As suggested earlier graphics/drm-kmod is required. To control brightness with Fn-keys you need acpi_ibm(4) kernel module loaded and this in devd(8) configuration:
Code:
     notify 100 {
             match "system"                  "ACPI";
             match "subsystem"               "IBM";
             match "notify"                  "0x10";
             action "/usr/bin/backlight + 5";
     };
    
     notify 100 {
             match "system"                  "ACPI";
             match "subsystem"               "IBM";
             match "notify"                  "0x11";
             action "/usr/bin/backlight - 5";
    };
 
backlight(8) from base can be used to control brightness. As suggested earlier graphics/drm-kmod is required. To control brightness with Fn-keys you need acpi_ibm(4) kernel module loaded and this in devd(8) configuration:
Code:
     notify 100 {
             match "system"                  "ACPI";
             match "subsystem"               "IBM";
             match "notify"                  "0x10";
             action "/usr/bin/backlight + 5";
     };
   
     notify 100 {
             match "system"                  "ACPI";
             match "subsystem"               "IBM";
             match "notify"                  "0x11";
             action "/usr/bin/backlight - 5";
    };
Where does this go? Sorry for being such a noob, lol :D
 
Scrolling mouse over the battery monitor icon on the panel used to adjust brightness on a thinkpad 480 that I have used once; not sure if it was Xfce desktop or KDE.
 
I was having this same problem with my T480s. I followed the manual and set it up like this, following the example presented. At some point I had created the scripts shown here https://www.davidschlachter.com/misc/freebsd-acpi_video-thinkpad-display-brightness but this is much easier.

Bash:
     notify 100 {
             match "system"                  "ACPI";
             match "subsystem"               "IBM";
             match "notify"                  "0x10";
             action "/usr/bin/backlight -f /dev/backlight/backlight0 + 5";
     };

     notify 100 {
             match "system"                  "ACPI";
             match "subsystem"               "IBM";
             match "notify"                  "0x11";
             action "/usr/bin/backlight -f /dev/backlight/backlight0 - 5";
     };
 
  • Like
Reactions: drr
Back
Top