Skip to content

Commit 8b6c1d5

Browse files
authored
Added to documentation to warn against problem with libgpiod 1.0 and lower. (#2426)
1 parent 25f6c8c commit 8b6c1d5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Documentation/gpio-linux-libgpiod.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,19 @@ for (int i = 0; i < 5; i++)
4040

4141
## libgpiod version support
4242

43-
Currently (12/23) dotnet-iot supports v0, v1 and v2 of libgpiod.
43+
Dotnet-iot supports v0, v1 and v2 of libgpiod.
4444

4545
The following table shows which driver supports which library version
4646

4747
| LibGpiodDriverVersion | Libgpiod version (documented) |
4848
| --------------------- | ----------------------------- |
49-
| V1 | 0.x to 1.x |
49+
| V1 | 0.x to 1.0.x (Partial support) 1.1 - 1.x (Supported)|
5050
| V2 | 2.x |
5151

52+
NOTE: Due to a [breaking change in the values of enums in the libgpiod](
53+
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?id=783ff2e3c70788cdd1c65cba9ee0398bda5ebcda), only libgpiod versions 1.1 and later can be expected to function reliably with the V1 driver.
54+
To check what libgpiod packages you have on a deb based system, use: ``` $apt show libgpiod* ```
55+
5256
## Choose LibGpiodDriver Version
5357

5458
If you want to explicitly select the version of the libgpiod driver, to target a specific library version, there are following options:

0 commit comments

Comments
 (0)