I’ve tried lots of different pints like GPIO21, GPIO13, and GPIO19 but it never works for me
that’s weird, it works fine in my case with GPIO13 and GPIO16
I will try with another sample of Raspberry Pi Zero 2W
I’m using a 2W
I tested another two samples of 2W, one on GPIO26 and the other one on GPIO17
both of them work as expected with your beta 1.0.7 on the latest Volumio beta image with kernel 6.6
I could not test with the previous Volumio stable version because I already updated both devices
Hmm, thats strange. I’ve tried GPIO26 and GPIO17 but niether worked.
I also had problems with gpio 3 power on/off (gpio buttons plugin) it didn’t work, only power on works.
I applied your rules in boot/userconfig.txt and it works fine now.
raspberry pi3, beta 3,766.
awesome, could you please re-submit your version 1.0.7, as 1.0.10, so it will be the latest beta available in the plugin store?
@Darmur I can’t submit it because none of the GPIO pins work on my Pi Zero 2. Only the version with onoff
works at the moment. The version with gpiox
does not seem to work for some reason
OK sorry I did not understand
Hi,
I follow the volumio forum on the topic of gpio.
Regarding onoff you need to know that it uses sysfs.
Since Linux 4.8 the GPIO sysfs interface is deprecated.
Many users have switched to libgpiod and gpiox.
Libgpiod was a bit complicated for me to use.
So I developed gpiox, which has a higher level of abstraction than libgpiod.
Many companies use gpiox in their applications.
But at the core both libraries use Linux’s GPIO character device uAPI v2.
This ensures that it works on every Raspberry Pi OS.
It may be that the GPIO character device uAPI is not implemented on some Linux variants (e.g. Homeassistant).
It may be that gpiox and libgpiod do not work when sysfs is initialized.
They are two different subsystems.
You have to decide which one to use in your system.
I would also test gpiox and volumnio on the Zero 2 W, but it is always sold out here.
I would be happy to help you with the integration, as volumnio is really a great program.
I think the problem is that I’m using an older version of Volumio. I have tried to reformat 2 SD cards but have ended up bricking them both. I tried RPi imager, diskpart, disk manager and SD card formatter. So annoying.
I’m using sure gpiox
would work fine on the latest version of volumio. It’s gonna take some for me to get a new SD card So annoying
Thanks for your help though! <3
Failed on the SD card so still using an older version of Volumio to develop the plugin.
People have tested 1.0.7 and confirmed it works.
When I publish the plugin I receive a 401 and am unable to complete the action
Compressing the plugin
Plugin succesfully compressed
Error adding plugin: Error: got 401 response
give me your email (by PM) used for Github, I need to update it to allow you to submit.
I found one, please retry now
Submitted
@balbuze could you please promote the version 1.0.10 as stable?
I tested on several devices (including RPi5) and it works good, both on kernel 6.1 and kernel 6.6
Amazing
I have a look tonight
OK, thanks!