• Content Count

  • Joined

  • Last visited

  1. Hi all, I am hoping there is a straight forward solution to this; I've read this thread on turning on and off the usb OTG using GPIO commands: The concept is really clever and I was hoping to use it as part of my Octoprint 3D printing setup so that I can turn off printer when not in use. The only catch is that the method requires modifying the ./bin/orangepione.bin file which isn't present on my version of Armbian (Buster). TL;DR according to the post I need to 1. convert ./bin/orangepione.bin to FEX, 2. edit the file by adding "usb_drv_vb
  2. Thank you for the suggestion! Out of frustration I flashed the sd and installed a fresh version of armbian buster and was able to get the .bashrc file to run without any issues. The only thing is the video which is being streamed with the program isn't running as well as it was before so perhaps there was something installed relating to vlc which caused the initial issue. I am going to attempt to use the systemd method you mentioned, as I cannot seem to get the video working smoothly on the new installation.
  3. Thanks for the help, I tried this but no luck. I also tried booting as root using mkdir -p /etc/systemd/system/getty@tty1.service.d cat << _EOF_ > /etc/systemd/system/getty@tty1.service.d/autologin.conf [Service] ExecStart= ExecStart=-/sbin/agetty --autologin root %I _EOF_ systemctl daemon-reload which I found here: Unfortunatly I'm still having the same problem, I have also tried without autologin but the same issue, the bashrc script runs but only from ssh. This is making me think that the issue is t
  4. I went to the folder: /lib/systemd/system/getty@tty1.service.d/ the created a file: 20-autologin.conf after which I wrote: [Service] ExecStart= ExecStart=-/sbin/agetty --autologin user --noclear %I $TERM where user is the name of the profile which is logging in
  5. Yes the text console, I haven't installed the desktop.
  6. Hi, I am having a strange problem with my Orangepi One, I previously had a python script which was run on login using .bashrc. The python script controlled VLC using the python bindings and hence I could not use crontab -e or rc.local as they are run in the backgound. Previously .bashrc worked without any issues however either I updated VLC or armbian and now it does not run after I login (even using an autologin). Strangely enough however if I login via SSH the script runs. To access it I use : sudo nano /home/user/.bashrc To run the script I ap