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 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWvugEAAoJEDlDHyZNnAMbgXcQAKlDk/XwBM5t7AEq2upbOu6Y
5+5nflWNVQ5wT7ePta+eijoTb2ICo9kZcUPK7WviRS7HkYWTpuuKMczU6HdtJylX
wOd2INDdxPZHwAg2KLA6XS1Gzb9AjDPMKtJXxolXty6uHFzmxfcnH6YSW2Ypq/n7
j4U144UPmrr1p0ofOmwl6PAEBWSM/1WkHgBRxUdxe2OlWBsYDaHgQJc7wmSiG8AQ
qp7N9xocKHwVJRShwHiW3z9JWzjK1q9GDneN3Pa4DBUdMC9qazQMed+f0dQo4C7j
4BMdBVp80Bdy7nYoDtfEVLiT3kf+AxgT7+7cmcDEJEabRMai7NT7YdrRBr7Sk+EY
HyfHLEJSyEdgxBZ5hoXEgJ3meImDzEACfwpO2FqFx1fQUA89DLI9YqF+EKeB/G3m
+kvTTt2rk3DUDqcUB4LAYtn3fYxtDx90s2piSdbdK64IyUJp+UUp/swcWRLhJP3l
IjgXjFDviUoNQBz1PKs7FkXTXYNJl/0F1QvvoNWog3mcgysYQ2PXqrRaRddcjLiv
MBQiICA0dHnzetkMQ5VfBIst5D+H5iyIvpM9AMtlcJ7PwDd4Clks2kFCkVkExAn7
n55Pi1JB/9zWkDzLuevpuwB0kV5UzOVS4wsEa9ugjMAJh0wxrUvcq9LDy0v1YbNa
gv8Qlcv3Mo6ufyPMczzO
=Y4Ee
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index