- Posts: 43
- Thank you received: 0
XHC-WHB04b-6 freeze in issue fixed !!
1 month 2 weeks ago #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
Please rename the attachment hal.c to hal.cc
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
Attachment not found
Attachment not found
Please rename the attachment hal.c to hal.cc
Please Log in to join the conversation.
1 month 2 weeks ago #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?
Can you make a patch from your sources?
Please Log in to join the conversation.
1 month 2 weeks ago #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 to join the conversation.
1 month 2 weeks ago #349666
by rhscdn
Replied by rhscdn on topic XHC-WHB04b-6 freeze in issue fixed !!
I've encountered this bug many times. Thanks for posting.
Please Log in to join the conversation.
1 month 2 weeks ago #349673
by CNC_Tux
Replied by CNC_Tux on topic XHC-WHB04b-6 freeze in issue fixed !!
Hello Linuxcnc Friends,
i abused the WHB04b-6 with a bad behavior and i found some smal bugs again.
Here are now the final and stable version of the drivers for Linuxcnc 2.9.10 and the hal.cc for the guys they want compile by himself to use in other versions
Best Regards
Reinhard
i abused the WHB04b-6 with a bad behavior and i found some smal bugs again.
Here are now the final and stable version of the drivers for Linuxcnc 2.9.10 and the hal.cc for the guys they want compile by himself to use in other versions
Best Regards
Reinhard
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.092 seconds
