Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks a lot for helping me out. Can you please take a look into the reboot button also.
  2. I did but it had asked for permission which I missed somehow. I mean I used sudo but it again said permission denied for half of the command. Later used su command first and then gave loaded it easily.
  3. I short the PA10 pin to ground and its not shutting down. I have installed wiring pi and by giving command gpio readall I can see that PA10 is an input and voltage is high(pullup). But not shutting down. What could be the reason?
  4. After installing that and compiling, it gave a couple of warnings /boot/dtb/overlay/sun8i-h3-gpio-keys.dtbo: Warning (unit_address_vs_reg): /fragment@1/__overlay__/mykeypad/button@10: node has a unit name, but no reg property /boot/dtb/overlay/sun8i-h3-gpio-keys.dtbo: Warning (avoid_unnecessary_addr_size): /fragment@1/__overlay__/mykeypad: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Is that okay
  5. I am sorry but I am really a noob. Do I need to install something for this purpose?? Because it says this -bash: git-work/dtc/dtc: No such file or directory
  6. Great ! I would try that right away. A small query though. Can another button be hooked similar to this for a simple reboot also? By the way thanks a lot for this. You guys just rock.
  7. Yeah thats fine for me. Just want to implement that for safe shutdown as I would want to disconnect power after that. So is there simple way to implement that??
  8. Hi there. I want to use a push button on a GPIO to shutdown O Pi Zero safely. Though the acpid way runs fine on an O Pi One, I wonder if there is a way to make it work on a O Pi Zero. Please direct me if its documented somewhere already. Thanks
  9. See I am a noob at all this. But I found somewhere that these commands can release RAM. Maybe give them a try prior to compiling /usr/lib/armbian/armbian-ramlog write >/dev/null 2>&1 sync; echo 3 | sudo tee /proc/sys/vm/drop_caches The first one clears RamLog and the second clears the Buff/Cache. Try these just for fun. Or wait for the gurus to give the apt answer
  10. Thanks a lot. It works fine. It asked for a password when I entered the command like you just told, so how to use this command in rc.local or how to execute it at boot?? Edit: Simply added the line to /etc/rc.local Thanks again btw
  11. Hi ! I am running deb stretch server on OPi Zero LTS. To control LEDs I tried to follow this thread https://forum.armbian.com/topic/6306-orange-pi-zero-h2-status-led/ So if I edit the file /sys/class/leds/orangepi:green:pwr/trigger to select "cpu" but I get the following opi@orangepizero:/$ sudo echo "power" > /sys/class/leds/orangepi:green:pwr/trigger -bash: /sys/class/leds/orangepi:green:pwr/trigger: Permission denied With root as user, this is what I get root@orangepizero:/# echo "power" > /sys/class/leds/orangepi:green:pwr/trigger bash: echo: write error: Invalid argument however, if I edit the file using nano and delete all contents and then type cpu then it gets saved and green led shows intended status. Whats the standard procedure to do this??
  • Create New...