NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-evbarm/58754: No pull-up|down in BeagleBone GPIO pin



>Number:         58754
>Category:       port-evbarm
>Synopsis:       No pull-up|down in BeagleBone GPIO pin
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 16 15:10:00 +0000 2024
>Originator:     Dr. Nicola Mingotti
>Release:        10.99.12
>Organization:
Borghi SRL
>Environment:
NetBSD pulce5 10.99.12 NetBSD 10.99.12 (GENERIC) #0: Wed Oct  9 08:58:30 CEST 2024  p%netb1.borghi.lan@localhost:/home/p/systems/netbsd-CURRENT/arch/earmv7hf/sys/arch/evbarm/compile/GENERIC evbarm

>Description:
The BeagleBone Black permits to set an input GPIO pin
as pull-up or pull-down. This is very useful
at the moment of using the BBB to interface with 
external circuits. 

gpioctl(8) does not permit setting the "pu","pd" flags
which control the connection of on-board pull-up and pull-down resistors.


>How-To-Repeat:

---- rc.conf ---
gpio=yes
----------------

---- gpio.conf ---
gpio1 17 set in pd
------------------

#> reboot 

---- dmesg ----------
...
Checking quotas: done.
Configuring GPIO.
gpioctl: GPIOSET: Operation not supported by device
...
---------------------



>Fix:



Home | Main Index | Thread Index | Old Index