is there driver for the new XHC-WHB04B-4

More
05 Jun 2017 09:00 #94077 by Reiziger
okay that's no problem thank you!

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

More
11 Jul 2017 08:56 #95647 by smalla
Hi all,

Im working on driver for WHB04B-6 but I belive it will work with WHB04B-4 too,

here is the code:
github.com/smalla/linuxcnc

the MPG is working,
now Im working on the display section, as it is way too different from xhc-hb04

suggestions are always welcome :)

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

More
04 Aug 2017 11:02 #97001 by smalla
Can You please try it if it works with the whb04b-4 ? it would be nice to know.

thanks

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

More
08 Dec 2017 03:59 - 08 Dec 2017 05:37 #102761 by wolrah
smalla,

I have a WHB04B-4, and I am in the process of setting up a new LinuxCNC system.

PC is built, LinuxCNC installed. (downloaded from linuxcnc.org today)

I have used the Config-picker to select the xhc-hb04 to select the layout1 demo. It pops up the "exited without becoming ready" error.

This may very well be an error between my keyboard and my chair, I'll keep digging into it looking for obvious stuff.

If there is any thing you would like me to look at, let me know.

Thanks!

Edit:
Installed lsusb, the dongle shows up as Silicon Labs, ID: 10cd:eb93
Last edit: 08 Dec 2017 05:37 by wolrah. Reason: Add lsusb details for WHB04B

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

More
08 Dec 2017 10:44 #102765 by andypugh
Can you paste the output that results from running LinuxCNC from the command line?
(command "linuxcnc")

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

More
08 Dec 2017 11:06 #102768 by smalla
Hi, the XHC-HB04 and the XHC-WHB04B-4(6) are different devices in terms of encoding the signal.
I have made a driver for the XHC-WHB04B-6, as I have this device, but Im pretty sure it will work with the whb04b-4.
Maybe de usb device identifier needs to be replaced.
it can be found here in this fork:
github.com/smalla/linuxcnc

It only works for linuxcnc 2.8 series as configured to use joints and axes. I havent pushed it to the mainline yet, as it still has some bugs, mainly with the display:
The 4th line of the display is not reachable, its quite impossible to display all the stuff needed.
It can be used to drive the axes, but the display is lagging behind the actual position, I couldnt figure out why, and where the data is leaking, why the screen is not updated.

I can help You to install this driver, its not too complicated.

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

More
08 Dec 2017 15:30 #102778 by wolrah
smalla, that would be great!

In exchange I could help troubleshoot/debug the "-4" version.
I have programming experience but would probably be most effective to the effort as a guinea pig/tester.

I have to go out and run some errands, but let me know how I can support.

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

More
11 Dec 2017 09:08 #102899 by smalla
Download, install and try :)

let me know the problems.

Have You ever installed linuxcnc from source? Than it wont be hard.

:)

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

More
12 Dec 2017 16:41 #103009 by wolrah
Can I pull your branch from Git and install on top of the existing 2.7?

Following this guide: linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
At "1.1" just replace the Git address with your branch.

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

More
12 Dec 2017 16:58 #103013 by smalla
it wont work with 2.7 unless you rewrite the .tcl file
because of joints and axes introduced in 2.8.

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

Time to create page: 0.139 seconds
Powered by Kunena Forum