Homegear on Raspberry Pi 2 with OSMC broken since April 2019 update

Indeed, that would work as well.

I’m curious, though. The problematic rule is called 996-fix-gpiomem, and the issue it is supposed to fix is probably Troubles with reading my GPIO device - #5 by sam_nazarko .

996-fix-gpiomem.rules tries (among other actions) to change the permissions on /sys/devices/virtual/gpio which seems not to exist on the Pi. Is that intentional? AFAICS it’s not present on any device with a modern kernel either.

Permissions on a Pi2 with 996-fix-gpiomem.rules:
osmc@pi2:~$ ls -ld /sys/class/gpio /sys/devices/virtual/gpio /sys/devices/platform/soc/*.gpio/gpio
ls: cannot access ‘/sys/devices/virtual/gpio’: No such file or directory
drwxrwx— 2 root osmc 0 Jun 25 23:50 /sys/class/gpio
drwxrwx— 3 root osmc 0 Jun 25 23:50 /sys/devices/platform/soc/3f200000.gpio/gpio