[Arm-dev] sysfs and gpio

Wed Jun 3 17:56:57 UTC 2020
R C <cjvijf at gmail.com>

On 6/3/20 11:51 AM, Pablo Sebastián Greco wrote:
>
> On 2/6/20 21:36, R C wrote:
>> Hello,
>>
>>
>>
>> if not mistaken,  sysfs  creates the '/sys/class/gpio' directory 
>> structure and the interface to the actual pins, right?
>>
>>
>> On an older centos version (7.1.1503), it is there  however on 
>> 7.8.2003 it's not.
>>
>>
>> Am I missing something?
> The gpio handling was changed several kernels ago, IIRC you need you 
> use libgpio now.


yes,  I found that out last night, late



> I think I built it some time ago and put it here 
> https://people.centos.org/pgreco/libgpiod/, let me know if it helps.


I will try that one, because the one I compiled didn't seem to be 
working.  (I tried compiling 1.4.3, which 'seemed' to compile without 
errors/warnings, but I couldn't compile 1.5.x  because of some 
kernel-header/linux-header issues.


>>
>>
>>
>> Ron
>>
>> _______________________________________________
>> Arm-dev mailing list
>> Arm-dev at centos.org
>> https://lists.centos.org/mailman/listinfo/arm-dev