Hello everybody.
After the update/ new installing of Air Player ARM on my RPI 3 Model B Rev 1.2.
I would now like to use the GPIO pins again.
They were previously connected to the RPI and works (a Rotary Switch and a Button).
Wiki say's:
"For I/O support on the Raspberry Pi run Bootloader as root (sudo ./Bootloader)."
When i done it, it say's me this
Look like it should work But i didn't .
After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.
Re: After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
My understanding is that air PLAYER does not support hardware I/O. Only Air MANAGER.
Joe. CISSP, MSc.
Re: After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
It does support the GPIO. But I'm not sure what sort of strange things you're doing I'll have a look tomorrow, today is my day off.
- Huberflight
- Posts: 42
- Joined: Sat Mar 31, 2018 2:27 pm
Re: After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
Ralph, Believe me.
Most times I don't know by myself what crazy things I'm doing
Now it's working and the problem was between my ears.
I had a cable connection Problem
Now I try to figure out to shutdown the AP via button.
The "old" LUA command didn't work anymore.
Most times I don't know by myself what crazy things I'm doing
Now it's working and the problem was between my ears.
I had a cable connection Problem
Now I try to figure out to shutdown the AP via button.
The "old" LUA command didn't work anymore.
When it looks not right, go around. It's easier to explain why you done it, than for others to finde out why you don't.
Re: After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
You're typing ./Bootloader
That would have to be sudo ./Bootloader
You can find this on the wiki: https://siminnovations.com/wiki/index.p ... Air_Player
But I thought you had it set to automatically start? So you wouldn't have to type anything.
That would have to be sudo ./Bootloader
You can find this on the wiki: https://siminnovations.com/wiki/index.p ... Air_Player
But I thought you had it set to automatically start? So you wouldn't have to type anything.
Re: After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
Also note that if you are using GPIO support (starting Air PLayer with sudo ./Bootloader) the user would have to reload any panel flaged as Start the panel automatically when starting Air Player to be sure that the panel will start running the Air Player with root privilages.
Ralph, please make note that starting the Air Player using the 'Auto Start' option in the 'setup.sh', Air Player wont start as <root> sudo ./Bootloader, only as <user> ./Bootloader, so no GPIO supported with 'Auto Start'. To fix this, you must change the script on start_airplayer.sh from:
Code: Select all
#!/bin/sh
cd `dirname $0`
exec ./Bootloader
Code: Select all
#!/bin/sh
cd `dirname $0`
sudo ./Bootloader
Code: Select all
#!/bin/sh
cd `dirname $0`
sudo -E ./Bootloader
Nicolas.
Chief Technology Officer (CTO) at 360ATC Aviation Training Center
Electronic Engineer. Control & Software Specialist
Electronic Engineer. Control & Software Specialist
Re: After Installing Air Player ARM on my RPI the GPIO Pin's didn't work
Note from Jasper:
- start_airplayer.sh is not the auto start script. Maybe you have an older installation? The autostart script is a .desktop file in ~/.config/autostart/
- The error can be ignored, but we can add -E maybe.
- start_airplayer.sh is not the auto start script. Maybe you have an older installation? The autostart script is a .desktop file in ~/.config/autostart/
- The error can be ignored, but we can add -E maybe.