LinuxCNC / linuxcnc

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and more.
http://linuxcnc.org/
GNU General Public License v2.0
1.73k stars 1.13k forks source link

hal_gpio doesn't load if I have "inputs=" as parameter. #2934

Closed drummer315 closed 3 months ago

drummer315 commented 3 months ago

Here are the steps I follow to reproduce the issue:

  1. Create a .hal file with "loadrt hal_gpio inputs= outputs=PIN..."
  2. Start linuxcnc.

This is what I expected to happen:

Start with no inputs.

This is what happened instead:

Prints "The GPIO line can not be found" and exits.

Information about my hardware and software:

It works fine if I omit the "inputs=" entirely. Works fine if I pick some unused gpiod line as a dummy input. This issue is so picky that I don't think it needs any fixing.

andypugh commented 3 months ago

I believe that this is now fixed.