hal-core

More
4 years 8 months ago #234527 by Dave3891
Replied by Dave3891 on topic hal-core
Hi Grotius,

Have you been able to use the loadusr command within your hal version?
I have tried a few different ways and it seems to not be passing the information to run the program and give this error
halcmd: <stdin>:1: execv(): No such file or directory

I believe in the execv() it should display the name/path of what I am trying to run. I have tried placing the program in the bin directory and also using the full path when passing the name, but nothing seems to work

 

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #234575 by Grotius
Replied by Grotius on topic hal-core
Hi Dave,

I did not use that, but there are a few hits if you paste this in the browser:
github.com/grotius-cnc/hal-core/search?q=loadusr
I did a short overview. I think it will not work.

What do you want to load? a Program? And when should it be loaded?
In the hal-core component folder, skynet example. First it load's a rt-halmodule (golden ring). This halmodule then loads a qt app
in (userland).
 
Last edit: 4 years 8 months ago by Grotius.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #234578 by Dave3891
Replied by Dave3891 on topic hal-core
Hi Grotius,

I am trying to load the xhc-whb04b-6 components to use for my wireless pendant, I will take a look at that search

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #234580 by Grotius
Replied by Grotius on topic hal-core
Hi Dave,

Ok. If you pass me the link of the "xhc-whb04b-6" source code, i will try it for you.

Maybe do the Very Verbose output:
./halcmd -V loadusr ..

If you look at the lcec_conf file. This is also a loadusr file. I used a unix command to load this file :
# Unix command to load the ethercat .xml config
/opt/hal-core/rtlib/./lcec_conf /opt/hal-core/rtlib/ethercat-conf.xml &
Last edit: 4 years 8 months ago by Grotius.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #234581 by Dave3891
Replied by Dave3891 on topic hal-core
Hi Grotius,

Here is the source to that module
github.com/LinuxCNC/linuxcnc/tree/master...r_comps/xhc-whb04b-6

I am also unable to use the mesa ethernet module, I can load the hostmot2 without issue, but I can't use the hm2_eth due to looks like some kind of permissions issue?
 

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #234582 by Grotius
Replied by Grotius on topic hal-core
Did you edit and perform the runtest file of the hm2_eth file?
~/opt/hal-core/src/hal/components/hm2_eth/./runtest

I can not test it myself, i have no mesa. image missing /media/kunena/emoticons/sad.png

The "could not fetch" warning is a warning outside of hal-core. I think pcw know's what's going on here.
the /usr/sbin/iptables is a root dir.
See hm2_eth.c line 464
Last edit: 4 years 8 months ago by Grotius.

Please Log in or Create an account to join the conversation.

Time to create page: 0.292 seconds
Powered by Kunena Forum