Pendant WHB04B on LinuxCNC 2.7 / Debian

More
08 Apr 2020 12:51 - 08 Apr 2020 12:53 #163195 by alkabal
I think this is no /bin but /usr/bin for past the binaries file
Last edit: 08 Apr 2020 12:53 by alkabal.

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

More
08 Apr 2020 13:25 - 08 Apr 2020 16:39 #163198 by alkabal
following this :

linuxcnc.org/docs/devel/html/code/building-linuxcnc.html

i have succefully compiled my fork with fresh git clone:
replace :
> git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev
> cd linuxcnc-dev/src
> ./autogen.sh
> ./configure --with-realtime=uspace
> make
with
 git clone  https://github.com/alkabal/linuxcnc linuxcnc-dev
> cd linuxcnc-dev/src
> ./autogen.sh
> ./configure --with-realtime=uspace
> make
> sudo make setuid

For a run in place you need to copy the rules files manually to /lib/udev/rules.d/

and in your home directory do (with dot and space)
. ~/linuxcnc-dev/scripts/rip-environment
Last edit: 08 Apr 2020 16:39 by alkabal.

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

More
10 Apr 2020 13:04 #163477 by Peterdeleu
I'm sorry to say, but I still have that error message.
I've followed your last procedure. But always the same error .

The problem is, I don't know what I'm doing. I just follow your instructions.
Attachments:

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

More
10 Apr 2020 14:07 - 10 Apr 2020 14:12 #163482 by alkabal
Hi

Following instuction allow only to add the bin (compiled file from updated source with Lcnc 2.9 latest) anf rules files in the good foder + chmod for make it executable.

If you try with loadrt : the hal file is not used (only needed for start with real or sim config)

if you have do this for RIP you don't need any more to do cd /home/your/linuxcnc-dev/bin or /usr/bin and if you have installed from deb installer you even don't need to do this.

and in your home directory do (with dot and space)
. ~/linuxcnc-dev/scripts/rip-environment


i have succefully use loart with : loadusr -W xhc-whb04b-6 -H

I have never see this error message before so i apologize but i don't really know what append, the only things i can think is you have the 4 axis version and i never used this one.
Other things not tested, have you a realtime kernel ? (tested only with rt-preempt)

if you are able to allow ssh i can try to help remotely.
Last edit: 10 Apr 2020 14:12 by alkabal.

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

More
10 Apr 2020 14:14 #163483 by Peterdeleu
instead of SSH, Teamviewer is also an option.
LinuxCNC is running on my macbook, in a parallel virtual machine.

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

More
10 Apr 2020 14:15 - 10 Apr 2020 14:27 #163485 by alkabal
try

sudo apt-get -y install libc6-dev libusb-1.0-0-dev

yes teamviewer is possible

Maybe the best i try to setup for compile
Last edit: 10 Apr 2020 14:27 by alkabal.

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

More
10 Apr 2020 14:22 #163486 by Peterdeleu
Ok, I've added you to Skype

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

More
11 Apr 2020 11:30 #163597 by Peterdeleu
Tx to Alkabal. My pendant (XHC-WHB04B-4 - 4 axis) is working in Debian 10 / LinuxCNC 2.9 !!
That guy knows what he's doing ;)

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

More
03 May 2020 15:31 #166511 by MrFouFou
Hello guys,

I'm trying to do make this pendant works on Debian 10.3 LinuxCNC 2.9.
I have the same issue "syntax error: word unexpected "
It seems you did manage to get it work, could you share how ?

Thanks !

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

More
Time to create page: 0.118 seconds
Powered by Kunena Forum