ddccontrol should set device permissions with udev

Bug #149719 reported by Emmet Hikory
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ddccontrol (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: ddccontrol

The documentation for ddccontrol indicates that the devices are restricted to root access by default, and that in order to provide access to normal users, one should execute `chmod a+rw /dev/i2c-*`. As a workaround, there is a gksu entry in the gddccontrol .desktop file.

In preference, there should be a udev rule that grants access to these devices to a restricted group so that gksu is no longer required.

Emmet Hikory (persia)
Changed in ddccontrol:
importance: Undecided → Wishlist
Revision history for this message
Will (guneeyoufix) wrote :

I agree that something could be done.
Because /dev/i2c-* is not accessible to all users, the gnome panel applet is useless, because it runs with user rights instead of admin rights.

I might become the new Ubuntu/debian package maintainer, as well as the "project leader" soon, so I'll have a look at it.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Confirming this bug, because it seems more people have this problem.

Changed in ddccontrol (Ubuntu):
status: New → Confirmed
Revision history for this message
whiterawen@gmail.com (whiterawen) wrote :

I'ts more right to add user to group i2c (as it works in indicator_gddccontrol) and set group to i2c for /dev/i2c-* devices.

Revision history for this message
whiterawen@gmail.com (whiterawen) wrote :

Example file /etc/udev/rules.d/11-i2c.rules works as described above:
KERNEL=="ic2-*", NAME="i2c-*", OWNER="root", GROUP="i2c", MODE="0660"

Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in ddccontrol (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.