Help with Wireless Handwheel XHC-WHB04B-6 (wrong Product ID)

More
11 months 3 weeks ago #337807 by Gogonfa
Hi everyone,

I’m trying to get my XHC-WHB04B-6 wireless handwheel working with LinuxCNC, but mine shows up as:
Code:
Bus 001 Device 052: ID 10ce:[b]eb91[/b] Silicon Labs

So the Vendor ID (10ce) is fine, but the Product ID is 0xeb91 instead of the usual 0xeb93.
It’s one of those AliExpress clones, originally meant for EdingCNC controllers.

From what I’ve read, the Product ID is defined in the driver source (like usb.h), and you’d need to rebuild it — which I can’t manage.

Has anyone already patched this or found a way to make LinuxCNC recognize it?

Thanks a lot!
Michael

Please Log in to join the conversation.

More
11 months 3 weeks ago #337815 by unknown
lspci will only probe devices on the pci\pcie bus.
The OP is correct the USB device ids are defined in the header file.
Maybe if the OP raised an issue on the GitHub page he would have direct access to the Devs.
Unfortunately the only thing I can think of is to follow the instructions given in the docs and build Linuxcnc from source as a RIP and see how things go.

Please Log in to join the conversation.

More
11 months 3 weeks ago #337827 by Hakan
There may be more than the usb product code that differ between them.
Here is where to change  github.com/LinuxCNC/linuxcnc/blob/fb1480...-whb04b-6/usb.h#L311
Then build linuxcnc and run-in-place.

Please Log in to join the conversation.

More
11 months 3 weeks ago #337828 by rodw
Linuxcnc 2.9.4 was released to fix some things with with XHC USB pendants. Perhaps an upgrade will fix things. Here is how to get it on Trixie
 

Please Log in to join the conversation.

More
11 months 3 weeks ago #337832 by unknown
It's the IDs that are the issue which are hard coded into the driver. 2.9.7 won't help.

Please Log in to join the conversation.

More
11 months 3 weeks ago #337835 by rodw

Code:
[b]From what I’ve read, the Product ID is defined in the driver source (like usb.h), and you’d need to rebuild it — which I can’t manage.[/b]
 

Anybody can build linuxcnc from source. I did a video guide.  studio.youtube.com/video/Oe4Hfq3G2_A/edit
 

Please Log in to join the conversation.

More
11 months 3 weeks ago #337908 by Gogonfa
Thanks @rodw,
today I built LinuxCNC 2.10-pre directly from the git repository, using the 6.12.48+deb13-rt-amd64 real-time kernel together with the Probe Basic GUI.Getting Probe Basic up and running was a bit tricky — some of the Python libraries it relies on are deprecated and no longer available in Python 3.13, so I had to make a few adjustments. But it’s working now!I also changed the ID for the wireless handwheel (not yet tested), and EtherCAT is running as well.

Please Log in to join the conversation.

More
11 months 3 weeks ago #337920 by tommylight
@Rod,
We can not edit your youtube videos on your youtube studio! :)
-
how is the html code for grin?

Please Log in to join the conversation.

More
11 months 3 weeks ago #337942 by Gogonfa
Hi @all,

the issue with the Product ID on my Eding CNC branded wirless Handwheel ist solved. By changing the PorductID in the usb.h file and a rebuild of LinuxCNC, everything works fine 

Please Log in to join the conversation.

More
11 months 3 weeks ago #337944 by unknown
@Gogonfa
It might be worth raising an issue on github & maybe request that the PID could included on the line that loads the driver.

Could be of immense help further down the track.

Please Log in to join the conversation.

Time to create page: 0.146 seconds
Powered by Kunena Forum