开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

#zbitx I would really like a formal way to shut down the software gracefully #zbitx


 

I get a little nervous pulling power on a running Linux computer. ?Probably 9 times out of 10, no issues, but the ONE time....well, a corrupt SD card doesn't sound like fun.
?
The Raspberry Pi Pico running the display can probably deal with things well, my concern is the other CPU. ?I would feel tons better if there ws a formal shutdown item to click on....any thoughts?
?
Cheers
Jim K8JK
?


 

Agree.? With you being a Linux user.??
I think Farhan mentioned he wanted to avoid giving elevated access to do the shutdown. When at home I ssh into it to issue the shutdown -h now command?

On Wed, Apr 2, 2025, 10:03?PM James Kvochick via <kvo=[email protected]> wrote:
I get a little nervous pulling power on a running Linux computer.? Probably 9 times out of 10, no issues, but the ONE time....well, a corrupt SD card doesn't sound like fun.
?
The Raspberry Pi Pico running the display can probably deal with things well, my concern is the other CPU.? I would feel tons better if there ws a formal shutdown item to click on....any thoughts?
?
Cheers
Jim K8JK
?


 

开云体育

I would have to agree with you on this point.

Gerry

On 2025-04-03 02:03, James Kvochick wrote:

I get a little nervous pulling power on a running Linux computer. ?Probably 9 times out of 10, no issues, but the ONE time....well, a corrupt SD card doesn't sound like fun.
?
The Raspberry Pi Pico running the display can probably deal with things well, my concern is the other CPU. ?I would feel tons better if there ws a formal shutdown item to click on....any thoughts?
?
Cheers
Jim K8JK
?


 

Perhaps something like this?
?
?
Now, if someone clever could incorporate the 6 second hold-down of the encoder switch to initiate a proper shutdown as described here...
?
Ken, N2VIP


 

In theory the action could be done as well as a button in say menu option?


On Wed, Apr 2, 2025, 10:37?PM Ken N2VIP via <ken=[email protected]> wrote:
Perhaps something like this?
?
?
Now, if someone clever could incorporate the 6 second hold-down of the encoder switch to initiate a proper shutdown as described here...
?
Ken, N2VIP


 

There's a world of possibilities once you open up the source code and start changing it - that is something the designers of this radio hope users will do with this radio...
?
Ken, N2VIP


 

After shutting down, it will still keep drawing about 150mA of power. We need a way for the linux to power down the full circuit.
It can, of course, be done with capacitors, 555 timers and smoke and mirrors. It will add another inch to the width of the radio and about 20 dollars to the price. Is it worth the hassle considering almost nothing gets written to the filesystem?


On Thu, Apr 3, 2025, 9:30 AM Ken N2VIP via <ken=[email protected]> wrote:
There's a world of possibilities once you open up the source code and start changing it - that is something the designers of this radio hope users will do with this radio...
?
Ken, N2VIP


 

Hmm. You might (probably ) be right here with that no harm can happen to a system where nothing is written.?

Being a old Linux/UNIX-guy, I also simply get nervous doing a hard cut.?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

I must agree,
?
If nothing gets written, chance is that the filesystem corruption is minimal..
?
And we do have good backups! Don't we? ??
?
73'
?
Dick


 

Maybe the standard distribution could simply poll/interrupt a GPIO line to trigger shutdown.
Then a user could decide how to drive it.
(I would use a three position switch, with the middle position activating the line. Wait a few second and then switch off power.)


 

Still a pain though. If the filesystem is corrupted badly enough you'd have to open up the radio, pull out the Micro SD card, and reflash it. If there were a way to do an orderly shutdown, including a dismount of the file system, that risk would be eliminated, even if you still had to pull the plug afterward.


On Thu, Apr 3, 2025 at 2:16?AM Dick PD0DF via <dick.frijdal=[email protected]> wrote:
I must agree,
?
If nothing gets written, chance is that the filesystem corruption is minimal..
?
And we do have good backups! Don't we? ??
?
73'
?
Dick


 

