Page 1 of 3

G2-100 encounters

Posted: Sun Jul 16, 2023 1:00 pm
by Carajo
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

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

Posted: Sun Jul 16, 2023 1:24 pm
by Carajo
also unable to access p2p

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

Posted: Sun Jul 16, 2023 2:17 pm
by w-u-2-o
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.

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

Posted: Sun Jul 16, 2023 3:05 pm
by Trucker
Ed has the G2 with the front panel.
James
WD5GWY

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

Posted: Sun Jul 16, 2023 3:32 pm
by Trucker
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

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

Posted: Sun Jul 16, 2023 3:43 pm
by laurencebarker
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

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

Posted: Sun Jul 16, 2023 4:26 pm
by K1LSB
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 170 times

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

Posted: Sun Jul 16, 2023 5:51 pm
by Carajo
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.

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

Posted: Sun Jul 16, 2023 6:09 pm
by Carajo
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?

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

Posted: Sun Jul 16, 2023 6:22 pm
by Carajo
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

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

Posted: Sun Jul 16, 2023 6:23 pm
by laurencebarker
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

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

Posted: Sun Jul 16, 2023 6:43 pm
by Carajo
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

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

Posted: Sun Jul 16, 2023 6:49 pm
by echo_india
UNABLE TO OBTAIN
ps - ax| grep p2app

NO COMMAND FOUND[/quote]

No space between - and ax

Do the following: ps -ax| grep p2app

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

Posted: Sun Jul 16, 2023 6:58 pm
by Carajo
Now i get auto color like a red color letters p2app

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

Posted: Sun Jul 16, 2023 7:05 pm
by echo_india
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.

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

Posted: Sun Jul 16, 2023 7:14 pm
by echo_india
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.

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

Posted: Sun Jul 16, 2023 7:18 pm
by laurencebarker
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?

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

Posted: Sun Jul 16, 2023 7:21 pm
by Carajo
what is the first character before the s on Step 6?

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

Posted: Sun Jul 16, 2023 7:26 pm
by laurencebarker
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.

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

Posted: Sun Jul 16, 2023 7:34 pm
by Carajo
screen shot ls

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

Posted: Sun Jul 16, 2023 7:42 pm
by laurencebarker
OK, the folder is where I thought it would be

type cd github/Saturn/sw_projects/P2_app

type ./p2app

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

Posted: Sun Jul 16, 2023 7:44 pm
by Carajo
should i continue the steps?

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

Posted: Sun Jul 16, 2023 7:50 pm
by laurencebarker
yes please

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

Posted: Sun Jul 16, 2023 8:00 pm
by Carajo
please see attachment, what do i do now , i dont see a cmd bar

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

Posted: Sun Jul 16, 2023 8:06 pm
by laurencebarker
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

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

Posted: Sun Jul 16, 2023 8:08 pm
by laurencebarker
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!

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

Posted: Sun Jul 16, 2023 8:09 pm
by Carajo
Thetis is running now

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

Posted: Sun Jul 16, 2023 8:10 pm
by laurencebarker
You also said you had two desktop icons for p2app - I don't know why!

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

Posted: Sun Jul 16, 2023 8:10 pm
by Carajo
should i exit thetis first

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

Posted: Sun Jul 16, 2023 8:11 pm
by laurencebarker
Thetis Setup-> h/w select

radio model set to Anan-G2

Alex ticked

make your microphone settings there too