On Sun, 27 Oct 2019 at 01:54, andy pugh <[email protected]> wrote: > > halcmd: loadrt hal_gpio > > Note: Using POSIX realtime > > HAL_GPIO: can't open /dev/gpiomem: 13 - Permission denied >
Solved. Raspbian stretch comes with udev rules to grant members of the "gpio" group access to /dev/gpiomem. So I had to add one of root or myself to the gpio group sudo adduser andypugh gpio And, after a restart, all seems to work. Tomorrow I will see whether it is the user, or root, that needs to be in the group. My testing didn't determine that as I failed to restart. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
