XHC_HB04_UTIL(9)
π xhc_hb04_util π
okay bestie, welcome to xhc_hb04_util β a HAL component from the LinuxCNC docs, and honestly? she's a little convenience queen. the manual name is XHC_HB04_UTIL(9) and yes the (9) means kernel/HAL-component territory, iykyk π
β¨ SYNOPSIS β¨
loadrt xhc_hb04_util [count=N|names=name1[,name2...]]
πΈ DESCRIPTION πΈ
so what does she actually do? two main character jobs:
- she provides the logic for a start/pause button π₯
- she's an interface to
halui.program.is_paused,is_idle,is_runningso she can generate the outputs forhalui.program.pause,resume, andrunπ
she also comes with 4 simple lowpass filters, each with coef and scale pins. about those coef values, bestie: the coef value should be 0 <= coef <= 1, and smaller coef values slow the response down. if you wanna do the math on the filter time constant, go check the lowpass manpage ($ man lowpass) β she's not gonna do it for you π¦
π§ FUNCTIONS π§
xhc-hb04-util.Nβ requires a floating-point thread β
π PINS π
ins and outs, the whole vibe
xhc-hb04-util.N.start-or-pauseβbitinxhc-hb04-util.N.is-pausedβbitinxhc-hb04-util.N.is-idleβbitinxhc-hb04-util.N.is-runningβbitinxhc-hb04-util.N.pauseβbitoutxhc-hb04-util.N.resumeβbitoutxhc-hb04-util.N.runβbitoutxhc-hb04-util.N.in0βs32inxhc-hb04-util.N.in1βs32inxhc-hb04-util.N.in2βs32inxhc-hb04-util.N.in3βs32inxhc-hb04-util.N.out0βs32outxhc-hb04-util.N.out1βs32outxhc-hb04-util.N.out2βs32outxhc-hb04-util.N.out3βs32outxhc-hb04-util.N.scale0βfloatin (default:1.0)xhc-hb04-util.N.scale1βfloatin (default:1.0)xhc-hb04-util.N.scale2βfloatin (default:1.0)xhc-hb04-util.N.scale3βfloatin (default:1.0)xhc-hb04-util.N.coef0βfloatin (default:1.0)xhc-hb04-util.N.coef1βfloatin (default:1.0)xhc-hb04-util.N.coef2βfloatin (default:1.0)xhc-hb04-util.N.coef3βfloatin (default:1.0)xhc-hb04-util.N.divide-by-k-inβfloatinxhc-hb04-util.N.divide-by-k-outβfloatoutxhc-hb04-util.N.kβfloatin (default:1.0)
π«Ά AUTHOR π«Ά
Dewey Garrett β we stan π
π LICENSE π
GPL β free as in slay π
and that's the whole page, bestie!! this was LinuxCNC Documentation, dated 2026-03-17, and the page itself is XHC_HB04_UTIL(9). go wire up those buttons, icon π
β¨πΈ
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms