XHC-WHB04b-6 freeze in issue fixed !!

More
15 Sep 2026 13:27 - 15 Sep 2026 14:03 #349654 by CNC_Tux
XHC-WHB04b-6 freeze in issue fixed !! was created by CNC_Tux
Dear Linuxcnc Friends,
the WHB04b-6 driver has a big issue, if you are in Automatic mode and a cnc program in running and you use the jog wheel, will be freeze in the WHB04b-6. That issue is a bug in the hal.cc ! Every move on the jog wheel try the driver to switch into the manual mode and the WHB04b-6 freeze in. I have fixed this issue with AI and compiled the driver new in the Version of Linuxcnc 2.9.10
The Driver works very well and in my Version is the maximum of Jogscale 0.1mm ( to much Jogscale is a crash risk )
You can download here the zip file, unpack and copy with sudo rights to your System in /usr/bin/
Dont forgett to set the rights for execute the files.


The fixed hal.cc is in the attachment, for the guys they want compile by himself.
Best regards
Reinhard 

File Attachment:

File Name: AI_Driver_...4b-6.zip
File Size:601 KB
 
 

File Attachment:

File Name: hal.c
File Size:56 KB

Please rename the attachment hal.c to hal.cc
Attachments:
Last edit: 15 Sep 2026 14:03 by CNC_Tux. Reason: new Attachment, the fixed hal.cc

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

More
15 Sep 2026 14:48 - 15 Sep 2026 14:52 #349658 by tuxcnc
Replied by tuxcnc on topic XHC-WHB04b-6 freeze in issue fixed !!
I made a diff with the latest hal.cc from Github and got a 43 kB patch...
Can you make a patch from your sources?
 
Last edit: 15 Sep 2026 14:52 by tuxcnc. Reason: mistake

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

More
15 Sep 2026 20:48 #349664 by rodw
Replied by rodw on topic XHC-WHB04b-6 freeze in issue fixed !!
A better solution should be to submit your changes to LinuxCNC as a PR.

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

Time to create page: 0.423 seconds
Powered by Kunena Forum