XHC-WHB04B-6 Bug
- CNC_Tux
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 4
11 Jun 2025 07:42 #330127
by CNC_Tux
XHC-WHB04B-6 Bug was created by CNC_Tux
Dear Community,
i hope this is the right place to describe a bug on the XHC-WHB04B-6 Driver.
My environments are LinuxCNC 2.8.4 with Debian 10.10 and 2.9.1 with Debian 12 ( in both the same issue )
If I use the XHC-WHB04B-6 part , are all functions working very well ... so far so good.
If I change from man Mode to MDI and use the jogwheel on the XHC-WHB04B-6, so change the mode from MDI back to man. Mode.
In Automatic exactly the same behavior ...... so far so good, but now the bug ....... if I do it the same on a running program, so will freeze in the XHC-WHB04B-6, because the Automatic Mode can not switch back to the man Mode.
To get open again, ... switch off the Machine, switch off the XHC-WHB04B-6, start again the LinuxCNC, switch on the
XHC-WHB04B-6 and all will works again very well.
I looking about the HAL to find solutions about the problem, but in the HAL its impossible to fix this issue, its seems to be hard coded.
I looking to the source code, to find anything ( my knowledge in C+ or C++ have tight borders ).
I found something to fix the issue, but its not really working.
Result:
-The switch back to the man Mode is only working in Step Mode or in Con Mode, not in MPG Mode.
-It is possible to switch to Con Mode or to Step Mode on the XHC-WHB04B-6, its impossible to switch to the MPG Mode.
To switch to the MPG Mode has the driver no solution, just in the start is the XHC-WHB04-6 in the MPG Mode.
My idea, to fix this issue was in the hal.cc of the source code to switch in the MPG Mode if the CNC is in MDI or automatic Mode
and nothing will freeze in and working well.
I tried to programing a switch back to MPG Mode, without any faults in compiling the code, but isnt works.
Is anyone there in the community, with experience in C+ ; C++ for help to fix this issue ?
Thank you so much in advance.
Best regards
Reinhard
i hope this is the right place to describe a bug on the XHC-WHB04B-6 Driver.
My environments are LinuxCNC 2.8.4 with Debian 10.10 and 2.9.1 with Debian 12 ( in both the same issue )
If I use the XHC-WHB04B-6 part , are all functions working very well ... so far so good.
If I change from man Mode to MDI and use the jogwheel on the XHC-WHB04B-6, so change the mode from MDI back to man. Mode.
In Automatic exactly the same behavior ...... so far so good, but now the bug ....... if I do it the same on a running program, so will freeze in the XHC-WHB04B-6, because the Automatic Mode can not switch back to the man Mode.
To get open again, ... switch off the Machine, switch off the XHC-WHB04B-6, start again the LinuxCNC, switch on the
XHC-WHB04B-6 and all will works again very well.
I looking about the HAL to find solutions about the problem, but in the HAL its impossible to fix this issue, its seems to be hard coded.
I looking to the source code, to find anything ( my knowledge in C+ or C++ have tight borders ).
I found something to fix the issue, but its not really working.
Result:
-The switch back to the man Mode is only working in Step Mode or in Con Mode, not in MPG Mode.
-It is possible to switch to Con Mode or to Step Mode on the XHC-WHB04B-6, its impossible to switch to the MPG Mode.
To switch to the MPG Mode has the driver no solution, just in the start is the XHC-WHB04-6 in the MPG Mode.
My idea, to fix this issue was in the hal.cc of the source code to switch in the MPG Mode if the CNC is in MDI or automatic Mode
and nothing will freeze in and working well.
I tried to programing a switch back to MPG Mode, without any faults in compiling the code, but isnt works.
Is anyone there in the community, with experience in C+ ; C++ for help to fix this issue ?
Thank you so much in advance.
Best regards
Reinhard
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11300
- Thank you received: 3783
11 Jun 2025 22:05 #330178
by rodw
Replied by rodw on topic XHC-WHB04B-6 Bug
You are two versions behind. The first step is to install master branch (2.10) to confirm the bug it still present. It may have been fixed.
If it has been fixed, it won't find its way back into an older version of Linuxcnc.
You should report the bug as an issue on Linuxcnc's GitHub page.
If it has been fixed, it won't find its way back into an older version of Linuxcnc.
You should report the bug as an issue on Linuxcnc's GitHub page.
Please Log in or Create an account to join the conversation.
- CNC_Tux
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 4
12 Jun 2025 14:52 #330209
by CNC_Tux
Replied by CNC_Tux on topic XHC-WHB04B-6 Bug
Hello Rod,
Tank you so much for your answer.
yes of course, i know .... i am 2 versions behind.
If you has fixed in the new version 2.10 ... its possible to get the source code of the driver of the XHC-WHB04B-6 ?
I think this is for me faster like a complete new installation and new configuration of the Machine.
Thank you so much.
Best regards
Reinhard
Tank you so much for your answer.
yes of course, i know .... i am 2 versions behind.
If you has fixed in the new version 2.10 ... its possible to get the source code of the driver of the XHC-WHB04B-6 ?
I think this is for me faster like a complete new installation and new configuration of the Machine.
Thank you so much.
Best regards
Reinhard
Please Log in or Create an account to join the conversation.
Time to create page: 0.133 seconds