GPIO deprecated method?

Moderator: leecollings

Post Reply
homeJLB
Posts: 64
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

GPIO deprecated method?

Post by homeJLB »

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
User avatar
waltervl
Posts: 5389
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: GPIO deprecated method?

Post by waltervl »

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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests