FS#70503 - [ddcutil] expose udev rules and create i2c group

Attached to Project: Arch Linux
Opened by Andrew Shark (ashark) - Sunday, 18 April 2021, 19:23 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 January 2023, 01:52 GMT
Task Type Support Request
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

I am wondering if ddcutil package should expose some udev rules.

I want to give my user ability to communicate with monitors without needing sudo. I have found a documentation on this: https://www.ddcutil.com/i2c_permissions/.
ddcutil package contains examples in /usr/share/ddcutil/data/. It mentions an i2c group:

KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"

I would like to add my user to i2c group. But currently neither ddcutil nor i2c-tools package create this group.

I am wondering if ddcutil or i2c-tools _should_ create this group in Arch Linux?
Or maybe this group is redundant as we already have video group?

Archwiki says that some packages put udev rules to /usr/lib/udev/rules.d/. Shouldn't ddcutil expose 45-ddcutil-i2c.rules there?

Additional info:
* package version(s): i2c-tools 4.2-1, ddcutil 1.1.0-1
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 08 January 2023, 01:52 GMT
Reason for closing:  None
Additional comments about closing:  Reporter says "i2c-tools 4.3-3 already contains /usr/lib/udev/rules.d/45-i2c-tools.rules which sets i2c group on files. ddcutil 1.3.0-1 contains sample config in /usr/share/ddcutil/data/45-ddcutil-i2c.r ules"
Comment by Toolybird (Toolybird) - Tuesday, 18 October 2022, 04:36 GMT
Dupe  FS#76233 

Loading...