Open gearloose83 opened 2 months ago
I also tried it with a Pi4, a fresh install and only a inject-node and the gpiox pwm node. After deploying it says "chip error". Could it be, that this issue came with the last update?
I have same mistake on PI4
Same here on RPi 4 Compute Module.
Install latest gpiod:
$ sudo apt-get update $ sudo apt-get install -y curl $ curl -SL --output setup-libgpiod.sh https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/HEAD/setup-libgpiod.sh $ chmod +x setup-libgpiod.sh $ sudo ./setup-libgpiod.sh
Select (4) Installation from binaries .
Install latest gpiod:
$ sudo apt-get update $ sudo apt-get install -y curl $ curl -SL --output setup-libgpiod.sh https://raw.githubusercontent.com/devdotnetorg/docker-libgpiod/HEAD/setup-libgpiod.sh $ chmod +x setup-libgpiod.sh $ sudo ./setup-libgpiod.sh
Select (4) Installation from binaries .
I got: ERROR. Current OS raspbian not supported.
My system: Linux rpi3b 6.6.47+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.47-1+rpt1 (2024-09-02) armv7l GNU/Linux
Like libgpiod, gpiox uses the official character device interface uApi from Linux. If this is not implemented in Linux, gpiox and libgiod cannot work. On the official Raspberry Pi OS, gpiox works without errors. Unfortunately, I cannot test gpiox on all Linux variants and Raspberry Pi models. I think you will understand.
It is the official Raspberry Pi OS running on Raspberry 3B...
Unfortunately my last RPi 3B went up in smoke. I'll try to get a RPi 3B and test it. What is output when the gpiodetect command is executed?
I'm using a Raspberry Pi 3B+ and the latest Node-Red on 64bit. The Node worked perfectly fine, but as i played around with some other Nodes and Settings, it stopped working. So i reinstalled Node-Red and your gpiox-Node, but i can't get it to work and the only error-message i'll get is "chip error" and i don't know what to do... It seems to make no difference wich pin i try to use, the error ist the same all the time (at the Moment i try to work with gpio13, wich worked fine before
One more thing, that makes me wondering is, that i can use the build-in gpio-node for pwm. The Problem is, with this Node I have some wild flickering in my LEDs, so i really would like to use yours instead.
Edit: 17 Sep 18:47:50 - [info] Node-RED version: v4.0.2 17 Sep 18:47:50 - [info] Node.js version: v20.17.0 17 Sep 18:47:50 - [info] Linux 6.6.47+rpt-rpi-v8 arm64 LE 17 Sep 18:47:50 - [info] Loading palette nodes ... 17 Sep 18:47:56 - [error] [iiot2k-gpiox-pwm:gpio16] chip error