in the wiki it says "use sysfs as a prefered method" now since linux 4.8 the GPIO sysfs interface is deprecated.
the "new" method is libgpiod.
What method is the best?
For now i'm using sysfs and I nothis sometimes the status is not up-to-date to the pin state as input.
Is there a common method in use or must the wiki-page been updated?
Thanks for your thoughts
GPIO deprecated method?
Moderator: leecollings
- waltervl
- Posts: 5389
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: GPIO deprecated method?
I think Domoticz itself has to be updated first to use the new libgpiod method. After that the wiki can be updated.
As it looks sysfs is still not really deprecated.
As it looks sysfs is still not really deprecated.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 0 guests