Activity log for bug #1814118

Date Who What changed Old value New value Message
2019-01-31 14:50:07 Dave Jones bug added bug
2019-01-31 14:50:19 Dave Jones bug added subscriber Ubuntu Sponsors Team
2019-02-02 19:15:56 Mathew Hodson rpi.gpio (Ubuntu): importance Undecided Low
2019-02-05 18:21:51 Łukasz Zemczak rpi.gpio (Ubuntu): status New Fix Committed
2019-02-05 18:21:54 Łukasz Zemczak removed subscriber Ubuntu Sponsors Team
2019-02-05 18:22:19 Łukasz Zemczak nominated for series Ubuntu Cosmic
2019-02-05 18:22:19 Łukasz Zemczak bug task added rpi.gpio (Ubuntu Cosmic)
2019-02-05 18:22:19 Łukasz Zemczak nominated for series Ubuntu Bionic
2019-02-05 18:22:19 Łukasz Zemczak bug task added rpi.gpio (Ubuntu Bionic)
2019-03-14 16:05:31 Dave Jones description 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. [Impact] * RPi.GPIO currently does not work under arm64 kernels, simply due to hardware revision detection being slightly different. * The patched version operates as expected under both armhf and arm64 kernels by querying /proc/device-tree/system/linux,revision (a file that exists on modern armhf and arm64 kernels), falling back to /proc/cpuinfo (the former detection method, primarily to continue supporting any older armhf kernels). * This will also bump the version from 0.6.3 to 0.6.5 on bionic/cosmic. This fixes several nasty bugs around PWM handling and event detection. These issues didn't affect short-term experimentation with the library, but do affect long-running deployments (memory leak in PWM allocation, and a race-condition in setting up pin event detection). [Test Case] * On an arm64 kernel: * Install present version of python3-rpi.gpio (0.6.3-1ubuntu4) * Under python3 "from RPi import GPIO" * Present version returns RuntimeError: This module can only be run on a Raspberry Pi * Upgrade to proposed version (0.6.5-1ubuntu1) * Under python3 "from RPi import GPIO" * This should succeed * Run test cases under test/ (note: external wiring/components required; check source header for requirements) * Repeat procedure with armhf kernel to ensure no regression [Regression Potential] * On armhf kernels: low; the existing detection pathway is maintained for ancient kernels lacking /proc/device-tree/system/linux but modern armhf kernels appear to have this file anyway and work with the new detection code. The new version is also operating happily upstream in Raspbian stretch. * On arm64 kernels: none; the existing version simply fails to import anyway
2019-03-14 16:16:46 Dave Jones attachment added debdiff from rpi.gpio 0.6.3 https://bugs.launchpad.net/ubuntu/+source/rpi.gpio/+bug/1814118/+attachment/5246208/+files/rpi.gpio_0.6.5.patch
2019-03-14 16:17:08 Dave Jones bug added subscriber Ubuntu Sponsors Team
2019-03-16 20:24:21 Simon Quigley bug added subscriber Łukasz Zemczak
2019-03-19 02:37:01 Mathew Hodson rpi.gpio (Ubuntu Bionic): importance Undecided Low
2019-03-19 02:37:04 Mathew Hodson rpi.gpio (Ubuntu Cosmic): importance Undecided Low
2019-04-26 01:22:29 Mathew Hodson rpi.gpio (Ubuntu): status Fix Committed Fix Released
2019-06-25 16:57:50 Łukasz Zemczak rpi.gpio (Ubuntu Bionic): importance Low Medium
2019-06-25 17:02:28 Łukasz Zemczak rpi.gpio (Ubuntu Cosmic): status New Won't Fix
2019-06-25 17:02:36 Łukasz Zemczak rpi.gpio (Ubuntu Bionic): status New In Progress
2019-06-25 17:04:14 Łukasz Zemczak removed subscriber Ubuntu Sponsors Team
2019-07-22 15:15:35 Łukasz Zemczak rpi.gpio (Ubuntu Bionic): status In Progress Fix Committed
2019-07-22 15:15:37 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2019-07-22 15:15:39 Łukasz Zemczak bug added subscriber SRU Verification
2019-07-22 15:15:43 Łukasz Zemczak tags verification-needed verification-needed-bionic
2019-10-21 19:29:26 Brian Murray tags verification-needed verification-needed-bionic removal-candidate verification-needed verification-needed-bionic
2020-01-16 11:40:00 Łukasz Zemczak tags removal-candidate verification-needed verification-needed-bionic verification-done verification-done-bionic
2020-01-16 11:40:22 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2020-01-16 11:40:30 Launchpad Janitor rpi.gpio (Ubuntu Bionic): status Fix Committed Fix Released