Package Details: klipper-git r2730.ac863a95-1

Git Clone URL: https://aur.archlinux.org/klipper-git.git (read-only, click to copy)
Package Base: klipper-git
Description: 3D printer firmware with motion planning on the host
Upstream URL: https://github.com/KevinOConnor/klipper
Licenses: GPLv3
Conflicts: klipper
Provides: klipper
Submitter: the_lf
Maintainer: loredan13
Last Packager: loredan13
Votes: 1
Popularity: 0.002370
First Submitted: 2018-10-19 05:10
Last Updated: 2020-01-07 20:42

Pinned Comments

loredan13 commented on 2020-01-07 19:30

README

After you have this package installed, copy an example config from /opt/klipper/config to /etc/klipper/klipper.cfg and adjust the values to suit your printer.

Copy the firmware out of /opt/klipper to your user directory and follow the procedure as outlined in the documentation: https://github.com/KevinOConnor/klipper/blob/master/docs/Installation.md#building-and-flashing-the-micro-controller

Then, start/enable the klipper service with systemctl.

Logs can be seen using journalctl

OctoPrint

Use the socket /run/klipper/sock. OctoKlipper is highly recommended.

WARNING

If you have ARM MCU on your printer you won't be able to compile firmware on ARM PC (which is the case for most computers running klipper). You will have to compile firmware on x86_64 PC

Latest Comments

1 2 Next › Last »

dack commented on 2020-01-21 05:04

Is there a reason the log option (-l) was removed from klipper.service? Without it, klipper gives the following warning:

WARNING:root:No log file specified! Severe timing issues may result!

celogeek commented on 2020-01-13 20:43

Hi,

The packaging also fail to include compile file and version file resulting in FIRMWARE_VERSION: ? in the log

I applied this change to fix this:

+        python2 scripts/make_version.py ARCHLINUX > klippy/.version
+       python2 -m compileall klippy
+       python2 klippy/chelper/__init__.py
        GLOBIGNORE=.git cp -r * "$pkgdir/opt/klipper"
-       chown -R klipper:klipper "$pkgdir/opt/klipper"

This way the package contains precompiled files and starts faster.

celogeek commented on 2020-01-11 10:09

Hi,

I want to install this package and got this errors:

==> Starting pkgver()...
==> Updated version: klipper-git r2748.2f8ad5e6-1
==> Sources are ready.
==> Making package: klipper-git r2748.2f8ad5e6-1 (Sat 11 Jan 2020 11:04:18 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
chown: invalid user: ‘klipper:klipper’
==> ERROR: A failure occurred in package().
    Aborting...
Error making: klipper-git

I guess the klipper exists at this stage

FIX:

instead of chown inside the install process, add this to your tempfile:

d /etc/klipper 0755 klipper klipper - -
z /etc/klipper/klipper.cfg 0644 klipper klipper - -
d /run/klipper 0755 klipper tty - -
Z /opt/klipper - klipper klipper - -

It will adjust automatically the right on config and opt directory

loredan13 commented on 2020-01-09 10:09

Sorry, I made a mistake of updating instructions without properly testing everything myself. I ended up reverting to /run/klipper/sock because /tmp/printer is not accessible by octoprint in current setup

plutonium commented on 2020-01-08 09:38

I just updated klipper and am unable to connect from octoprint.

[Errno 2] could not open port /run/klipper/sock: [Errno 2] No such file or directory: '/run/klipper/sock'' @ comm.py:_openSerial:2661 (hook default)

Your latest instructions tells to use /tmp/printer, but I don't have it on my system... and according to klipper.service listed in sources, the socket is still /run/klipper/sock (and it exists indeed on my RPi)...

[edit] I got it to work with /run/klipper/sock

loredan13 commented on 2020-01-07 19:30

README

After you have this package installed, copy an example config from /opt/klipper/config to /etc/klipper/klipper.cfg and adjust the values to suit your printer.

Copy the firmware out of /opt/klipper to your user directory and follow the procedure as outlined in the documentation: https://github.com/KevinOConnor/klipper/blob/master/docs/Installation.md#building-and-flashing-the-micro-controller

Then, start/enable the klipper service with systemctl.

Logs can be seen using journalctl

OctoPrint

Use the socket /run/klipper/sock. OctoKlipper is highly recommended.

WARNING

If you have ARM MCU on your printer you won't be able to compile firmware on ARM PC (which is the case for most computers running klipper). You will have to compile firmware on x86_64 PC

loredan13 commented on 2020-01-07 18:04

dack: the problem is with compiling ARM MCU firmware, it requires arm-none-eabi-gcc package, which is only for x86_64 architecture, and I still haven't found an alternative.

I have adopted the package, and I will try to update it as much as I can

dack commented on 2020-01-05 21:32

Deathwarror: Are you talking about requirements to compile the PKGBUILD, or to compile AVR microcontroller firmware?

If you are talking about the PKGBUILD, gcc and make are part of base-devel. That should not be listed as a dependency in the PKGBUILD as per the wiki page for Makepkg ("Before continuing, install the base-devel group. Packages belonging to this group are not required to be listed as build-time dependencies (makedepends) in PKGBUILD files.").

If you are talking about compiling the AVR microcontroller code, avr-gcc is already listed as a runtime dependency. Make is not listed, and should perhaps be added as a runtime dependency. Most people will probably not encounter that issue, since they would have already installed base-devel (and therefore make) in order to compile the PKGBUILD.

the_lf commented on 2020-01-04 21:16

Hi! Unfortunately I don't use Klipper anymore so I'm relinquishing maintainership of this package. If anyone wishes to adopt it, that would be fantastic.

I should have done this a long time ago, and I'm sorry for procrastinating flagging this unmaintained package as unmaintained.

Deathwarror commented on 2020-01-04 18:30

I'm using a raspberry pi 4. Two more dependencies that are needed are gcc and make gcc is apparently needed by the klipper code to compile