Closed AlessioMosca closed 1 year ago
Hi @AlessioMosca, From what I see there is a typo in the installation instructions in point 6:
sudo gedit /etc/sysconfig/ethercat_driver_ros2
which should be
sudo gedit /etc/sysconfig/ethercat
which is copied from /usr/local/etherlab/etc/sysconfig/ethercat
and in which the MASTER0_DEVICE
and DEVICE_MODULES
should be specified.
Try doing this change this to see if the problem persists.
Edit: the typo was fixed
Hi @mcbed , many thanks.
Yes now it is working =D
Best Regards Alessio
Hi there, I am trying to use your hw interface on my NUC equipped with Ubuntu 22.04.
I have followed these steps according to (link):
sudo apt-get update, sudo apt-get upgrade, sudo apt-get install git autoconf libtool pkg-config make build-essential net-tools
git clone https://gitlab.com/etherlab.org/ethercat.git, cd ethercat, git checkout stable-1.5, sudo rm /usr/bin/ethercat, sudo rm /etc/init.d/ethercat, ./bootstrap
/configure --prefix=/usr/local/etherlab --disable-8139too --disable-eoe --enable-generic
andmake all modules, sudo make modules_install install, sudo depmod
sudo ln -s /usr/local/etherlab/bin/ethercat /usr/bin/, sudo ln -s /usr/local/etherlab/etc/init.d/ethercat /etc/init.d/ethercat, sudo mkdir -p /etc/sysconfig, sudo cp /usr/local/etherlab/etc/sysconfig/ethercat /etc/sysconfig/ethercat
sudo gedit /etc/udev/rules.d/99-EtherCAT.rules
containingKERNEL=="EtherCAT[0-9]*", MODE="0666"
sudo gedit /etc/sysconfig/ethercat_driver_ros2
containing:MASTER0_DEVICE="48:21:0b:32:64:43" DEVICE_MODULES="generic"
However, when I run
sudo /etc/init.d/ethercat start
I get the following error: Starting EtherCAT master 1.5.2 modprobe: ERROR: could not insert 'ec_master': Invalid argument failedHow can I fix it ? What I am doing wrong?
Many thanks
Alessio