Git Product home page Git Product logo

Comments (7)

megablue avatar megablue commented on May 30, 2024 1

yup... at first i cant even use klipper because of that, i flashed the firmware manually in the terminal instead of using the script.

from kiauh.

dw-0 avatar dw-0 commented on May 30, 2024 1

I will add a fix for that.

from kiauh.

dw-0 avatar dw-0 commented on May 30, 2024

Hi, thank you for using KIAUH.

What Linux distro are you using with that OrangePi? RaspberryPi OS?

Usually during the Moonraker installation (at the very beginning actually) there will be checked if a printer.cfg exists:
https://github.com/th33xitus/kiauh/blob/master/scripts/install_moonraker.sh#L28
and
https://github.com/th33xitus/kiauh/blob/master/scripts/functions.sh#L14

The function will read the /etc/default/klipper file for the printer.cfg location. If there isn't a printer.cfg at that location, the script will ask if you want to create a basic printer.cfg. Not really a working config, it's more like just having that file at the right spot to continue later on. I do see a problem here if Klipper was installed as systemd service. I think i need to fix that.

Regarding your permission issue:
The script DOES NOT check for any permissions. I know that might not be comfortable but for now users have to make sure that all permissions are set. I haven't encountered any of those permission issues yet myself.

from kiauh.

ciapata avatar ciapata commented on May 30, 2024

Use this command to grant access to your USB port

sudo adduser YOUR_USERNAME dialout

from kiauh.

anjoku avatar anjoku commented on May 30, 2024

Thank you.

from kiauh.

megablue avatar megablue commented on May 30, 2024

ubuntu-20.04 lts also doesn't grant serial port access to a non-root user by default... perhaps it is a good idea to check and automatically add the user to the group

from kiauh.

dw-0 avatar dw-0 commented on May 30, 2024

ubuntu-20.04 lts also doesn't grant serial port access to a non-root user by default... perhaps it is a good idea to check and automatically add the user to the group

@megablue
Thanks for the info. So basically i should already check during the Klipper installation if the user is in group dialout ?
Currently, membership of group dialout is only checked, if you want to flash a MCU.
But now, further thinking of it, it makes sense to always make sure that the user is in that group, so communication with the serialport is possible?

from kiauh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.