Hello everyone,
my name is Heiko and i am new here. I have an old Deckel FP2 and some servo motors inclusive servo controllers from Beckhoff.
Now I would like to upgrade the Deckel with servo motors and control it via LinuxCNC.
To test and try LinuxCNC I have here an EK1100, EL1104, EL2024 and an IndraDrive Cs (HCS01.1E-W0006-A-02-B-ET-EC-PB-NN-NN-FW) with an MSK030C-0900 servo motor. With these components i want to set up an test scenario.
So I try to install the ethercat hal driver. Therefore i followed exactly the instructions from Hawkeye from page 68. Everything is going well until i came to step 5.
The steps cloning the ec-debianize and dpkg-checkbuilddeps are running well.
but when i run the command dpkg-buildpackage i geht following error message:
root@linuxcnc:/git/ec-debianize/etherlabmaster# dpkg-buildpackage
dpkg-buildpackage: Information: Quellpaket etherlabmaster
dpkg-buildpackage: Information: Quellversion 1.5.2+20190904hg33b922p8ea394-1
dpkg-buildpackage: Information: Quelldistribution lucid
dpkg-buildpackage: Information: Quelle geändert durch Sascha Ittner <sascha.ittner@modusoft.de>
dpkg-buildpackage: Information: Host-Architektur amd64
dpkg-source --before-build etherlabmaster
debian/rules clean
dh clean --with autoreconf,dkms
dh_testdir
dh_auto_clean
dh_autoreconf_clean
debian/rules override_dh_clean
make[1]: Verzeichnis „/git/ec-debianize/etherlabmaster“ wird betreten
rm -f ChangeLog
dh_clean
make[1]: Verzeichnis „/git/ec-debianize/etherlabmaster“ wird verlassen
dpkg-source -b etherlabmaster
dpkg-source:
Fehler: unmöglich, mit Quellformat »3.0 (quilt)« zu bauen: unter ./etherlabmaster_1.5.2+20190904hg33b922p8ea394.orig.tar.{bz2,gz,lzma,xz} wurde kein Tarball der Originalautoren gefunden
dpkg-buildpackage:
Fehler: Fehler-Exitstatus von dpkg-source -b etherlabmaster war 255
Now i am not able to do the next steps. when i try to execute sudo dpkg -i /git/ec-debianize/etherlabmaster_1.5.2+20180317hg9e65f7-2_amd64.deb the error is:
dpkg: Fehler: Auf das Archiv »/git/ec-debianize/etherlabmaster_1.5.2+20180317hg9e65f7-2_amd64.deb« kann nicht zugegriffen werden: Datei oder Verzeichnis nicht gefunden
Can anyone help me with the error messages? I have tried everything but nothing worked. Please give me a hint of what i am doing wrong.
05. Setup "ec-debianize"
Code:
cd /git
git clone https://github.com/sittner/ec-debianize ec-debianize
./get_source.sh
cd etherlabmaster
dpkg-checkbuilddeps
dpkg-buildpackage (the output error "failed to sign .dsc file" is no issue)
sudo dpkg -i /git/ec-debianize/etherlabmaster_1.5.2+20180317hg9e65f7-2_amd64.deb
sudo dpkg -i /git/ec-debianize/etherlabmaster-dev_1.5.2+20180317hg9e65f7-2_amd64.deb
nano /etc/default/ethercat (change mac-address [MASTER0_DEVICE=""] e.g. [MASTER0_DEVICE="11:22:33:44:55:66"])
nano /etc/default/ethercat (change [DEVICE_MODULES=""] to [DEVICE_MODULES="generic"])
sudo update-ethercat-config
usermod -a -G ethercat linuxcnc
reboot
06. Setup "LinuxCNC-Ethercat"
Code:
cd /git
git clone http://github.com/sittner/linuxcnc-ethercat.git linuxcnc-ethercat"
nano /git/linuxcnc-ethercat/src/lcec_main.c (add here [#include "rtapi_mutex.h"] below [#include "rtapi_app.h"])
cd /git/linuxcnc-ethercat
make -j4
make install
sudo make install
07. Further things to consider
- if you experience issues when starting linuxcnc (cpu high load), then try to change "BASE_PERIOD=0" within your ini-file (config of your machine)
08. .. this is know the part where I guess I can end this guide now.
.. further steps (setting up ethercat.xml, machine config, ... can be seen within the forum).
.. hope this helped you - thanks for reading.
.. please leave a comment whether you managed it to get your system running.
[hr]
Best Regards,
Ben[/quote]