XHC-WHB04B-6 LinuxCNC not working

More
6 years 6 months ago #162632 by alkabal
Hi

I have forked Lcnc master and add the revised driver, i like if you can check and says if i can ask to PR ?

Br

github.com/alkabal/linuxcnc

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

More
6 years 6 months ago #162995 by alkabal
Any help wanted for variable sharing from different class ??

github.com/alkabal/linuxcnc/commit/8c83d...442dd4b7210fceafe791

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

More
6 years 6 months ago #164475 by MarcoGaspar
Hello,

I installed Debian 9 and linuxcnc 2.9 and try to setup my xhc-whb04b-4 to work but with no luck.

When starting linuxcnc and i get error:
Debug file information:
Note: Using POSIX realtime
failed to allocate HAL memory
./xhc-whb04b-6.hal:29: waitpid failed xhc-whb04b-6 xhc-whb04b-6
./xhc-whb04b-6.hal:29: xhc-whb04b-6 exited without becoming ready

But if i run
halrun
loadusr xhc-whb04b-6 -ue
It connects and show all the info from pendant.

What can i do?

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

More
6 years 6 months ago #164484 by alkabal
Have you use last buildbot or compil yourself from master ?

Can you attach your config file ini and hal ? mostly for see the loadusr cmd (loadusr -W xhc-whb04b-6 -Hsf)

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

More
6 years 6 months ago #164487 by MarcoGaspar
compiled:

git clone github.com/LinuxCNC/linuxcnc linuxcnc-dev
cd linuxcnc-dev
cd src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid


it's only a test config, i will be using mesa 7i96e

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

More
6 years 6 months ago - 6 years 6 months ago #164496 by alkabal
imo remove the [XHC_WHB04B_6_CONFIG]COMPONENT_ARGUMENTS i have some problem with this in the past
good one"loadusr -W xhc-whb04b-6 -H" or "loadusr -W xhc-whb04b-6 -Hsf"

But where did you get the "xhc-whb04b-6.hal" because i see something related to original component for machinekit ???

You need to use the one "example-configuration.md" in the source folder and rename to "xhc-whb04b-6.hal"

You can add "sf" args for use lead and Mpg mode for feed and spindle override

I use the same card 7i96e but a run in place instal
Last edit: 6 years 6 months ago by alkabal.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum