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

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.