hadess / switcheroo-control

D-Bus service to check the availability of dual-GPU
9 stars 1 forks source link

main: Work-around SecureBoot being turned on #19

Closed hadess closed 5 years ago

hadess commented 5 years ago

And not SELinux being enforcing.

When SecureBoot is turned on, access to debugfs is turned off. Try to detect whether there is any vga_switcheroo using udev, but skip over access problems if debugfs isn't available.

Closes: #12