You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see 3 potential solutions but would recommend that the first, despite requiring a bit more code change, will be the easiest to complete because it requires the least amount of work on setting up dependencies and seems more likely to work across many versions of OS and platforms.
option 1: install wiringpi. see the blink.sh example. Every call to /sys/**/gpio in jtagenum.sh would need to be changed to use the gpio binary provided by wiringpi.
option 2: install the fuse library sysfs-gpio-shim which is wrapper that provides the /sys/**/gpio interface again. However, it requires libgpiod version 2 which you have to install from sources. libgpiod version 2 is in the pipeline for rapsberrypi os so maybe it can also be installed more easily in future.
option 3: use builtin gpioget, gpioset commands. There's a discussion here about some issues around values not being saved which might be worth reading before using this option.
I currently cannot implement or test any of these solutions due to work/life constraints. Would be happy to merge any pull requests though.
It looks like this pin interface has been deprecated in the linux kernel for a while, and has finally been disabled in the latest version of PiOS:
https://www.thegoodpenguin.co.uk/blog/stop-using-sys-class-gpio-its-deprecated/
Any idea how to update JTAGEnum.sh to work with the new interface?
I took a stab at it, but haven't had any luck so far.
The text was updated successfully, but these errors were encountered: