- Posts: 193
- Thank you received: 57
Ethercat HAL driver
- sirop
- Offline
- Elite Member
-
Less
More
8 years 11 months ago - 8 years 11 months ago #101649
by sirop
Replied by sirop on topic Ethercat HAL driver
Means rpath incomplete.
Try
$(CC) -shared -o $@ $(lcec-objs) -Wl,-rpath,$(LIBDIR),-rpath,/opt/etherlab/lib/ -L$(LIBDIR) -L/opt/etherlab/lib/ -llinuxcnchal -lethercat -lrt
Try
$(CC) -shared -o $@ $(lcec-objs) -Wl,-rpath,$(LIBDIR),-rpath,/opt/etherlab/lib/ -L$(LIBDIR) -L/opt/etherlab/lib/ -llinuxcnchal -lethercat -lrt
Last edit: 8 years 11 months ago by sirop. Reason: typo
The following user(s) said Thank You: chimeno
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
8 years 11 months ago #101650
by chimeno
Replied by chimeno on topic Ethercat HAL driver
hi Sirop,
if this works, now I have a new error "open / dev / EtherCAT0: Permission denied"
lack of permission? I give permission so?
echo KERNEL == \ "EtherCAT [0-9] * \", MODE = \ "0664 \"> /etc/udev/rules.d/99-EtherCAT.rules
after this it does not work either.
how can I solve that?
Thank you
if this works, now I have a new error "open / dev / EtherCAT0: Permission denied"
lack of permission? I give permission so?
echo KERNEL == \ "EtherCAT [0-9] * \", MODE = \ "0664 \"> /etc/udev/rules.d/99-EtherCAT.rules
after this it does not work either.
how can I solve that?
Thank you
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
Less
More
- Posts: 193
- Thank you received: 57
8 years 11 months ago #101652
by sirop
Replied by sirop on topic Ethercat HAL driver
The following user(s) said Thank You: chimeno
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
8 years 11 months ago - 8 years 11 months ago #101797
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello sirop
I have been comparing and searching but I can not give linuxcnc permissions to EtherCAT0, this is what I have done.
sudo -i
echo KERNEL == "EtherCAT [0-9] *", MODE = "0664", GROUP = "ethercat"
directory /etc/udev/rules.d/ ...ok
What am I doing?
I have been comparing and searching but I can not give linuxcnc permissions to EtherCAT0, this is what I have done.
sudo -i
echo KERNEL == "EtherCAT [0-9] *", MODE = "0664", GROUP = "ethercat"
directory /etc/udev/rules.d/ ...ok
What am I doing?
Last edit: 8 years 11 months ago by chimeno.
Please Log in or Create an account to join the conversation.
- sirop
- Offline
- Elite Member
-
Less
More
- Posts: 193
- Thank you received: 57
8 years 11 months ago - 8 years 11 months ago #101799
by sirop
Replied by sirop on topic Ethercat HAL driver
So what is the contents of 99-ethercat.rules now?
Last edit: 8 years 11 months ago by sirop. Reason: typo
The following user(s) said Thank You: chimeno
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
8 years 11 months ago #101815
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hi Sirop,
The content of the 99-ethercat.rules file is :
KERNEL=="EtherCAT[0-9]*", MODE="0664", GROUP="ethercat"
thanks
The content of the 99-ethercat.rules file is :
KERNEL=="EtherCAT[0-9]*", MODE="0664", GROUP="ethercat"
thanks
Please Log in or Create an account to join the conversation.
Time to create page: 1.438 seconds