-
Content Count
10 -
Joined
-
Last visited
About Schmurtz
-
Rank
Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
How to turn ON/OFF Orangepi PC from Button on GPIO
Schmurtz replied to lucidfaya's topic in Allwinner H2 & H3
... but can "easily" work I add a link to my topic here (I use pyA10 library but may be pyA20 is better ?) -
Hi, This topic was a initially a question and become a tutorial to use push buttons on orange pi PC. This tutorial has been made with an Orange PI PC running on "Armbian_5.35_Orangepipc_Debian_jessie_default_3.4.113.img". With this example you will be able to launch 3 different scripts for each push button : /usr/local/bin/run<Wpi GPIO number>short.sh -> immediately launched when a button is pressed /usr/local/bin/run<Wpi GPIO number>long.sh -> launched after a long pression /usr/local/bin/run<Wpi GPIO number>release.sh -> launch
-
How to turn ON/OFF Orangepi PC from Button on GPIO
Schmurtz replied to lucidfaya's topic in Allwinner H2 & H3
An easy alternative using the button on the motherboard of the Orange PI PC : http://forum.lemaker.org/thread-2982-1-1.html -
Thanks for that ! The script works fine but I'm not able to make the end of the configuration for apache. I found this tutorial but the last step for configuring apache not working : sudo a2enconf php7.0-fpm Any idea or help ?
-
Hi, I'm trying to put my OPI zero in mono instead of stereo by default. On ARMbian my alsa config file (/etc/asound.conf) looks like this : pcm.!default { type plug slave.pcm "dmixer" } pcm.!dmixer { type dmix ipc_key 1024 ipc_perm 0666 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 rate 44100 format S32_LE channels 2 } bindings { 0 0 1 1 } } ctl.!dmixer { type hw card 0 } I tried to add something like this but
-
OK so it's better like this. No danger for the material with a long press on the button ? Thanks for your help.
-
Hi, Same question for Orange PI zero, can I make that ? Is there any danger if I press the reset button during a long time ? Thank you ! Good picture (this photo has been edited to avoid mistakes from other users) :
-
This device has a really good price for a great H2+ implementation (with RJ45, wifi , 1GB ram and 8GB of flash storage). It seems that it boots with the pi one img but wifi won't work. Very interested by this topic, thank you.