XHC WHB04b-6 - Disconnects / freezes?

More
2 years 2 months ago #308422 by spontarelliam
I have the same problem. I've noticed that Linux itself has actually lost connection with the device, which I can see by running $lsusb while the pendant is working and again when it's not. The odd thing is that restarting LinuxCNC seems to mount the usb device in Linux.

I don't know the solution, but I'll continue taking notes and report back if I figure it out.

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

More
2 years 2 months ago - 2 years 2 months ago #308468 by spontarelliam
When the problem does occur, there's a continual connect/disconnect cycle of the device every ~20sec:
Code:
$ sudo dmesg -T [Fri Aug 23 10:50:47 2024] usb 1-3.4: new full-speed USB device number 61 using xhci_hcd [Fri Aug 23 10:50:47 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00 [Fri Aug 23 10:50:47 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [Fri Aug 23 10:50:47 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English [Fri Aug 23 10:50:47 2024] hid-generic 0003:10CE:EB93.0129: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0 [Fri Aug 23 10:50:57 2024] usb 1-3.4: USB disconnect, device number 61 [Fri Aug 23 10:51:07 2024] usb 1-3.4: new full-speed USB device number 62 using xhci_hcd [Fri Aug 23 10:51:07 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00 [Fri Aug 23 10:51:07 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [Fri Aug 23 10:51:07 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English [Fri Aug 23 10:51:07 2024] hid-generic 0003:10CE:EB93.012A: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0 [Fri Aug 23 10:51:17 2024] usb 1-3.4: USB disconnect, device number 62 [Fri Aug 23 10:51:27 2024] usb 1-3.4: new full-speed USB device number 63 using xhci_hcd [Fri Aug 23 10:51:27 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00 [Fri Aug 23 10:51:27 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [Fri Aug 23 10:51:27 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English [Fri Aug 23 10:51:27 2024] hid-generic 0003:10CE:EB93.012B: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0 [Fri Aug 23 10:51:40 2024] usb 1-3.4: USB disconnect, device number 63 [Fri Aug 23 10:51:50 2024] usb 1-3.4: new full-speed USB device number 64 using xhci_hcd [Fri Aug 23 10:51:51 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00 [Fri Aug 23 10:51:51 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [Fri Aug 23 10:51:51 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English [Fri Aug 23 10:51:51 2024] hid-generic 0003:10CE:EB93.012C: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0


After restarting linuxCNC, this reconnection cycle stops. I let the pendant stay on overnight and it was still connected to LinuxCNC the next morning, so I don't think it's a timeout issue. I've also tried carrying the pendant far enough away until it displays Lost RF, but then returning to the machine, turning the pendant off/on allows it to reconnect to LinuxCNC properly in a way that doesn't happen when this disconnect/freeze error occurs.
Last edit: 2 years 2 months ago by spontarelliam. Reason: formatting struggles

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

More
2 years 2 months ago #308734 by spontarelliam
Alright a few other related forum posts ( forum.linuxcnc.org/gmoccapy/34296-xhc-hc04-lost-connection , forum.linuxcnc.org/38-general-linuxcnc-q...-hb04-pendant-issues ) convinced me to upgrade LinuxCNC, which appears to have solved the issue.

I upgraded from 2.8 to 2.9.3.
The following user(s) said Thank You: Aciera

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

More
2 years 2 months ago - 2 years 2 months ago #308776 by Mecanix

Alright a few other related forum posts ( forum.linuxcnc.org/gmoccapy/34296-xhc-hc04-lost-connection , forum.linuxcnc.org/38-general-linuxcnc-q...-hb04-pendant-issues ) convinced me to upgrade LinuxCNC, which appears to have solved the issue.

I upgraded from 2.8 to 2.9.3.
 
I have the same MPG, which I only use for the macro buttons for when I'm far from the controller and doing manual fixture setup and other non-automation related tasks. Regardless of the Lcnc version that MPG is near if not close to being useless. Similar to the keyboard, it's quite dangerous ($$$) I would like to add. There is no CRC neither data integrity to that thing and so, don't complain if it decides to randomly wander either sides and crash your >5k worth spindle into something... you get the idea. 

A safe & honest MPG requires to be hard wired. Only hardware that is legally allowed to move my axis here (no keyboard, no wifi, nothing else). 
Last edit: 2 years 2 months ago by Mecanix.
The following user(s) said Thank You: zmrdko

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

More
1 year 11 months ago #313798 by CNC_Tux
Hello Community,
i ve the same problem with disconnects and freezes of the WHB04-6 and i think its not a matter of the Linuxcnc Version, its a matter of the source code of the WHB04.
I use Linuxcnc 2.8.4 and gmoccapy with a XHC-WHB04-6 and its working in manual mode very well, but if i move the Jogwhheel in the Mode MDI or in Auto will switch the WHB04 to manual mode.
The problem start if i use the mode Auto and a program is running and i move in this time the Jogwheel ... then i get a fault message " its impossible to switch from Auto to manual mode in a running program" after will freeze the WHB04 in.
I search in the HAL for a solution, but the switch function is programed ( so i suppose ) in the source code.
I think the fault chain start earlier, with the functions "mpg" , "con" and "stp"
With the function "mpg" (directly after start of gmoccapy) is working the Jogwheel at the feeding rate ..... after press on the Button "con" or "stp" is impossible to switch back to "mpg".
Have anybody a solution for this kind of problem?

Thank you so much in advance

Best regards
Reinhard

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

More
1 year 11 months ago #313800 by zmrdko
i have the same MPG and on linuxcnc 2.9.3 and I am experiencing same disconnects.
I support Mecanix opininon - the MPG should be hard wired.

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

Time to create page: 0.228 seconds
Powered by Kunena Forum