Page 1 of 1
Phisdr/p2app startup
Posted: Mon Jul 07, 2025 10:22 am
by Dave30Mac
Can someone please tell me how I can stop the p2app from auto starting upon boot up? I have the g2 display and would like to actually click on which app that I want to run either the p2app or pihpsdr without either auto starting. I’ve looked in the menu for an auto start file with no luck. Thanks
Re: Phisdr/p2app startup
Posted: Mon Jul 07, 2025 11:05 am
by laurencebarker
The procedures are different depending on how old your operating system release is. Unless you've received your radio in the last few days it is probably using the "old" system.
The mechanism for autostarting is described in the manual, section 4.6. Ive copied the text from that section:
Please be careful when doing this: it requires administrator permission, and can cause harm if incorrectly completed. The settings have been stored in file /etc/xdg/lxsession/LXDE-pi/autostart which can be edited with a text editor. As shipped it will be configured as follows:
With display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/pihpsdr/pihpsdr
No display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/Saturn/sw_projects/P2_app/p2app
Use your favourite text editor to edit the file, with root access for example:
pi@raspberrypi:~ $ sudo geany /etc/xdg/lxsession/LXDE-pi/autostart
to get rid of the autostart option, it is the last line you'll need to delete.
Re: Phisdr/p2app startup
Posted: Mon Jul 07, 2025 4:27 pm
by Trucker
Laurance, are you saying that Apache labs has changed the operating system for the G2 radios recently? If so, is this to support the CM5 module that Tony told me was coming? He also told me that there would be a replacement kit offered at some point if users didn't want to source all of the necessary bits to buy a CM5 elsewhere.
Also, do you know if they will make a image available for the new hardware?
James
WD5GWY
Re: Phisdr/p2app startup
Posted: Mon Jul 07, 2025 5:54 pm
by Dave30Mac
@/home/pi/github/pihpsdr/pihpsdr
Thanks Mr Barker for that info and the last line to delete would be the one I listed? Of course I’m thinking mine will have p2app at the end of the line since that’s what is starting at boot up.
I’ll try this and report the results. 73
Re: Phisdr/p2app startup
Posted: Mon Jul 07, 2025 6:02 pm
by Trucker
Yes, the last line is the one you want to delete.
James
WD5GWY
Re: Phisdr/p2app startup
Posted: Tue Jul 08, 2025 7:21 pm
by laurencebarker
Trucker wrote: Mon Jul 07, 2025 4:27 pm
Laurance, are you saying that Apache labs has changed the operating system for the G2 radios recently? If so, is this to support the CM5 module that Tony told me was coming? He also told me that there would be a replacement kit offered at some point if users didn't want to source all of the necessary bits to buy a CM5 elsewhere.
Also, do you know if they will make a image available for the new hardware?
James
WD5GWY
The bookworm OS release work that I know of is for the CM5 processor module. My understanding is that new radios ship with that module. Abhi did say they would offer some kind of an upgrade pack. I don't know any more that that about upgrade though!
The Raspberry pi CM5 is essentially a "drop in" replacement. It needs a small heatsink on the processor, but all the connections to the front panel etc are unchanged.
I know Abhi is wanting to test a new image; how he releases it I don't know. I think that recommended images should be the way to do that.