On Sunday 28 August 2022, Adam Mizerski wrote:
W dniu 28.08.2022 o 03:29, Michael Hamilton pisze:
I noticed on my existing tumbleweed desktop, when I login a setfacl appears to be setting permissions on /dev/i2c-1 and they are reassigned to sddm on logout.
...
I'm looking for clues that might throw some light on the situation.
Michael
Search for "uaccess" in /lib/udev/rules.d/ and /etc/udev/rules.d/
Very good clue. Thanks. # find /lib/udev/rules.d/ /etc/udev/rules.d/ -type f | xargs grep uaccess | grep i2 /lib/udev/rules.d/60-openrgb.rules:KERNEL=="i2c-[0-99]*", TAG+="uaccess" The older machine had the OpenRGB package installed. Not sure why: # zypper se -i --requires OpenRGB-0.7-2.6.x86_64 did not give any results. It could be because of Roccat mouse software that I have long since removed (after the Roccat mouse expired). Or maybe because my current motherboard has RGB lighting and I was once thinking of having a play (and since have forgotten about it). I installed the same package on the newer machine, and that resulted in both machines having the same permissions. Perhaps I should suggest a similar rule to the owner of the ddcutil package. It seems a better solution than setting up a i2cdev group. Thanks again, Michael