should auto-load i2c-dev module
Task Info (Flyspray) | |
---|---|
Opened By | Denilson Sá Maia (denilsonsa) |
Task ID | 76233 |
Type | Feature Request |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2022-10-17 23:47:58 UTC |
Status | Assigned |
Assignee | Jelle van der Waa (jelly) |
Assignee | Morten Linderud (Foxboron) |
Details
Description:
When installing the ddcutil package, the user needs additional steps to load the i2c-dev kernel module.
It would be nice if the ddcutil package could configure the system to auto-load the i2c-dev module.
For comparison, the ddccontrol package does it (because upstream installs it):
- https://aur.archlinux.org/packages/ddccontrol
- https://github.com/ddccontrol/ddccontrol/blob/master/src/lib/ddccontrol-i2c-dev.conf
Steps to reproduce:
- Install ddcutil.
- Add yourself to i2c group.
- Reboot, just to be sure.
- Try using ddcutil. PROBLEM: ddcutil requires module i2c-dev. EXPECTATION: That module should have been loaded automatically.
Proposed solution:
The package should include a /etc/modules-load.d/ddcutil.conf file containing one single line: "i2c-dev". That would be enough to make the module auto-load.