lua-periphery
lua-periphery copied to clipboard
Support for Raspberry Pi 5
I'm having trouble getting this library to work on a Raspberry Pi 5. My understanding is that GPIO support has a few breaking changes on the Pi 5; this may or may not be related to my issue.
I've installed lua-periphery with luarocks and am using Lua 5.1. I'm on Bookworm and Linux kernel 6.6.
When using the sysfs GPIO mode I get the following error:
Opening GPIO: writing 'export': Invalid argument [errno 22]
When attempting to use the character device GPIO mode (to target /dev/gpiochip4), I get the following error.
c-periphery library built without character device GPIO support.
Let me know if there's any further information I can provide or any additional tests to run. Thanks for the help!