Coby Levy

  • Content Count

  • Joined

  • Last visited

About Coby Levy

  • Rank

Recent Profile Visitors

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

  1. hi guys, i'm using NanoPi neo core using a battery and a volt booster. and I want to control the voltage booster to turn off all peripherals to conserve power and prevent battery drainage. I figured there's a PWR-LED pin connected to GPIOL10, which turns off when the system shut down. is there a way to map another GPIO in the same way so i could know when the system has shut down - so it will be safe to cut power off? thank you so much.
  2. hi, thank you for your reply. this is the output (it shows a proper toggles). gpiochip0: GPIOs 0-223, parent: platform/1c20800.pinctrl, 1c20800.pinctrl: gpio-0 ( |sysfs ) out hi gpio-10 ( |nanopi:blue:status ) out lo gpio-166 ( |cd ) in lo ACTIVE LOW gpio-204 ( |usb0_id_det ) in hi IRQ but I think I figured out what's the problem is, Apparently - the GPIO is malfunction, I might burned it. I tested it with a new installation, and did the
  3. hi everyone, I'm running latest Armbian 20.08.1 Buster with Linux 5.8.5-sunxi on a Nanopi Neo Core. I cannot understand why I cant turn GPIOA0 on\off, can't configure it as output. I have no problem with any other GPIOs, just this one. command i'm using: gpio mode 0 output gpio write 0 1 I managed to make the GPIO as Output using this command, but still no go - the output cannot be set. echo 0 > /sys/class/gpio/export echo out > '/sys/class/gpio/gpio0/direction' dmesg don't show any errors. I checked H3 documents, there's no
  4. Hi, I'm having a similar issue with NanoPi Neo Core, in my case i I'm using ili9341 with latest debian kernel (5.8). I noticed it happens only when I start X11. if i stay in command-line - evtest command works fine. can you confirm its the same on your side? thx.
  5. hi could you please explain how to apply this patch? all im getting is: $patch < 0001-fbtft-fb_ili9488.patch can't find file to patch at input line 5 Perhaps you should have used the -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/drivers/staging/fbtft/Kconfig b/drivers/staging/fbtft/Kconfig |index dad1ddcd7..fd27a2dea 100644 |--- a/drivers/staging/fbtft/Kconfig |+++ b/drivers/staging/fbtft/Kconfig -------------------------- thanks!!
  6. thank you for your reply, is there a way to get the older headers? or if you have an idea how to make an SPI LCD work on newer kernels..? i'm in the middle of a project and im so lost :-( tnx. BTW - keep up the great work you do here, i learned allot! cheers.
  7. hi guys, i'm using legacy kernel (because im using fbtft). a couple month ago i followed a tutorial on how to install SPI touch and lcd support, now when i try to install it again - im facing issues with downloading the headers - i see the download is not available anymore. so i tried to download the current headers - using: apt install linux-headers-current-sunxi and when i try to run "make" - i face errors regarding SSL certificates and more issues. i followed the exact steps i tired in the past with a clean installation. tried ubuntu and
  8. hello everyone, I managed to make a WaveShare's 3.5" SPI LCD (actually designed for arduino) work on NanoPi Neo Core running on armbian Bionic 4.19.57, but now i"m having some issues with the touchpanel (using the same SPI). i'm trying to figure out how where to connect the touchpanel cs pin, which from what i have read suppose to connect to CE1. could someone help me find out which pin is it? maybe this will help: root@nanopineo:~# dmesg | grep "spi0.1" [ 8.334791] spi spi0.1: spidev spi0.1 1000kHz 8 bits mode=0x00 [ 8.335492] spi spi0.1: spidev spi0