Linuxcnc 2.8.2 XHC-HB04 configuration

More
01 Mar 2022 09:24 #236083 by jaro_p
Current Version of LinuxCNC
The xhc-hb04 driver and a sample config are included in LinuxCNC versions starting with 2.6.0. There is no need to download and compile the driver.There's nothing here to say that the configuration isn't valid ... or am I wrong?

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

More
01 Mar 2022 13:01 #236107 by andypugh
I wonder if perhaps you do not have any halui pins because halui is not loading?

Does your INI file contain "HALUI = halui" in the [HAL] section?
linuxcnc.org/docs/2.8/html/config/ini-config.html#_hal_section

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

More
01 Mar 2022 13:11 - 01 Mar 2022 13:38 #236109 by Aciera
I'm not suggesting that you need to download a driver. The problem is the outdated pinnames in your xhc-hb04.hal. Can you point out where you got this code from:

Warning: Spoiler!


[edit]
Halui seems to be declared correctly in the .ini:
[HAL]
HALUI = halui
HALFILE = raspi-cnc.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
HALFILE = xhc-hb04.hal
HALFILE=xhc-hb04.tcl
Last edit: 01 Mar 2022 13:38 by Aciera.

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

More
05 Mar 2022 09:47 #236409 by jaro_p
Greetings, thank you for your answers. I'm really pretty upset about it, honestly it's probably too complicated for me.
I found the configuration here on the forum:
forum.linuxcnc.org/10-advanced-configura...4-basic-setup-in-2-8

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

More
05 Mar 2022 10:31 #236414 by Aciera
Seems to me that you must have somehow got your xhc-hb04.hal confused because the file you find in the post you linked does not contain old pin names:
forum.linuxcnc.org/10-advanced-configura...c-setup-in-2-8#88980

So I would suggest you replace your current 'xhc-hb04.hal' with the file attached to the above post. forum.linuxcnc.org/media/kunena/attachments/1519/xhc-hb04.hal

Looks like you probably need the other config file as well (remove the ending .txt):
forum.linuxcnc.org/media/kunena/attachme...519/xhc-hb04-cfg.txt

Also you might want to follow the advice and replace this line in your 'raspi-cnc.hal':
#loadusr -W xhc-hb04 -I xhc-hb04-layout2.ini -H
with this:
loadusr -W xhc-hb04 -H -I xhc-hb04-cfg -s 3


Try that and report back with any errors you might get.

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

More
05 Mar 2022 10:49 #236415 by jaro_p
Thank you for your effort, I will try as soon as possible.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum