Jump to content

xuraax

Members
  • Posts

    9
  • Joined

  • Last visited

  1. @going, since my last message I continued investigating and I have managed to get it to work. I had tried the "&" suggestion but that did not work in my case probably for the following reason. bCNC uses graphics through Tkinter which in itself requires a GUI to be already invoked. It seems rc.local, and I also suspect crontab, are started before the GUI is invoked so I think this is why my program did not start. Of course it would have helped if I had been given some error message! The solution was to create a .desktop file at ~/.config/autostart/ . The bCNC.desktop file needs to contain the EXEC line formatted as follows: Exec=/usr/bin/python3 /home/xxx/.local/bin/bCNC Note that the full path is required and, strangely, the "-m" option needs to be removed. regards
  2. i have installed a minimal Armbian OS on my s905 box with the intention of running a python3 program directly at startup. Since this program makes use of Tkinter i had to install an Xfse Desktop in order for Tkinter to function. I am able to run my python3 program from command line after the Desktop comes up. I have included my python command namely: python3 -m bCNC as suggested above before the "exit 0" line in the rc.local file. This did not appear to have any effect at all. the system just boots to the Desktop. I actually am not interested at all in using this system for anything besides my program. Can i have some advice on what I can do to get this to work?
  3. thank you SteeMan. I am glad I don't need to go through the SDcard route for future upgrades but how does one transfer a .img version into the EMMC directly? Can you also point me to a link where the use of the ddbr command is explained? Also my box is supposed have the 1000G LAN but that dtb is actually intended for the 100G LAN which is to be found in some versions of the box. Therefore can I directly replace the current dtb with a version suited to 1000G directly or will I be risking blocking everything?
  4. You are correct, none of the dtb's I tried from the release worked for me. Maybe I did not try them all! That dtb had been downloaded and used by me about a year ago when I had made another attempt to install Armbian on my box. At the time installation process worked but the actual install was buggy. Anyway I am happy to report that since yesterday's message, I made another attempt at installation and this time there were only minor issues whilst upgrading which were fairly easily resolved. I am sorry I cannot find the notes I took were I had recorded the actual error but I believe it was something about the system not able to register certain upgrades. These were then cleared and I had no further issues. I even went ahead and installed to EMMC with no issues whatsoever so now I don't need the SDcard anymore which I hope will improve the speed a bit as well as reliability. So far no more issues. I have now only one question, given that I am now operating from EMMC, if in the future I would want to install a new upgrade how would I do it? Will installing from SDcard work or would it be sufficient to use the Upgrade Manager or sudo apt update; sudo apt upgrade? Thanks.
  5. HI, I have installed Armbian_community_24.5.0-trunk.93_Aml-s9xx-box_jammy_current_6.6.18_cinnamon_desktop.img.xz from github on my H96 Max Plus 2 using u-boot-s905x3 for u-boot.ext and meson-sm1-x96-max-plus-100m.dtb. The installation goes on without a hitch and the OS runs almost perfectly. However when I run sudo apt update; sudo apt upgrade, upgrading appears to proceed properly but when I switch on the box again the software hangs and I have to start anew. Any ideas please?
  6. Thanks for your reply. I did add my user name to dialout but I still was refused permission to access from Python. After booting the user has write permission but not read. I will study the links provided. I hope it is not too complicated for me. I am not a complete novice but certainly no expert. Regards
  7. I would like to permanently change at start up the UART permissions of /dev/ttyAML0 to give user, read write permissions always. I can do this with the usual "chmod" command but this gets reset after every boot and sometimes also during normal operations. Can somebody direct me to how this can be done please? xuraax
  8. I need to use this UART on an S905 system installed with Armbian 22 and Kernel 5.15 through Python. I am able to do this by changing the permissions of /dev/ttyAML0 from 640 to 660. However I need to avoid having to issue the CHMOD command each time I power up. I have written a service in systemd to do this automatically at startup but the CHMOD command has no effect on the port permissions or else they are being overwritten later on during startup. The service is functioning correctly since CHMOD on another dummy file alters permissions as expected. Any suggestions please?
  9. Hi, this is my first post so please be generous. After much experimentation I have managed to to set up Armbian on an old Zidoo x5 box. I may add that neither the .zip or the toothpick method worked for me but finally got the booting sequence to run the S905 Autoscript by altering some variables using the setenv command through the serial interface. I have installed several OS's and finally settled on the 20.10 focal 5.9.0 desktop image. Most things work but I am getting problems with setting up an Access Point through the armbian-config program. I have left the default settings as proposed and was able to "see" the hot spot from my mobile but the system repeatedly refused to acknowledge the password "12345678". Since this hot spot transmits on channel 5 and there is another strong wifi on this channel close by I tried to change the channel number to 4 after which wifi stopped transmitting altogether. Also the option to generate a HotSpot in Armbian-config disappeared altogether. The same thing more or less happened with other OS's I tried. Is there anything I can do? Regards
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines