The current release of RPi.GPIO (0.63) expects to find hardware revision information under /proc/cpuinfo. This exists under armhf kernels, but not under arm64 kernels. By contrast, both kernels now provide revision information under /proc/device-tree/system/linux,revision.
A patched version of RPi.GPIO 0.65 is available from https://launchpad.net/~waveform/+archive/ubuntu/pkg/+packages which preferentially reads revision information from this source (falling back to /proc/cpuinfo to support older kernels). 0.65 was used as this also fixes a couple of nasty PWM bugs, including a memory leak.
The current release of RPi.GPIO (0.63) expects to find hardware revision information under /proc/cpuinfo. This exists under armhf kernels, but not under arm64 kernels. By contrast, both kernels now provide revision information under /proc/device- tree/system/ linux,revision.
A patched version of RPi.GPIO 0.65 is available from https:/ /launchpad. net/~waveform/ +archive/ ubuntu/ pkg/+packages which preferentially reads revision information from this source (falling back to /proc/cpuinfo to support older kernels). 0.65 was used as this also fixes a couple of nasty PWM bugs, including a memory leak.