[Bug 256372] gpioctl fails to set input pull-up condition properly

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Jun 2021 09:17:43 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256372

            Bug ID: 256372
           Summary: gpioctl fails to set input pull-up condition properly
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm_at_FreeBSD.org
          Reporter: paul.r.rzonca_at_gmail.com

load SD card image on either a RPi4 or Pi 400
pick a GPIO pin e.g. 24
enter the following as root;

#gpioctl -l | grep 24

*/you will see the status of pin 24 usually defaults as an <IN>put with value 0
*/pin 24: 0 24<IN>


*/Let's set this input as Pulled-Up 

#gpioctl -c 24 IN PU
#gpioctl -l | grep 24

*/you will see the configuration change to 
*/pin 24: 0 24<IN,PU>
*/but the pin value of 0 should be 1 now, since it has been pulled-up

I verified that this is exclusive to the RPi 4 family only. Tested on a RPi3B+
and it works properly. Lastly, these are all certified Raspberry Pi products
not knock-offs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 02 2021 - 09:17:43 UTC

Original text of this message