XHC-WHB04B-4 can't get it too work.
- Catch22
- Topic Author
- Offline
- Elite Member
- Posts: 218
- Thank you received: 17
Do I use Pncconfig to install it, I'm having a tough time because I have never used Linux before. I have Linux Mint installed with linuxcnc 2.9 on it.
Is there maybe a step by step installation page or video that I just haven't found yet?
Any help to point me in the right direction would be appreciated.
Thanks Mike
Please Log in or Create an account to join the conversation.
- bbsr_5a
- Offline
- Platinum Member
- Posts: 544
- Thank you received: 105
does it response in the terminal
i added my config so you can see if it workes propper
Please Log in or Create an account to join the conversation.
- alkabal
- Offline
- Platinum Member
- Posts: 476
- Thank you received: 52
Please Log in or Create an account to join the conversation.
- Catch22
- Topic Author
- Offline
- Elite Member
- Posts: 218
- Thank you received: 17
Already spent days on this. I don't care about what the buttons are setup for as long as I can jog x,y and z.
Anyone willing to take time too help me out I would be willing to pay for your time.
Thanks Mike
Please Log in or Create an account to join the conversation.
- alkabal
- Offline
- Platinum Member
- Posts: 476
- Thank you received: 52
Please Log in or Create an account to join the conversation.
- Catch22
- Topic Author
- Offline
- Elite Member
- Posts: 218
- Thank you received: 17
add me to skype and ican try to help : golfopeos[/quote
Ok thanks alot, I will add you to my Skype.
Please Log in or Create an account to join the conversation.
- Catch22
- Topic Author
- Offline
- Elite Member
- Posts: 218
- Thank you received: 17
If someone is willing to put a step by step install of xhc-whb04b-4 for dummies I will gladly pay them for it. Using Linux Mint 19.2 and version 2.8 Linuxcnc.
Thanks Mike
Please Log in or Create an account to join the conversation.
- photomankc
- Offline
- Senior Member
- Posts: 71
- Thank you received: 4
forum.linuxcnc.org/38-general-linuxcnc-q...g-a-whb04b-4-working
First thing to look at is with the dongle plugged in do you see something like this:
~$ lsusb
Bus 004 Device 006: ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
... snip ...
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 10ce:eb93 Silicon Labs <<<<<<
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
... snip ...
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Looking for that line with "10ce:eb93 Silicon Labs". If it's there, then it's at least plugged in, powered, and seen on the USB bus.
Now, check in /etc/udev/rules.d/ any files and see if something along these lines is in there:
ATTR{idProduct}=="eb93", ATTR{idVendor}=="10ce", MODE="666", OWNER="root", GROUP="plugdev"
If there are no files there, then add one named "99-xhc-whb04b-6.rules" and add that line. If you do this then I would go ahead and reboot afterwards.
Next look at the commands I ran using "halrun" and "/usr/bin/xhc-whb04b-6 -e"
In halrun, if the sucker loads up you should be able to type "show pin" and see a list of all the whb.* pins in there. If it says access denied or can't claim interface then you've still got permission problems. The other command runs the program that manages the pendant and prints stuff to your screen when you press buttons or turn knobs. That's good to verify that you are getting data to and from the pendant.
After that it gets a bit more involved but basically:
You need an xhc-whb04b.hal file that loads the component and connects up the HAL pins to stuff. Then you need to add that to the [HALFILES] section of your mill's .ini file. Personally I would start with just loading the component (the loadusr line) and looking to see if it's in there when you start the mill. If it starts up look in the menu at "Machine->HAL Configuration". Expand "pins" and see if "whb" is on that list. If so then you've got the worst of it over with.
I feel your pain. Took me several days to work it all out. You can peek at my configuration but you won't be able to copy-n-paste exactly as I have some custom logic in my machine that I had to work it into and I have not connected any of the macro buttons or spindle stuff yet, But I got it working and jogging and controlling the mode and program execution so far.
Please Log in or Create an account to join the conversation.