2.5 gpio not working #2055
Replies: 2 comments 3 replies
-
Just tested with 2.4 master: using pin 37 destroys networking: pi@lina-testbox:~ $ nano ~/RPi-Jukebox-RFID/settings/gpio_settings.ini [PlayPause] pi@lina-testbox:~ $ sudo systemctl restart phoniebox-gpio-control disabling pin 37 again repairs networking: [PlayPause] pi@lina-testbox:~ $ sudo systemctl restart phoniebox-gpio-control |
Beta Was this translation helpful? Give feedback.
-
Hi i think you have the same problem with the pin numbering as in the latest report here #1964 (comment) Please use the GPIO pin numbers and not the Board pin numbers and try again. See here for further details Using-GPIO-hardware-buttons#pin-numbering-on-the-rpi (Board Pin 29 = GPIO Pin 5, Board Pin 37 = GPIO Pin 26) |
Beta Was this translation helpful? Give feedback.
-
Hello there,
i'm setting up a new phoniebox. unfortunately gpio-buttons don't seem to work.
i used the developer-version, because i wanted to use the sync-feature.
after doing a fresh install, i tried to set up the hardware button. for testing i just tried one button.
connected it to pin 29 (gpio5) and 30 (ground),
changed
~/RPi-Jukebox-RFID/settings/gpio_settings.ini
to
[PlayPause]
enabled: True
Type: Button
Pin: 29
pull_up_down: pull_up
functionCall: functionCallPlayerPause
and restarted the service.
no reaction when pushing the button.
i tried several other pins and another raspberry to ensure, nothing is broken.
something very odd:
when narrowing down the problem, i tried (after fresh installation) the following configuration:
[PlayPause]
enabled: True
Type: Button
Pin: 37
pull_up_down: pull_up
functionCall: functionCallPlayerPause
after reloading the service playback stutters, like the button is pushed autmatical (althogh no button connected to the pi). furthermore this configuration destroys the network connectivity of the pi. it looses its wifi ip-adress, connection can only be done with hdmi connected and a keyboard directly attached. this is also reproducable with two different raspis.
so gpio-control seems to be broken in the current developer-version.
any help is appreciated :-)
Beta Was this translation helpful? Give feedback.
All reactions