mysensors / MySensors

MySensors library and examples
https://www.mysensors.org
1.3k stars 891 forks source link

RPi interrupt management not working on latest Linux version (6.6) #1561

Open romaricr opened 3 months ago

romaricr commented 3 months ago

I have upgraded my Raspberry OS to version 6.6 of Linux. After that, my MySensors gateway was not working anymore displaying an error related to interrupt management. After some review, it appears that sysfs management of interrupts is obsolete - see here and there. Newest versions should use gpiod.h headers and libgpiod as documented here for example.

For the moment, disabling interrupts is working.

romaricr commented 3 months ago

I realise that my post is related to issue #1536. I had interesting references though. Don't hesitate to merge if necessary.

romaricr commented 3 months ago

I have a fix now. Once I get some time I will post the results