-
Notifications
You must be signed in to change notification settings - Fork 606
Open
Labels
Priority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutenhancementNew feature or requestNew feature or request
Description
The current detection algorithm in LibGpidDriver factory is somewhat risky, in that it assumes certain default paths for libraries. A more standard approach would be to just try to use PInvoke and catch the error. Note that this is also a bit tricky since the V1 driver internally also tries various .so files.
Other related work:
- Check alternatives to exposing LibGpiodDriverVersion enum - Exposing this enum, which should rarely be used by the client (as we want "autodetect" to be the default that should work for almost all users) is not really nice. This includes the enum itself as well as the public methods that use it as arguments. (Previously Check alternatives to exposing LibGpiodDriverVersion enum #2272)
Metadata
Metadata
Assignees
Labels
Priority:1Work that is critical for the release, but we could probably ship withoutWork that is critical for the release, but we could probably ship withoutenhancementNew feature or requestNew feature or request