-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPIO issue orangepi #651
Comments
I'm unsure of the pin numbering on an orange pi, but the physical pin
numbers on a raspberry pi do not indicate the GPIO pin, for example GPIO 10
is physical pin 19. Have you followed the correct sequencing as described?
…On Sat, 4 Nov 2023, 12:42 datatechnician63, ***@***.***> wrote:
I have set svxlink to use pin 10 as output for PTT and pin 7 as COR, the
PTT function is operating normally and will trigger normally with EchoLink
connections and normal timed operations however I cannot get the COR to
function. Indications confirm COR operation, squelch open and closed, but
do not trigger the PTT output. I have tried using a orangepi zero and a
orangepi one board and the same is happening, the PTT function works but
when the input COR is active the PTT output does not.
—
Reply to this email directly, view it on GitHub
<#651>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAKA5DBOVFUHA3N35INWMDYCYZ4HAVCNFSM6AAAAAA65RW2P2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TOMZRGY2DIMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Ok. I see where you are at.
There have been two changes since that former use of GPIO. The first of
those changes was the incorporation of systemd making the GPIO as a
service, with an additional file of gpio.conf. the second change and by far
the most useful has been the addition of GPIOD, that completely changed the
addressing of these pins within the svxlink.conf. The installation of the
latest master version of svxlink, with the pre-install of the gpiod package
in the software list may solve the problem. It will mean you looking
closely at the way you control these pins. If you are still using Jessie,
then persevere with you current version, but if you have upgraded to buster
or bullseye (Debian 10&11), then it will be advantageous to add the
additional software, then look to sudo git pull in the initial download
folder, and sudo make again. If you want to do this, the are posts
describing the gpiod method.
Best wishes.
…On Sat, 4 Nov 2023, 15:09 datatechnician63, ***@***.***> wrote:
I am using the orangepi gpionumbering gpio10 on pin 26 and gpio7 on pin 12.
My /sys/rc.local is as follows
PTT pin
echo “10” > /sys/class/gpio/export
echo “in” > /sys/class/gpio10/direction
COR pin
echo “7” > /sys/class/gpio/export
echo “out” > /sys/class/gpio7/direction
svxlink.conf GPIO_PIN are set to corresponding gPIO ports
—
Reply to this email directly, view it on GitHub
<#651 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAKA5AGSMRAG2CWK5DEUELYCZLA5AVCNFSM6AAAAAA65RW2P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ3TAOBXGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have decided to rebuild svxlink on another orangepi zero h2 running Ubuntu and when I run the cmake line I get the followingCmake error at svxlink/svxlink/CmakeLists.txt:48 (message):Could not find the curl library and development filesSent from my iPhoneOn Nov 4, 2023, at 11:30 AM, Chris G4NAB_F5VMR ***@***.***> wrote:
Ok. I see where you are at.
There have been two changes since that former use of GPIO. The first of
those changes was the incorporation of systemd making the GPIO as a
service, with an additional file of gpio.conf. the second change and by far
the most useful has been the addition of GPIOD, that completely changed the
addressing of these pins within the svxlink.conf. The installation of the
latest master version of svxlink, with the pre-install of the gpiod package
in the software list may solve the problem. It will mean you looking
closely at the way you control these pins. If you are still using Jessie,
then persevere with you current version, but if you have upgraded to buster
or bullseye (Debian 10&11), then it will be advantageous to add the
additional software, then look to sudo git pull in the initial download
folder, and sudo make again. If you want to do this, the are posts
describing the gpiod method.
Best wishes.
On Sat, 4 Nov 2023, 15:09 datatechnician63, ***@***.***> wrote:
I am using the orangepi gpionumbering gpio10 on pin 26 and gpio7 on pin 12.
My /sys/rc.local is as follows
PTT pin
echo “10” > /sys/class/gpio/export
echo “in” > /sys/class/gpio10/direction
COR pin
echo “7” > /sys/class/gpio/export
echo “out” > /sys/class/gpio7/direction
svxlink.conf GPIO_PIN are set to corresponding gPIO ports
—
Reply to this email directly, view it on GitHub
<#651 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAKA5AGSMRAG2CWK5DEUELYCZLA5AVCNFSM6AAAAAA65RW2P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ3TAOBXGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi,
Then you simply omitted the library prior to the compilation. Apply this line then re-run the sudo cmake line.
sudo apt install -y build-essential g++ make cmake libsigc++-2.0-dev php8.0 nodejs libgsm1-dev libudev-dev libpopt-dev tcl-dev libgpiod-dev gpiod libgcrypt20-dev libspeex-dev libasound2-dev alsa-utils libjsoncpp-dev libopus-dev rtl-sdr libcurl4-openssl-dev libogg-dev librtlsdr-dev groff doxygen graphviz python3-serial
You may find that the OS will report that some of these may already be installed. But if you run this, you shall have no further problems.
Chris
… On 11 Nov 2023, at 12:02, datatechnician63 ***@***.*** rgit.luolix.top> wrote:
I have decided to rebuild svxlink on another orangepi zero h2 running Ubuntu and when I run the cmake line I get the followingCmake error at svxlink/svxlink/CmakeLists.txt:48 (message):Could not find the curl library and development filesSent from my iPhoneOn Nov 4, 2023, at 11:30 AM, Chris G4NAB_F5VMR ***@***.***> wrote:
Ok. I see where you are at.
There have been two changes since that former use of GPIO. The first of
those changes was the incorporation of systemd making the GPIO as a
service, with an additional file of gpio.conf. the second change and by far
the most useful has been the addition of GPIOD, that completely changed the
addressing of these pins within the svxlink.conf. The installation of the
latest master version of svxlink, with the pre-install of the gpiod package
in the software list may solve the problem. It will mean you looking
closely at the way you control these pins. If you are still using Jessie,
then persevere with you current version, but if you have upgraded to buster
or bullseye (Debian 10&11), then it will be advantageous to add the
additional software, then look to sudo git pull in the initial download
folder, and sudo make again. If you want to do this, the are posts
describing the gpiod method.
Best wishes.
On Sat, 4 Nov 2023, 15:09 datatechnician63, ***@***.***>
wrote:
> I am using the orangepi gpionumbering gpio10 on pin 26 and gpio7 on pin 12.
>
> My /sys/rc.local is as follows
> PTT pin
>
> echo “10” > /sys/class/gpio/export
> echo “in” > /sys/class/gpio10/direction
> COR pin
>
> echo “7” > /sys/class/gpio/export
> echo “out” > /sys/class/gpio7/direction
>
> svxlink.conf GPIO_PIN are set to corresponding gPIO ports
>
> —
> Reply to this email directly, view it on GitHub
> <#651 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACAKA5AGSMRAG2CWK5DEUELYCZLA5AVCNFSM6AAAAAA65RW2P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ3TAOBXGM>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub <#651 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACAKA5GDQEWEE6V4PZTBKRLYD5SMNAVCNFSM6AAAAAA65RW2P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWG44TQMJRGQ>.
You are receiving this because you commented.
|
Doing the dependencies php8.0 was not found |
How you install PHP will depend on your current OS - Debian 10 will accept install of php7, Debian 11 will accept install of php8., Debian 12 although untested by me will accept php8.3.
Php has other dependencies that also need installing depending on what else you need. Apache2 add-ons for example. Read up on the dependencies of PHP.
Chris
… On 26 Nov 2023, at 15:40, datatechnician63 ***@***.***> wrote:
Doing the dependencies php8.0 was not found
—
Reply to this email directly, view it on GitHub <#651 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACAKA5GZ657A75BRZNWXYYLYGNPHVAVCNFSM6AAAAAA65RW2P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHAYTMNBUGU>.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have set svxlink to use pin 10 as output for PTT and pin 7 as COR, the PTT function is operating normally and will trigger normally with EchoLink connections and normal timed operations however I cannot get the COR to function. Indications confirm COR operation, squelch open and closed, but do not trigger the PTT output. I have tried using a orangepi zero and a orangepi one board and the same is happening, the PTT function works but when the input COR is active the PTT output does not.
The text was updated successfully, but these errors were encountered: