sidevesh / Luminance

A simple GTK application to control brightness of displays including external displays supporting DDC/CI
GNU General Public License v3.0
91 stars 4 forks source link

[Feature Request] Provide a button to modprobe i2c-dev automatically #7

Closed Kimiblock closed 1 year ago

Kimiblock commented 1 year ago

When kernel module i2c-dev is not loaded, ddcutil reports:

No /dev/i2c devices exist.
ddcutil requires module i2c-dev.

And external monitor(s) aren't detected by Luminance.

I believe Luminance should provide a button which runs the command pkexec modprobe i2c-dev or advise users to load that kernel module manually.

sidevesh commented 1 year ago

I would rather loading of kernel modules not be the responsibility of this app. I think adding link to a documentation page in the app in case of issues on how to have things set up to get it working makes sense. I will be adding that soon.