Closed GiladRobee closed 1 year ago
Hi @GiladRobee, point 4 was just fixed in PR #33 together with adding analog inputs.
when running on ARM64 ./bootstrap fails because of autoconf in order to fix this automake needs to be installed insead. after running the download we have encountered error 2 (the permission error) again
@GiladRobee, you can try giving ethercat access to all users not only ecusers
by running this line :
$ sudo bash -c "echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules"
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
Does it change something ?
Unfortunately no, the same error still occurs.
On Tue, Feb 21, 2023 at 1:05 PM Maciej Bednarczyk @.***> wrote:
@GiladRobee https://github.com/GiladRobee, you can try giving ethercat access to all users not only ecusers by running this line :
$ sudo bash -c "echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules" $ sudo udevadm control --reload-rules $ sudo udevadm trigger
Does it change something ?
— Reply to this email directly, view it on GitHub https://github.com/ICube-Robotics/ethercat_driver_ros2/issues/34#issuecomment-1438286799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ37BPXURSLMSYTCJKAA5ELWYSOPFANCNFSM6AAAAAAVA7POCA . You are receiving this because you were mentioned.Message ID: @.***>
Hi, about point 2, I found in the IGH document 9.5:
The device nodes will be created with mode 0660 and group root by default. If “normal” users shall have reading access, a udev rule file (for example /etc/udev/rules.d/99-EtherCAT.rules) has to be created with the following contents: KERNEL ==" EtherCAT [0 -9]*" , MODE ="0664"
It seems that the double quotes are missed in the default-generated one.
Thank you for the input, I have changed the rules and reloaded them but the same issue still exists.
On Thu, Feb 23, 2023 at 2:34 PM Brethiltaras @.***> wrote:
Hi, about point 2, I found in the IGH document 9.5:
The device nodes will be created with mode 0660 and group root by default. If “normal” users shall have reading access, a udev rule file (for example /etc/udev/rules.d/99-EtherCAT.rules) has to be created with the following contents: KERNEL ==" EtherCAT [0 -9]*" , MODE ="0664"
It seems that the double quotes are missed in the default-generated one.
— Reply to this email directly, view it on GitHub https://github.com/ICube-Robotics/ethercat_driver_ros2/issues/34#issuecomment-1441695165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ37BPTN67WNN2UUWYZPP2DWY5KNTANCNFSM6AAAAAAVA7POCA . You are receiving this because you were mentioned.Message ID: @.***>
Thank you for the input, I have changed the rules and reloaded them but the same issue still exists. … On Thu, Feb 23, 2023 at 2:34 PM Brethiltaras @.> wrote: Hi, about point 2, I found in the IGH document 9.5: The device nodes will be created with mode 0660 and group root by default. If “normal” users shall have reading access, a udev rule file (for example /etc/udev/rules.d/99-EtherCAT.rules) has to be created with the following contents: KERNEL ==" EtherCAT [0 -9]" , MODE ="0664" It seems that the double quotes are missed in the default-generated one. — Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ37BPTN67WNN2UUWYZPP2DWY5KNTANCNFSM6AAAAAAVA7POCA . You are receiving this because you were mentioned.Message ID: **@.***>
What about KERNEL=="EtherCAT[0-9]*", MODE="0664", GROUP="ecusers"
finally it should be KERNEL=="EtherCAT [0 -9]*" , MODE="0666"
in this case
system: Ubuntu 22.04 drivers: Thecnosoft IPOS 4808
$sudo chmod 664 /dev/EtherCAT0
each time