Closed nh2 closed 4 years ago
Thanks for the heads up. Having spent the past couple days wrestling with builds in launchpad, copr, and especially OBS, I'm impressed with the simplicity of your configuration file.
Strictly speaking, ddcutil doesn't require root. It requires that the user have RW privileges on /dev/i2c devices. Depending on packaging, initialization of driver dev_i2c may or may not create group i2c, and assign that group to the /dev/i2c devices. In that case, all that is required is to add a user to group i2c. If not, then group i2c has to be created, and a udev rule installed to assign the /dev/i2c devices to group i2c. A sample rule is provided in file 45.ddcutil-2c.rules.
Your automation likely catches it, but I just pushed out release 0.1.2, which fixes a major bug in release 0.1.1 (blank combo boxes for non-continuous features).
Regards, Sanford
On 06/26/2020 02:02 PM, Niklas Hambüchen wrote:
Hey,
Thanks for |ddcutil|/ |ddcui|, it is super useful.
I just wanted to let you know that I've packaged |ddcui| for |nixpkgs| https://github.com/NixOS/nixpkgs/pull/91627 which makes it available in NixOS, as well as being easily installable on any Linux distribution via nix https://nixos.org/download.html, using |nix-env -iA ddcui|.
Because it requires root, I then run it with |sudo $(which ddcui)|.
Thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rockowitz/ddcui/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMGY3VAXWKDAHNZ5JPP7SDRYTPCJANCNFSM4OJRNW2A.
Having spent the past couple days wrestling with builds in launchpad, copr, and especially OBS, I'm impressed with the simplicity of your configuration file.
Yes, the fact that it's based on a real programming language makes code reuse and automation easy.
release 0.1.2
Thanks, https://github.com/NixOS/nixpkgs/pull/91770
It requires that the user have RW privileges on /dev/i2c devices.
That's good to know, thanks! For nix-on-Ubuntu (where I'm currently testing), unfortunately there's no i2c
group, but for nix-on-NixOS it can be done easily.
I've filed that as https://github.com/NixOS/nixpkgs/issues/91771
On 6/29/20 11:37 AM, Niklas Hambüchen wrote:
Having spent the past couple days wrestling with builds in launchpad, copr, and especially OBS, I'm impressed with the simplicity of your configuration file.
Yes, the fact that it's based on a real programming language makes code reuse and automation easy.
release 0.1.2
Thanks, NixOS/nixpkgs#91770 https://github.com/NixOS/nixpkgs/pull/91770
It requires that the user have RW privileges on /dev/i2c devices.
That's good to know, thanks! For nix-on-Ubuntu (where I'm currently testing), unfortunately there's no |i2c| group, but for nix-on-NixOS it can be done easily.
I've filed that as NixOS/nixpkgs#91771 https://github.com/NixOS/nixpkgs/issues/91771
The Ubuntu i2c-tools package creates group i2c if it does not already exist, and adds file /lib/udev/rules.d/60-i2c-tools.rules to assign that group the the /dev/i2c devices. The Debian package does the same.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rockowitz/ddcui/issues/20#issuecomment-651198939, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMGY3WG553J4QDFCCYCYA3RZCYLTANCNFSM4OJRNW2A.
Hey,
Thanks for
ddcutil
/ddcui
, it is super useful.I just wanted to let you know that I've packaged
ddcui
fornixpkgs
which makes it available in NixOS, as well as being easily installable on any Linux distribution via nix, usingnix-env -iA ddcui
.Because it requires root, I then run it with
sudo $(which ddcui)
.Thanks!