VOOZH about

URL: https://bugs.archlinux.org/task/76233

โ‡ฑ FS#76233 : [i2c-tools] should auto-load i2c-dev module


Arch Linux

FS#76233 - [i2c-tools] should auto-load i2c-dev module

Attached to Project: Community Packages
Opened by Denilson Sรก Maia (denilsonsa) - Monday, 17 October 2022, 23:47 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:09 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete ๐Ÿ‘ 100% complete
Votes 0
Private No

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:

1. Install ddcutil.
2. Add yourself to i2c group.
3. Reboot, just to be sure.
4. 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.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:09 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/i2c-tools/issues/1
๐Ÿ‘ Link to this comment
Comment by Mark Wagie (yochananmarqos) - Tuesday, 18 October 2022, 00:10 GMT
It's not a packaging issue. It's up to the user to follow the upstream instructions: https://www.ddcutil.com/kernel_module/
๐Ÿ‘ Link to this comment
Comment by Andrew Shark (ashark) - Sunday, 08 January 2023, 02:03 GMT
  • Field changed: Percent Complete (100% โ†’ 0%)
Not a duplicate of .
But the path I think should be /usr/lib/modules-load.d/ddcutil.conf with the line "i2c-dev".
๐Ÿ‘ Link to this comment
Comment by Toolybird (Toolybird) - Sunday, 08 January 2023, 02:05 GMT
FWIW, Fedora implement this in their "i2c-tools" pkg [1].

[1] https://src.fedoraproject.org/rpms/i2c-tools/blob/rawhide/f/i2c-tools.spec#_97
Duplicate tasks of this task (0)

Loading...

Powered by Flyspray