Pendant WHB04B on LinuxCNC 2.7 / Debian
- Peterdeleu
- Offline
- Premium Member
Less
More
- Posts: 99
- Thank you received: 0
06 Apr 2020 21:56 #162974
by Peterdeleu
Pendant WHB04B on LinuxCNC 2.7 / Debian was created by Peterdeleu
Hi,
I've received my Pendant a few days ago and I've spend many hours trying to get it working.
The receiver is visible in Linux, so I thing I miss a driver.
There are a few articles where there's a solution described, but still the pendant isn't working.
I've followed this : but even after upgrading to Debian 2.9, there are things missing to run the command ./configure --with-realtime=uspace. (error : Bwidget is missing, but it installed, ... )
I'm a linux newby, so it is not easy to read and interpret the available articles.
Is there a "easy" way to get the pendant working? (Linuxcnc upgrade, Debian upgrade, ....)
Regards
Peter
I've received my Pendant a few days ago and I've spend many hours trying to get it working.
The receiver is visible in Linux, so I thing I miss a driver.
There are a few articles where there's a solution described, but still the pendant isn't working.
I've followed this : but even after upgrading to Debian 2.9, there are things missing to run the command ./configure --with-realtime=uspace. (error : Bwidget is missing, but it installed, ... )
I'm a linux newby, so it is not easy to read and interpret the available articles.
Is there a "easy" way to get the pendant working? (Linuxcnc upgrade, Debian upgrade, ....)
Regards
Peter
Please Log in or Create an account to join the conversation.
- alkabal
- Offline
- Platinum Member
Less
More
- Posts: 476
- Thank you received: 52
06 Apr 2020 23:46 #162982
by alkabal
Replied by alkabal on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
Please Log in or Create an account to join the conversation.
- alkabal
- Offline
- Platinum Member
Less
More
- Posts: 476
- Thank you received: 52
06 Apr 2020 23:51 - 07 Apr 2020 00:11 #162985
by alkabal
Replied by alkabal on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
If you dont want to compile the whole linucnc 2.9 i share my bin for LCNC 2.9 and HAL exemple
You need to rename the file "example-configuration.md" to "xhc-whb04b-6.hal" copy this file to your config folder
edit your ini file and add in this section
[HAL]
HALFILE = xhc-whb04b-6.hal
You need to copy the file "xhc-whb04b-6" in the bin folder where you can locate axis and other LCNC binaries (i think for apt-get version in the folder "/usr/bin" and for run in place in the source subfolder "bin")
You need to copy the files "99-xhc-whb04b-6.rules" in the folder /lib/udev/rules.d
You need to rename the file "example-configuration.md" to "xhc-whb04b-6.hal" copy this file to your config folder
edit your ini file and add in this section
[HAL]
HALFILE = xhc-whb04b-6.hal
You need to copy the file "xhc-whb04b-6" in the bin folder where you can locate axis and other LCNC binaries (i think for apt-get version in the folder "/usr/bin" and for run in place in the source subfolder "bin")
You need to copy the files "99-xhc-whb04b-6.rules" in the folder /lib/udev/rules.d
Last edit: 07 Apr 2020 00:11 by alkabal.
Please Log in or Create an account to join the conversation.
- Peterdeleu
- Offline
- Premium Member
Less
More
- Posts: 99
- Thank you received: 0
07 Apr 2020 11:09 #163039
by Peterdeleu
Replied by Peterdeleu on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
Ok, I'll give it a try.
First I have to install a new Debian/LinuxCNC (2.9).
I'll do the installation in a virtual machine. Because I don't want to blow up my original configuration .
Tx!!
First I have to install a new Debian/LinuxCNC (2.9).
I'll do the installation in a virtual machine. Because I don't want to blow up my original configuration .
Tx!!
Please Log in or Create an account to join the conversation.
- Peterdeleu
- Offline
- Premium Member
Less
More
- Posts: 99
- Thank you received: 0
07 Apr 2020 11:19 #163041
by Peterdeleu
Replied by Peterdeleu on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
What ISO do I have to download to be up to date?
Is this the best version?
found on : linuxcnc.org/downloads/
LinuxCNC Uspace 2.7.0 Debian 9 Stretch
The LinuxCNC Buildbot builds several different versions of OS’s and is the best way to get the 2.8 (master) version. If you have a gantry type of machine the 2.8 supports dual motor gantry homing.
Is this the best version?
found on : linuxcnc.org/downloads/
LinuxCNC Uspace 2.7.0 Debian 9 Stretch
The LinuxCNC Buildbot builds several different versions of OS’s and is the best way to get the 2.8 (master) version. If you have a gantry type of machine the 2.8 supports dual motor gantry homing.
Please Log in or Create an account to join the conversation.
- alkabal
- Offline
- Platinum Member
Less
More
- Posts: 476
- Thank you received: 52
07 Apr 2020 18:57 #163087
by alkabal
Replied by alkabal on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
Sorry i can't really help for install selection, i have followed the raspberry information from JT
i think they are other helpfull information
gnipsel.com/linuxcnc/uspace/
Br
i think they are other helpfull information
gnipsel.com/linuxcnc/uspace/
Br
Please Log in or Create an account to join the conversation.
- Peterdeleu
- Offline
- Premium Member
Less
More
- Posts: 99
- Thank you received: 0
07 Apr 2020 20:15 #163088
by Peterdeleu
Replied by Peterdeleu on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
I tried this, but I have an error message during startup.
See the screenshot.
See the screenshot.
Please Log in or Create an account to join the conversation.
- alkabal
- Offline
- Platinum Member
Less
More
- Posts: 476
- Thank you received: 52
07 Apr 2020 20:18 - 07 Apr 2020 20:26 #163089
by alkabal
Replied by alkabal on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
It is XHC-WHB04B-6 or XHC-WHB04B-4 ?
have you do : You need to copy the files "99-xhc-whb04b-6.rules" in the folder /lib/udev/rules.d
i think the error is related to this rules file because you have error waitpid displayed, if your device is XHC-WHB04B-4 i haven't test this one but i can try to compile a version with correct PID/VID with another rules file
in your ini you need to have something like this :
[HALUI]
MDI_COMMAND=(debug,macro0)
MDI_COMMAND=(debug,macro1)
MDI_COMMAND=(debug,macro2)
MDI_COMMAND=(debug,macro3)
MDI_COMMAND=(debug,macro4)
MDI_COMMAND=(debug,macro5)
MDI_COMMAND=(debug,macro6)
MDI_COMMAND=(debug,macro7)
MDI_COMMAND=(debug,macro8)
MDI_COMMAND=(debug,macro9)
MDI_COMMAND=(debug,macro10)
MDI_COMMAND=(debug,macro11)
MDI_COMMAND=(debug,macro12)
MDI_COMMAND=(debug,macro13)
MDI_COMMAND=(debug,macro14)
MDI_COMMAND=(debug,macro15)
MDI_COMMAND=(debug,macro16)
have you do : You need to copy the files "99-xhc-whb04b-6.rules" in the folder /lib/udev/rules.d
i think the error is related to this rules file because you have error waitpid displayed, if your device is XHC-WHB04B-4 i haven't test this one but i can try to compile a version with correct PID/VID with another rules file
in your ini you need to have something like this :
[HALUI]
MDI_COMMAND=(debug,macro0)
MDI_COMMAND=(debug,macro1)
MDI_COMMAND=(debug,macro2)
MDI_COMMAND=(debug,macro3)
MDI_COMMAND=(debug,macro4)
MDI_COMMAND=(debug,macro5)
MDI_COMMAND=(debug,macro6)
MDI_COMMAND=(debug,macro7)
MDI_COMMAND=(debug,macro8)
MDI_COMMAND=(debug,macro9)
MDI_COMMAND=(debug,macro10)
MDI_COMMAND=(debug,macro11)
MDI_COMMAND=(debug,macro12)
MDI_COMMAND=(debug,macro13)
MDI_COMMAND=(debug,macro14)
MDI_COMMAND=(debug,macro15)
MDI_COMMAND=(debug,macro16)
Last edit: 07 Apr 2020 20:26 by alkabal.
Please Log in or Create an account to join the conversation.
- alkabal
- Offline
- Platinum Member
Less
More
- Posts: 476
- Thank you received: 52
07 Apr 2020 20:27 - 08 Apr 2020 12:03 #163091
by alkabal
Replied by alkabal on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
Last edit: 08 Apr 2020 12:03 by alkabal.
Please Log in or Create an account to join the conversation.
- Peterdeleu
- Offline
- Premium Member
Less
More
- Posts: 99
- Thank you received: 0
07 Apr 2020 20:29 #163092
by Peterdeleu
Replied by Peterdeleu on topic Pendant WHB04B on LinuxCNC 2.7 / Debian
It is a XHC-WHB04B-4.
The rule file is in the /lib/udev/rules.d folder.
But I don't have the HALUI in the ini file.
Do I need to ad this?
[HALUI]
MDI_COMMAND=(debug,macro0)
...
The rule file is in the /lib/udev/rules.d folder.
But I don't have the HALUI in the ini file.
Do I need to ad this?
[HALUI]
MDI_COMMAND=(debug,macro0)
...
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds