G2-100 encounters

G2 operating system and special app's (e.g. p2app) discussion only--post Thetis and piHPSDR questions in their own sub-forums
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

G2-100 encounters

Postby Carajo » Sun Jul 16, 2023 1:00 pm

I finally received my G2, but I am having difficulty in setting my microphone tip and bias and ground lilke on hpdsr
can you assist Lawrence. These are the settings that I need in order to use my Microphone.

need to set hardware options
MIc to tip
Bias to ON
Ptt on
Alex checked
Thanks


Thanks
Ed
Last edited by Carajo on Thu Jul 20, 2023 7:26 pm, edited 1 time in total.
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 1:24 pm

also unable to access p2p
User avatar
w-u-2-o
Posts: 5578
Joined: Fri Mar 10, 2017 1:47 pm

Re: How do i configure my microphone Hardware on my g-2

Postby w-u-2-o » Sun Jul 16, 2023 2:17 pm

Microphone settings are controlled by the client software, either piHPSDR or Thetis. Just go into the setup portion of either program. Any questions about how to use piHPSDR or Thetis are best addressed in the piHPSDR and Thetis sections of this forum.

What do you mean "unable to access"? The guidance in the draft User Guide might be helpful.

Since you are among the first to actually receive a G2, it would probably be interesting for everyone to know what software configuration you got out of the box from Apache. Did you get the front panel version? When it powers up does it automatically run piHPSDR? What shortcuts are present on the Linux desktop? What version of Raspian OS is loaded? 32 or 64 bit? Screenshots would be cool to see.
Trucker
Posts: 308
Joined: Wed Nov 03, 2021 5:16 pm

Re: How do i configure my microphone Hardware on my g-2

Postby Trucker » Sun Jul 16, 2023 3:05 pm

Ed has the G2 with the front panel.
James
WD5GWY
Trucker
Posts: 308
Joined: Wed Nov 03, 2021 5:16 pm

Re: How do i configure my microphone Hardware on my g-2

Postby Trucker » Sun Jul 16, 2023 3:32 pm

Carajo wrote:also unable to access p2p

Ed,
Section 3.5 in the manual covers connecting to Thetis from the PiHPSDR desktop. Is that where you are experiencing problems?
James
WD5GWY
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 3:43 pm

As Scott said, the mic settings are made in Thetis exactly as they are for earlier hardware. It's hard to know what problem you are having - you haven't told us what you have tried.

"recover the P2P function so i can start Thetis"

I don't know what this means - why does it need to recover, and from what. The p2app application should be set to autorun at startup (I haven't seen a factory spec radio so I can't confirm that). There is some useful information in the manual that may help.

I assume you have connected an ethernet cable and plugged it into your network. Thetis should discover it from there.

The manual section for Thetis says:

To use Thetis, you will need your radio connected to the same network as the PC you will run Thetis from.
Once your radio is running (from the steps in section 3.3) you are ready to run Thetis.
1. On the G2 with display, close piHPSDR and Launch the p2app from the desktop by double clicking on it.
2. On G2 with NO display this does not need to be done and the p2app will launch automatically on startup.
3. Start Thetis as normal on your chosen PC
4. Click Setup -> HW Select on the menu.
5. Select Radio Model to Anan-G2
6. Click OK
7. Start Thetis using its on/off button. It will discover and connect to your radio.
There is a manual for Thetis available here:
https://apache-labs.com/download_file.p ... ds_id=1020
Laurence Barker G8NJJ
K1LSB
Posts: 643
Joined: Wed Feb 05, 2020 5:25 pm

Re: How do i configure my microphone Hardware on my g-2

Postby K1LSB » Sun Jul 16, 2023 4:26 pm

There is a later version of the Thetis Manual, I don't remember where I found it but it's attached to this post.

Mark

Thetis manual_1.1.pdf
(13.19 MiB) Downloaded 104 times
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 5:51 pm

HELLO

When i click on p2p, nothing opens up for me , i can see my Thetis on my other screen icon but unable to turn it on.
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 6:09 pm

i have thetis application on my other monitor and computer set to on ethernet cable from my pc to G2
I click on P2P nothing happens , if i open it it ask me if i want to excute the file or open it or run in terminal

I get an error on all 3 failed to execute child process xterm(no Such Directory)
does this make more sense Laurence?
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 6:22 pm

when i turn on the g2 from cold start it boots up in Pihdsdr. i go to close it and then proceed to click on the p2p icon, there are two on my desk top one with a paper plane icon and aregular P2p icon, i click or double click on the p2p icon, I then proceed to load my Thetis program
i click start and Thetis does not find the G-2
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 6:23 pm

I'm guessing here, because I haven't see the exact software load.... but my guess is the desktop shortcut to p2app points to the wrong location.

This would be a lot easier to help with if I knew exactly what files were loaded where, so I'll have to ask some questions to work through this.

What I don't understand is why you need to click it in the first place; it should already be running. It's not in a window so you can't see it (we'll come back to that in a moment)

It would help if you can confirm, line by line, the results of these tests please

