Linvincible wrote: > Hello, > > I finally updated to V1.19 > I used the port GPIO 22 to receive/send a signal to a power board that > cuts cleanly the power after the pi has shutdown > > Since upgrade to V1.19l, I can't write in /sys/class/gpio/export any > more : > > tc@piCorePlayer:~$ echo "22" > /sys/class/gpio/export > sh: write error: Device or resource busy > > But I can't see any process locking that file, and the file is empty: > > tc@piCorePlayer:~$ sudo lsof /var/lib/dpkg/lock |grep export > tc@piCorePlayer:~$ > > Any idea why? > > Thanks in advance!
Hi It seems like the export file have a permission problem. Please try : sudo chmod 777 /sys/class/gpio/export before you try your command Regards Steen piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://sites.google.com/site/picoreplayer/home *Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer* ------------------------------------------------------------------------ sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
