Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gpio manipulation on rasp pi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 02/13/2016 03:23 AM, Marina Brown wrote:
> On 02/13/2016 02:54 AM, Radoslaw Kujawa wrote:
>> Hi Marina.
>
>>> On 13 Feb 2016, at 05:39, Marina Brown <marina%e271.net@localhost>
>>> wrote:
>>>
>>> If anyone can give some pointers on manipulating gpio pins in
>>> netbsd i would be very appreciative. I have had no luck with
>>> gpioctl. Here is my session so far.
>>>
>>> bash-4.3# gpioctl gpio0 25 set out pp gpioctl: GPIOSET:
>>> Operation not permitted
>
>> Please read the gpioctl(8) man page thoroughly, especially the
>> information about how securelevel impacts the ability to
>> manipulate pins after boot.
>
>> The correct solution is to prepare /etc/gpio.conf file as
>> explained in gpio.conf(5). Then you can use gpioctl after boot to
>> change the state of individual lines.
>
>> Best regards, Radoslaw
>
>
> Thank you ! Got it working !
>
> --- Marina
>
Here is what happened:
https://github.com/catskillmarina/netbsd-gpio-doc/blob/master/README.md
For my and other people's reference.
Thanks again.
- --- Marina
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWv3ezAAoJEDlDHyZNnAMbiLcP/AnW7/zTzYd39ooP+k5OETTP
Fqt2GR8LrDvknA7CISaChQa/Ys+EcjIzosU4Bzom691p96fDOPeUGpyCRqsKHWk0
SKG/sc3mn10YUNAYeRl3GNvETrYNivl1qIfqxESbhf+SLSWjmoDZXayIor6fKeEE
NfHhVG0mRz3tuMb0FxD7PeNvSlAI9l+NwXteSrsfcu9XIiEO1vpPdK2KSAbUWrMq
RZxFe5Vuw4J/+w9m4S7o1vLqw76vJKX0WC8fbG+KdkjP5vIOIEC1UcOkEa8fvjXO
8Xw56QdRcvWsj9CBDIiwScBQlVL6XeircMVQvr5eNUT+hMG4bfuydREXfmSOnGph
JWs1IJcdOt54gBEKrb57XPuZ8B9re39R5/vRwwzZWv/j0JqPv8IUBROFoKpR/X1J
tCT2WduCKV+cK3jLz7Es3ERSgHtJFiUDpXOjQg4aeXUESFiPj5sWqeIC2k8yFhCk
BNKxAFI7wxJuA/xylUYVQn0tPNBSuAPAodoCu8PHW7jM4817l8Jl4P2mq63XpmX2
MLMDOQ+VEssSzEh1iIXyqmSqP4N5hbBXI4DUuo63pCWZkjCzC+ZHJJ3qjBURNjT6
Ijp02j0J6Zn+yrvlRdp990chNZSIQTgoPKFMAFKgRcu4A5WpfTbmbhm4/cVFPIei
mb5VUIaplYnBXVZ2Bocr
=7X22
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index