Advanced Search

Search Results (Searched for: XHC)

  • Hakan
  • Hakan
08 Jul 2025 15:24
Replied by Hakan on topic HY_VFD RS-485 HAL config

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

Those two are the most common devices. That should work.
Redo that "sudo dmesg" with the search for serial. Limit to the last say 10 line though,
that should give the port name. I just plugged in a random usb-serial device I had and got this
hakan@server:~$ sudo dmesg | tail -11
[85176.404168] usb 1-9: new full-speed USB device number 2 using xhci_hcd
[85176.655288] usb 1-9: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[85176.655300] usb 1-9: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[85176.655304] usb 1-9: Product: USB2.0-Ser!
[85176.697428] usbcore: registered new interface driver usbserial_generic
[85176.697438] usbserial: USB Serial support registered for generic
[85176.698519] usbcore: registered new interface driver ch341
[85176.698527] usbserial: USB Serial support registered for ch341-uart
[85176.698541] ch341 1-9:1.0: ch341-uart converter detected
[85176.710753] ch341-uart ttyUSB0: break control not supported, using simulated break
[85176.710890] usb 1-9: ch341-uart converter now attached to ttyUSB0
You should hopefully get something similar and there is the device name: /dev/ttyUSB0

 
  • CNC_Tux
  • CNC_Tux
12 Jun 2025 14:52
Replied by CNC_Tux on topic XHC-WHB04B-6 Bug

XHC-WHB04B-6 Bug

Category: HAL

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
  • rodw
  • rodw's Avatar
11 Jun 2025 22:05
Replied by rodw on topic XHC-WHB04B-6 Bug

XHC-WHB04B-6 Bug

Category: HAL

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.
 
  • CNC_Tux
  • CNC_Tux
11 Jun 2025 07:42
XHC-WHB04B-6 Bug was created by CNC_Tux

XHC-WHB04B-6 Bug

Category: HAL

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
Displaying 211 - 214 out of 214 results.
Time to create page: 2.434 seconds
Powered by Kunena Forum