Yes - this would be the best way to move forward. I would accept the additional cost for a fully switched off radio not drawing current after turning off.
Best regards?
Peter DL4ZAQ
?


 

Are the FT8 contacts saved? ?If so, aren’t they written to the file system on micro SD card?
?
if the FT8 contacts are written to the card then couldn’t the file system eventually become corrupted by abruptly disconnecting the power? ?

is it possible to add a “button” somewhere on the screen to issue a proper shutdown command to the Pi 2W and Pico?


 

JJ's 64 bit code has a button to shut down the Pi and provides a pop up to remind you power off afterward.
--
73
??? Bob? KD8CGH


 

Chris,
This is an interesting aside, but the logbook saves all the qsos in an sqlite3 database. It is in a file called sbitx.db3 under ~/sbitx/data
You might want to poke around and see what is in it.
There is an easter egg in that database. Every decode of received ft8 is stored!
- f


On Thu, Apr 3, 2025, 6:21 PM Bob Benedict, KD8CGH via <rkayakr=[email protected]> wrote:
JJ's 64 bit code has a button to shut down the Pi and provides a pop up to remind you power off afterward.
--
73
??? Bob? KD8CGH


 

Asher,
?
Is there a way to export the FT8 QSO’s in ADIF format from the SQLite DB? ?Or are they also saved in ADIF format in a separate file? ?

My unit has not shipped yet. So I can’t poke around the file system yet.?

I like to log all my QSO’s in central log on my shack computer.?

Thank you
-Chris


 

Please see the manual. You can export the log into adif. It is on the hdmi /gtk user interface


On Thu, Apr 3, 2025, 9:52 PM Chris Hoffman via <chris.hoffman.3=[email protected]> wrote:
Asher,
?
Is there a way to export the FT8 QSO’s in ADIF format from the SQLite DB?? Or are they also saved in ADIF format in a separate file? ?

My unit has not shipped yet. So I can’t poke around the file system yet.?

I like to log all my QSO’s in central log on my shack computer.?

Thank you
-Chris


 

Please provide a link.
Please see the manual. You can export the log into adif. It is on the hdmi /gtk user interface

Thanks,

AC4OW
Sam Hanie



On Thu, Apr 3, 2025 at 1:29?PM Ashhar Farhan via <farhanbox=[email protected]> wrote:

Please see the manual. You can export the log into adif. It is on the hdmi /gtk user interface


On Thu, Apr 3, 2025, 9:52 PM Chris Hoffman via <chris.hoffman.3=[email protected]> wrote:
Asher,
?
Is there a way to export the FT8 QSO’s in ADIF format from the SQLite DB?? Or are they also saved in ADIF format in a separate file? ?

My unit has not shipped yet. So I can’t poke around the file system yet.?

I like to log all my QSO’s in central log on my shack computer.?

Thank you
-Chris


 


You can find it at the zbitx page:?





On Thu, Apr 3, 2025 at 2:01?PM Sam Hanie via <SAMHANIE=[email protected]> wrote:
Please provide a link.
Please see the manual. You can export the log into adif. It is on the hdmi /gtk user interface

Thanks,

AC4OW
Sam Hanie



On Thu, Apr 3, 2025 at 1:29?PM Ashhar Farhan via <farhanbox=[email protected]> wrote:

Please see the manual. You can export the log into adif. It is on the hdmi /gtk user interface


On Thu, Apr 3, 2025, 9:52 PM Chris Hoffman via <chris.hoffman.3=[email protected]> wrote:
Asher,
?
Is there a way to export the FT8 QSO’s in ADIF format from the SQLite DB?? Or are they also saved in ADIF format in a separate file? ?

My unit has not shipped yet. So I can’t poke around the file system yet.?

I like to log all my QSO’s in central log on my shack computer.?

Thank you
-Chris


 

I do not yet have my zBitx setup, so I can not test using a macro to call JJ's shutdown script in the toolbox.? The macro button, like the logging function buttons, could be available on all screens.
?
73
Evan
AC9TU