GPIO input plugin

All the topics related to QLC+ on the Raspberry Pi
Post Reply
marcopiro
Posts: 1
Joined: Thu May 02, 2024 4:07 pm
Real Name: Marco Piro Pirondini

Dear QLC+ friends,
strange behaviour today on a fresh RPI install.
When I try to configure the GPIO Plugin on the debug console I get:

Code: Select all

[GPIO] error in opening direction file "/sys/class/gpio/gpio18/direction"
and the input/output behaviour is not possible to set. :shock:
GPIO pins are initialized as input, pullup in /boot/firmware/config.txt

Any ideas???
Many thanks,
with love,
Marco

Q Light Controller Plus version 4.13.0
Linux version 6.6.28+rpt-rpi-v8 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22)
User avatar
mcallegari
Posts: 4522
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Hi, what if you do it from a command line like this?

Code: Select all

echo in > /sys/class/gpio/gpio18/direction
Do you get an error or does it work?
marcopiro
Posts: 1
Joined: Thu May 02, 2024 4:07 pm
Real Name: Marco Piro Pirondini

Thank you Massimo for your kind answer.
However I get:

Code: Select all

bash: /sys/class/gpio/gpio18/direction: No such file or directory

No idea why!
However I must say: I'm not using your pre-built RPI image but I tried to install on my own. Same procedure done a year ago and it was working (I was on a previous Raspbian version).
I'll try to dig more.
Many thanks,
grazie :mrgreen:
Marco
Last edited by marcopiro on Sun May 05, 2024 6:29 am, edited 1 time in total.
Post Reply