Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 2021 09:17:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 256372] gpioctl fails to set input pull-up condition properly
Message-ID:  <bug-256372-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256372

            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@FreeBSD.org
          Reporter: paul.r.rzonca@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 val=
ue 0
*/pin 24: 0 24<IN>


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

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

*/you will see the configuration change to=20
*/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 RPi=
3B+
and it works properly. Lastly, these are all certified Raspberry Pi products
not knock-offs.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256372-7>