• Content Count

  • Joined

  • Last visited

Everything posted by lagerschaden

  1. I found an error in the U-boot messages: ** File not found /boot/boot.env ** Therefore I took a new SD-card and copied Armbian 5.65 with kernel 4.14.78 onto it. Same error occurs. Could this be the reason for the wrong display mode?
  2. I have the same problem with an orangepi one and ARMBIAN 5.60 stable Debian GNU/Linux 9 (stretch) 4.14.70-sunxi I have a VGA Monitor connected via a HDMI-to-VGA adpater which runs well under Armbian 3.4 and h3disp set to 1024x768@60 which is the max resolution of this monitor. The adapter also runs fine with my normal monitor Hanns.G and with any PC I own and any resolution. When I changed to Armbian 4.14, the resolution of the video output is always set to 1920x1080@60, regardless which parameter I change in /boot/armbianEnv.txt or /boot/boot.cmd recompile and boot twi
  3. Try the /etc/udev/rules.d/97-gpio.rules from
  4. The Orange Pi Zero Plus has only a CVBS/FBAS/RCA video output, therefore I believe that only a televison but no VGA or DVI/HDMI monitor can be used (or headless use). Has anybody an idea how to convert CVBS to VGA or DVI/HDMI? L.
  5. It also runs on Armbian 4.14.18 and 4.14.65 with no root privileges, but you must change the file # /etc/udev/rules.d/97-gpio.rules SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\ chown -R root:gpio /sys/class/gpio && chmod -R 0770 /sys/class/gpio &&\ chown -R root:gpio /sys/devices/platform/soc && chmod -R 0770 /sys/devices/platform/soc'" add a group gpio and make the user member of this group, then reboot
  6. I downloaded Armbian_5.38_Debian_stretch_next_4.14.14 for the orangepi-one and startet armbian-config. In dpkg-reconfigure keyboard-configuration I changed the layout to german-german but it has no effect, the layout remains to the international layout (qwerty etc).
  7. Hi, can anybody tell me, why the rights on the serial port ttyS0 are R/W for the user (root), but only W for the group (tty) ??? crw--w---- 1 root tty 251, 0 Jan 24 19:45 /dev/ttyS0 Hardware is orangepi one, OS is Linux pi-one 3.4.113-sun8i #6 SMP PREEMPT Tue Jan 16 14:36:25 CET 2018 armv7l GNU/Linux I can change the rights with chmod, but the change is not permanent after a reboot. L.
  8. It seems to be alright now: pi@pi-one:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 7 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up systemd (215-17+deb8u7) ... addgroup: The group `systemd-journal' already exists as a system group. Exiting. Failed to try-restart systemd-logind.service: Connection reset by peer /var/lib/dpkg/info/systemd.postinst: 150: /var/lib/dpkg/info/systemd.postinst: can
  9. today I made an update an got the following message The following packages will be upgraded: hostapd linux-image-sun8i linux-jessie-root-orangepione linux-libc-dev linux-u-boot-orangepione-default sunxi-tools 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 13,9 MB/15,0 MB of archives. After this operation, 2.048 B of additional disk space will be used. Get:1 jessie/jessie-utils hostapd armhf 2:2.6-4~armbian5.37.180112+1 [363 kB] Get:2 jessie/main linux-image-sun8i armhf 5.37.180112 [12,9 MB] Get:3
  10. A question abaout iozone: is it possible to use another SDCard eg in an USB-reader in the USB-port ?
  11. a Toshiba Exceria 32GB on an OrangePi One - ARMBIAN 5.37.171221 nightly Debian GNU/Linux 8 (jessie) 3.4.113-sun8i random random kB reclen write rewrite read reread read write 102400 4 1646 1719 7660 7658 6295 167 102400 16 5743 5283 14291 14254 13093 37 102400 512 11085 10968 225
  12. under armbian 5.35 Debian Jessie 3.4.113-sun8i I added the following file /lib/systemd/system/getty@tty1.service.d/20-autologin.conf with root privileges: # /lib/systemd/system/getty@tty1.service.d/20-autologin.conf [Service] ExecStart= ExecStart=-/sbin/agetty --autologin pi --noclear %I $TERM If needed, change 'pi' with another username. Then reboot.
  13. It would be fine and eysier for newbies if the udev-rule would be integrated in Armbian or in armbian-config.
  14. I found a method to access gpio without root privileges, look here
  15. Thats's easy to find out. Look at the directory /sys/class/gpio, there is a link to /sys/devices/platform/whatsoever/gpio/gpiochip0, change whatsoever with the real findings and drop gpiochip0. That's the way I did it. Maybe it depends on the hardware (I use an opi one) or the Linux (I use Armbian 5.35 Debian Jessie 3.4.113).
  16. on Orangepi One you have to add a file like /etc/udev/rules.d/99-gpio.rules SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\ chown -R root:gpio /sys/class/gpio && chmod -R 770 /sys/class/gpio;\ chown -R root:gpio /sys/devices/platform/sunxi-pinctrl/gpio && chmod -R 770 /sys/devices/platform/sunxi-pinctrl/gpio;\ '" add a group gpio and add the user to it, then you have rootless access to gpio
  17. It would be GREAT if rootless access to gpio was integrated in armbian (just like in raspbian). I made a little test on my Orangepi-One: created a group gpio and added the user to the group gpio, then created the file /etc/udev/rules/99-gpio.rules, this makes the access rootless # /etc/udev/rules/99-gpio.rules SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\ chown -R root:gpio /sys/class/gpio && chmod -R 770 /sys/class/gpio;\ chown -R root:gpio /sys/devices/platform/sunxi-pinctrl/gpio && chmod -R 770 /sys/devices/platform/sunxi-pinctrl/gpio;\ '" E
  18. The problem seems to access /dev/mem, crw-r----- 1 root kmem 1, 1 Nov 28 22:17 /dev/mem If you change the group or add normal user to group kmem nothing changes -> you must be root to access. Also if you chmod /dev/mem to 0777 -> you must be root. Perhaps the makers of armbian can change something here.
  19. next problem: runs only as root if not os.getegid() == 0: sys.exit('start script as root')
  20. as the Orangepi One has the same connector as the Orangepi Lite I supposed it SHOULD run. BUT: there ist an error with from pyGPIO.gpio import gpio, connector, same problem with port instead of connector pi@pi-one:~/pyGPIO$ python Python 2.7.9 (default, Aug 13 2016, 17:56:53) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os, sys >>> from pyGPIO.gpio import gpio, connector Traceback (most recent call last): File "<stdin>", line 1, in <module&g
  21. Have a look here: the expansion port ist decribed and how to power the board, USB OTG is possible
  22. I have the same problem, need rootless acces to GPIO with python. I use pyH3 from on an Orangepi One
  23. 4 cores: ___ ____ _ ___ / _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) / _ \ _ __ ___ | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \ | |_| | | | (_| | | | | (_| | __/ | __/| | | |_| | | | | __/ \___/|_| \__,_|_| |_|\__, |\___| |_| |_| \___/|_| |_|\___| |___/ Welcome to ARMBIAN 5.35 user-built Debian GNU/Linux 8 (jessie) 3.4.113-sun8i System load: 0.37 0.24 0.10 Up time: 2 min Memory usage: 10 % of 494MB IP: CPU tem