Bug 210738 - Can't set GPIO 47 on Raspberry Pi Zero.
Summary: Can't set GPIO 47 on Raspberry Pi Zero.
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-arm mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-01 10:21 UTC by Edward Tomasz Napierala
Modified: 2017-06-18 22:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Tomasz Napierala freebsd_committer 2016-07-01 10:21:45 UTC
Apparently the "ACT" LED on Raspberry Pi Zero is connected to GPIO 47.  However, for some reason I can't set it using gpioctl(1):

root@rpi-b:~ # gpioctl -c 47 out
gpio_pin_set_flags: Invalid argument
root@rpi-b:~ # gpioctl 47 
1
root@rpi-b:~ # gpioctl 47 0
gpio_pin_set: Invalid argument

It looks completely normal in "gpioctl -lv":

pin 47: 1       pin 47<OUT>, caps:<IN,OUT,PU,PD,UNKNOWN,UNKNOWN,UNKNOWN,UNKNOWN,UNKNOWN>