[libgpiod] tools/gpioset only checks direction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm having some trouble with the gpioset app that comes with libgpiod. For me (4.14 kernel) it only does get_direction on the gpio I'm trying to set.
Following the code path down from gpioset.c to where the setting should (?) happen, tag stack below, I see nothing that sets gpios.

  1  1 gpiod_ctxless_set_value_multiple   264  src/tools/gpioset.c
  2  1 gpiod_line_request_bulk_output_flags   121  ./src/lib/ctxless.c
  3  1 gpiod_line_request_bulk   366  src/lib/helpers.c
  4  1 line_request_values   547

Is this a bug or am I missing something totally obvious.
I tried the gpio-hammer tool in the kernel repo and that worked like a charm.

Regards,
Einar Vading
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux