XHC_HB04_UTIL(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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:

  1. she provides the logic for a start/pause button πŸ”₯
  2. she's an interface to halui.program.is_paused, is_idle, is_running so she can generate the outputs for halui.program.pause, resume, and run πŸ’…

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 β€” bit in
  • xhc-hb04-util.N.is-paused β€” bit in
  • xhc-hb04-util.N.is-idle β€” bit in
  • xhc-hb04-util.N.is-running β€” bit in
  • xhc-hb04-util.N.pause β€” bit out
  • xhc-hb04-util.N.resume β€” bit out
  • xhc-hb04-util.N.run β€” bit out
  • xhc-hb04-util.N.in0 β€” s32 in
  • xhc-hb04-util.N.in1 β€” s32 in
  • xhc-hb04-util.N.in2 β€” s32 in
  • xhc-hb04-util.N.in3 β€” s32 in
  • xhc-hb04-util.N.out0 β€” s32 out
  • xhc-hb04-util.N.out1 β€” s32 out
  • xhc-hb04-util.N.out2 β€” s32 out
  • xhc-hb04-util.N.out3 β€” s32 out
  • xhc-hb04-util.N.scale0 β€” float in (default: 1.0)
  • xhc-hb04-util.N.scale1 β€” float in (default: 1.0)
  • xhc-hb04-util.N.scale2 β€” float in (default: 1.0)
  • xhc-hb04-util.N.scale3 β€” float in (default: 1.0)
  • xhc-hb04-util.N.coef0 β€” float in (default: 1.0)
  • xhc-hb04-util.N.coef1 β€” float in (default: 1.0)
  • xhc-hb04-util.N.coef2 β€” float in (default: 1.0)
  • xhc-hb04-util.N.coef3 β€” float in (default: 1.0)
  • xhc-hb04-util.N.divide-by-k-in β€” float in
  • xhc-hb04-util.N.divide-by-k-out β€” float out
  • xhc-hb04-util.N.k β€” float in (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