Hi,
I have recently received a Framework 13 AMD 7640 on which I installed Fedora 41 with Gnome. I am using the linux kernel version 6.11.4 with the up to date Bios version 3.05.
Unfortunately, the automatic brightness sensor is not working out of the box and I don’t know where to start. The current documentation does not really cover this case and older forum posts don’t seem to be as useful. This post Automatic Brightness in Fedora 39 covers the same topic but I can’t access the linked guide.
Maybe someone can give me a recommendation on where to look or how to solve this issue.
Thanks in advance!
1 Like
I have the same problem. I don’t even know where the option for turning it on in settings is
Hi,
I have this issue as well on my new Fedora 41 install.
After some digging, I found this bug report. According to it, there is a SELinux policy issue with the iio-sensor-proxy
daemon. You can check if it’s running for you with this command:
systemctl status iio-sensor-proxy.service
While waiting for the official fix, you can try the workaround mentioned there; it worked for me.
Here are the steps:
- Create a
fix-iio-sensor.te
file with the following content:
module fix-iio-sensor 1.0;
require {
type device_t;
type syslogd_var_run_t;
type iiosensorproxy_t;
type kernel_t;
type sysfs_t;
class file { create write };
class dir { add_name search write };
class sock_file write;
class chr_file { open read };
class unix_dgram_socket sendto;
}
#============= iiosensorproxy_t ==============
allow iiosensorproxy_t device_t:chr_file read;
allow iiosensorproxy_t device_t:chr_file open;
allow iiosensorproxy_t kernel_t:unix_dgram_socket sendto;
allow iiosensorproxy_t sysfs_t:dir { add_name write };
allow iiosensorproxy_t sysfs_t:file { create write };
allow iiosensorproxy_t syslogd_var_run_t:dir search;
allow iiosensorproxy_t syslogd_var_run_t:sock_file write;
- Compile a SELinux policy package with these commands:
checkmodule -M -m -o fix-iio-sensor.mod fix-iio-sensor.te
semodule_package -o fix-iio-sensor.pp -m fix-iio-sensor.mod
- Install the policy with:
sudo semodule -i fix-iio-sensor.pp
After rebooting the OS or restarting the daemon, the Automatic Brightness should work again, and the toggle should reappear in the Power settings.
Hope this helps!
Fix is in testing, you can install the update manually or wait for it to reach stable: FEDORA-2025-62c612355c — bugfix update for selinux-policy — Fedora Updates System
1 Like