Jump to content

nickeh

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

994 profile views
  1. Thanks, that looks very promising. Now I just need something to read the ADC (none of the above seems to handle ADC?) pin...
  2. Hi, what options do I have to access the GPIO from Python3 as a non-root user? I'm building a project based on the Rock Pi S and I have everything working (as root, i2c, GPIO) on the Radxa Ubuntu 18.04 image but as I wanted to future proof the project by using the 5.x kernel. I started with the latest Armbian_20.11_Rockpi-s_focal_current_5.9.10_minimal and enabled the i2c bus from armbianEnv.txt (rk3308-i2c1) (was already active) because the armbian-config didn't work. So I managed to get the oled display to work with the same library (luma.oled) I used on the 4.4 kernel. Then I wanted to install libmraa that I used on 4.4 but noticed was not available. After some googling I found these options: ArmbianIO UserspaceIO pyGPIO but most of them seems to be deprecated so then I found libgpiod but havn't found alot of documentation yet. Is this my (only?) option or are there others? Best regards Nicke
  3. Thanks I'll try that way, is there a reason why the fex editor is removed from armbian-config under system? Can I find it anywhere else?
  4. Hi, is it possible to run xfce4 on mainline on a Orange Pi Zero? I'm doing it with jessie legacy (I need to have a mumble client running, accessing it with X11vnc) but I wanted to upgrade. I've tried the same setup but without any luck. apt-get install --no-install-recommends xserver-xorg apt-get install --no-install-recommends xinit apt-get install xfce4 xfce4-terminal tango-icon-theme gnome-icon-theme lightdm lightdm fails to start on boot and startx tells me: Fatal server error: (EE) no screens found(EE) Have somebody done it and can it be done easily?
  5. I compared the script.bin files but didn't find anything that helped. So I read the http://linux-sunxi.org/Fex_Guide and managed to change the resolution to 720p50. Thanks Igor for pointing me in the right direction! sudo armbian-config -> Fexedit Change output type to 3 (HDMI) and output mode to 4 (720p50) as explained in the fex guide screen1_output_type = 3 screen1_output_mode = 4 Thanks!
  6. Hi, during the spring I used h3disp - 720p50 -c 1 (on 5.24 with sunxi-tools 1.4.2) to change the resolution for my desktop but today when I did a clean install (armbian 5.30 Jessie Default) I get Unsupported board/kernel combination: Orange Pi Zero running 3.4.113-sun8i. Exiting Is there still a way to change the resolution (720x576 is too low for the gui app I need to run)? Thanks in advance! Nicke
  7. An update to my issue, I tried to make a image with ddrescue from my card but the hash did not match. I then tried to make a new hash from the card and surprise surprise the hash was not the same as the first time. I replaced the card and tried md5sum again and now I get the same hash everytime, so you were correct the SD was crap And that is why I couldn't clone it either...
  8. @tkaiser: OK, etcher looks nice but what do you recommend to make the image with? Because when I look inside the image I can see that files are missing already...
  9. Hi, I've got Armbian Jessie setup as I want and wanted to clone it for backup. But when I boot the clone I get errors that lightdm can not start and my home dir is owned by root and is empty. The sudoers file is missing etc etc. Any ideas why this is happening? I've cloned Raspberry images hundreds of times and never seen this. The original card still boots perfectly? I've used this line to clone (on a Ubuntu machine) sudo dd if=/dev/sdc of=~/sdclone.img and when writing back sudo dd if=~/sdclone.img of=/dev/sdc I've also tried with bs=4M, notrunc,noerrors etc etc What should I do?
  10. Hi, I got my Zero today and installed the legacy jessie server. I need X (for one app) so I followed the same path as I did on my Raspberry Pi running Raspbian lite. sudo apt-get install --no-install-recommends xserver-xorg sudo apt-get install --no-install-recommends xinit sudo apt-get install xfce4 xfce4-terminal sudo apt-get install lightdm Should TV-OUT (pin 9 (and GND on pin 2) on 1x13 header) work as I do not get anything on my composite monitor? I looked in /boot/boot.cmd and it says setenv disp_mode "1920x1080p60" which is not compatible with a composite signal. I tried to alter it to 720x576i50 but no luck. I just wanted the TV-OUT to see that everything was working and that I really have a graphical desktop. I'm planning on using only X11vnc but it seems that the graphical desktop is not there because I can not get X11vnc to start. *** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue. It seems like the X server is started and lightdm but I don't have enough experience to find what is wrong root 673 0.0 1.8 29544 9376 tty7 Ss+ 10:48 0:00 /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch root 702 0.0 0.6 27796 3448 ? Sl 10:48 0:00 lightdm --session-child 17 20 lightdm 708 0.0 0.2 4000 1488 ? Ss 10:48 0:00 /lib/systemd/systemd --user lightdm 709 0.0 0.2 5748 1144 ? S 10:48 0:00 (sd-pam) lightdm 711 0.1 2.2 35420 11476 ? Ssl 10:48 0:01 /usr/sbin/lightdm-gtk-greeter lightdm 716 0.0 0.0 3108 492 ? S 10:48 0:00 /usr/bin/dbus-launch --autolaunch a6959a1b583340b7a8741924192b921b --binary-syntax --close-stderr lightdm 717 0.0 0.1 4572 856 ? Ss 10:48 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session Any ideas? Thanks in advance!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines