XHC-HB04 wireless MPG pendant HAL module

More
11 years 9 months ago #55502 by ArcEye

andypugh wrote:

garulus wrote: Can anyone make simple step by step guide, please?


I couldn't even find a manual page for the XHC, which seems like something of an oversight.

Most of the documentation seems to be in the README in the sample config:
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...fa83381b744fb0491c4b

I suspect that your problem is that the device ID of your MPG is different. You should be able to test by plugging it in and running lsusb from the command line.

See if the device ID matches the one in the sample config. 10CE:EB70

If not then the driver will need to be altered to take device-ID as an INI parameter.


Also the wiki is here
wiki.linuxcnc.org/cgi-bin/wiki.pl?Using_...Wireless_MPG_Pendant

and the zips of source linked in them have README's too.

As Andy says however, check the model:vendor USB codes as a first step.

I have seen several Chinese knock offs which look similar but may well have different codes, so the udev rules will not work if they differ.

The hal driver can be loaded at the commandline, either in simulation mode or when there is a running linuxcnc instance for testing

xhc-hb04 -h gives some help regards the switches etc

If you post your config folder zipped, hopefully cncbasher will look at it and compare it to his own working one.

I asked him if he would do the same for this thread
www.linuxcnc.org/index.php/english/forum...-step-interval#55454

regards

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

More
11 years 9 months ago #55515 by emcocnc
I have tried the command lsusb and got back:

bash: lsusb: command not found

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

More
11 years 9 months ago #55516 by emcocnc

emcocnc wrote: I have tried the command lsusb and got back:

bash: lsusb: command not found


Found out how to install it. Not sure if you need to be root, bu i was, but I went to the sbin directory and typed:

apt-get install usbutils

That installed it and lsusb works now. That being said, my wiredXHC-LHB04 is identified as:

Bus 004 Device 002: ID 10ce:eb70 Silicon Labs

So at least it is detecting it. This differs from the wireless version, 10CE:EB70 only by capital letters. Will that make a difference?

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

More
11 years 9 months ago #55519 by emcocnc
I tried running by ini file, but it won't execute with the xhc-hb04 command entered into halui. :ohmy: I was wondering if someone could look at this? :)

Also, does the XHC-HB04 files need to be in the same directory as where all the machine ini files are?

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

More
11 years 9 months ago - 11 years 9 months ago #55520 by emcocnc
here is the debug info.

File Attachment:

File Name: debug.txt
File Size:57.71 KB
Last edit: 11 years 9 months ago by emcocnc.

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

More
11 years 9 months ago #55522 by ArcEye
It is finding the file OK.

Do you have a 4 axis mill?
One of the errors is regards a pin on axis 3 ie. A axis

Please attach the actual hal file
/usr/local/bin/xhc-hb04.hal

regards

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

Time to create page: 0.145 seconds
Powered by Kunena Forum