1. You have connected a network cable
2. If you open a web browser (the "world" like icon on the top left of the taskbar) you can visit web pages as normal. (that tells us the network connection works)
3. Open a command window (it is the dark icon on the task bar with ">_")
4. type pwd and let us know what it says. mine says "/home/pi"
5. type ps -ax | grep p2app and let us know what it says (mine lists one instance of p2app running, ./p2app)
6. type ls and tell us if you have a gitlab folder
7. assuming you have:
8. type cd gitlab/Saturn/sw_projects/P2_app
9. type ./p2app to run the program
10. if that doesn't work, can you type ls and tell us what the directory listing is please?
11. If there isn't a file "p2app" but there is "p2app.c": type make then after it has finished, re-run ./p2app and tell us what happens
Laurence Barker G8NJJ
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 6:43 pm

network cable connected to mini pc to g2


i am able to connect to my browser firefox

was able to obtain/home/pi

UNABLE TO OBTAIN
ps - ax| grep p2app

NO COMMAND FOUND
echo_india
Posts: 43
Joined: Wed May 03, 2023 8:38 pm

Re: How do i configure my microphone Hardware on my g-2

Postby echo_india » Sun Jul 16, 2023 6:49 pm

UNABLE TO OBTAIN
ps - ax| grep p2app

NO COMMAND FOUND[/quote]

No space between - and ax

Do the following: ps -ax| grep p2app
Best 73,
EI5GJB
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 6:58 pm

Now i get auto color like a red color letters p2app
echo_india
Posts: 43
Joined: Wed May 03, 2023 8:38 pm

Re: How do i configure my microphone Hardware on my g-2

Postby echo_india » Sun Jul 16, 2023 7:05 pm

Carajo wrote:Now i get auto color like a red color letters p2app


Can you take a screen shot of the console? By the sound of what you are saying I suspect the p2app is running in the background it should have an PID number of the process if this is the case then that app is running.
Best 73,
EI5GJB
echo_india
Posts: 43
Joined: Wed May 03, 2023 8:38 pm

Re: How do i configure my microphone Hardware on my g-2

Postby echo_india » Sun Jul 16, 2023 7:14 pm

echo_india wrote:
Carajo wrote:Now i get auto color like a red color letters p2app


Can you take a screen shot of the console? By the sound of what you are saying I suspect the p2app is running in the background it should have an PID number of the process if this is the case then that app is running.


If my assumptions are right, you can kill that process with kill -9 PID-NUMBER and try to start the app again from the desktop. Ignore otherwise.
Best 73,
EI5GJB
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 7:18 pm

OK: you have a radio WITH a front panel display. We didn't know that and it makes a difference.

p2app isn't autoloaded if you have a front panel display, so it DOES need to be run.

there's probably no point continuing with ps -ax, as p2app won't be running.

Can you do steps 6-11 please?
Laurence Barker G8NJJ
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 7:21 pm

what is the first character before the s on Step 6?
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 7:26 pm

I agree, it's not very clear.... it is a lower case L. Linux is case sensitive, so it matters. "ls" does a directory listing. What I'm trying to find out is whether you have a folder github

and inside it a folder Saturn

and inside it a folder sw_projects

and inside it a folder P2_app

and then the list of files in that folder

your file browser might help too!


you can use the command cd to change to a different folder.
cd ~ will take you back to the home folder.
Laurence Barker G8NJJ
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 7:34 pm

screen shot ls
Attachments
L.jpg
L.jpg (1.04 MiB) Viewed 2885 times
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 7:42 pm

OK, the folder is where I thought it would be

type cd github/Saturn/sw_projects/P2_app

type ./p2app
Laurence Barker G8NJJ
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 7:44 pm

should i continue the steps?
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 7:50 pm

yes please
Laurence Barker G8NJJ
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 8:00 pm

please see attachment, what do i do now , i dont see a cmd bar
Attachments
354.jpg
354.jpg (1.15 MiB) Viewed 2870 times
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 8:06 pm

OK, you now have p2app running.

Try Thetis again

when you want to exit p2app, type exit <enter> (the characters are not echoed back)

I'll send another post in a moment about checking the desktop icons
Laurence Barker G8NJJ
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 8:08 pm

Checking the Saturn desktop icons: I'm guessing this is where the problem lies

Right click on the p2app desktop icon and select Properties
A form with 3 tabs opens up
The 1st tab just gives some information
Click the 2nd tab – Permissions

Owner and group should both say pi
View content: should say Anyone
Change content: should say Only owner
Execute: should say Anyone

Click the 3rd tab – desktop entry

Command should say: /home/pi/github/Saturn/sw_projects/P2_app/p2app
Execute in terminal emulator – ticked
Keep terminal window open after command execution - ticked
Working directory should say: /home/pi/github/Saturn/sw_projects/P2_app
Description – blank
Tooltip: Saturn protocol 2 server
Use startup notification – unticked

Press OK to make any changes

Be aware the path names are case sensitive!
Laurence Barker G8NJJ
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 8:09 pm

Thetis is running now
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 8:10 pm

You also said you had two desktop icons for p2app - I don't know why!
Laurence Barker G8NJJ
Carajo
Posts: 57
Joined: Tue Feb 28, 2023 11:13 pm
Location: Tampa, Florida

Re: How do i configure my microphone Hardware on my g-2

Postby Carajo » Sun Jul 16, 2023 8:10 pm

should i exit thetis first
laurencebarker
Posts: 225
Joined: Mon Nov 11, 2019 7:39 pm

Re: How do i configure my microphone Hardware on my g-2

Postby laurencebarker » Sun Jul 16, 2023 8:11 pm

Thetis Setup-> h/w select

radio model set to Anan-G2

Alex ticked

make your microphone settings there too
Laurence Barker G8NJJ

Return to “G2 Operating System & Applications”