开云体育

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

73 Linux or Build-A-Pi support on the sBitx?


Nate Moore
 

I use KM4ACK's scripts on my existing raspberry pi-based radios.
They're Icom units, so it's different because there's cat control and individual audio ports presented to the Pi.

Is there any chance of getting the sBitx v2 to support 73Linux/BAP?? More info here:

I'm comfortable in the CLI of Linux, but the current versions of Jason's scripts depend on cat & audio hooked into flrig. I believe that the sBitx is just calling hamlib directly, and there aren't any cat control or audio ports to tap into.

It seems to me that there's a fairly small hurdle to cross (flrig support) to make these two fantastic projects compatible with each other.


 

On Mon, Jan 29, 2024 at 12:46 PM, Nate Moore wrote:
It seems to me that there's a fairly small hurdle to cross (flrig support) to make these two fantastic projects compatible with each other.
I think there are a few more hurdles, not huge, but more.?

Read $HOME/pi/sbitx/install.txt on your radio for the basic steps to take your radio from generic Pi to supporting sbitx software and hardware.
?
--
Regards,
Dave, N1AI


Nate Moore
 

I think that my question got understood backwards.
I have a functioning sbitx v2.

?

I want to use the 73 Linux/Build-A-Pi software on it.

That software depends on cat control and an identified tx/rx audio port.

?

Or have I misunderstood your reply?


 

On Mon, Jan 29, 2024 at 11:46 AM, Nate Moore wrote:

Is there any chance of getting the sBitx v2 to support 73Linux/BAP?? More info here:

I'm comfortable in the CLI of Linux, but the current versions of Jason's scripts depend on cat & audio hooked into flrig. I believe that the sBitx is just calling hamlib directly, and there aren't any cat control or audio ports to tap into.

It seems to me that there's a fairly small hurdle to cross (flrig support) to make these two fantastic projects compatible with each other.

Hamlib support on the sBitx is controlled by ?which provides a very limited interface on port 4532. This port is also non-routable outside the sBitx by default.

Flrig will not work unless you can somehow use the Hamlib NET rigctl library with it.


Audio for third-party apps is controlled by the ALSA loopback interface as shown here:

Audio TO the third-party app from the sBitx: plughw:CARD=Loopback,DEV=1
Audio FROM the third-party app to the sBitx: plughw:CARD=Loopback,DEV=0

I hope this helps..

- JJ


 

On Mon, Jan 29, 2024 at 01:18 PM, Nate Moore wrote:

I think that my question got understood backwards.

Yeah, I misunderstood.? I thought you wanted build-a-pi to build sbitx software.? My bad.

I have a functioning sbitx v2.

I want to use the 73 Linux/Build-A-Pi software on it.

That software depends on cat control and an identified tx/rx audio port.

There is enough cat control build into the sbitx app itself to support wsjtx's needs.

I'm not sure if it's enough to support other use cases, maybe you can let us know what you find.

There are rx and tx audio ports.

I wrote this page in our wiki about using wsjt-x on sbitx.

It shows the right names to use for the audio ports when using the stock hfsignals.com image.

It should be enough info to get you started using build-a-pi.

Also note our main wiki page and our howto's page may have other links of interest.
?
--
Regards,
Dave, N1AI


 

On Mon, Jan 29, 2024 at 01:53 PM, JJ - W9JES wrote:
I hope this helps..
Looks like we doubled, JJ! :-)
?
--
Regards,
Dave, N1AI


 

On Mon, Jan 29, 2024 at 01:53 PM, JJ - W9JES wrote:
Hamlib support on the sBitx is controlled by ?which provides a very limited interface on port 4532. This port is also non-routable outside the sBitx by default.

Flrig will not work unless you can somehow use the Hamlib NET rigctl library with it.
Thanks, your info is more complete than mine is, it is appreciated.
?
--
Regards,
Dave, N1AI


Nate Moore
 

The use case involves pat/winlink with ardop, js8call, and all the modes that don't exist as part of the sbitx software package.

Following your directions to attempt to get wsjtx going still has me at a dead stop

In general, I expect to see hamlib running, as well as rigctl running.

?

It looks like the sbitx executable itself has these functions baked in, rather than building off the existing packages?

?

Or, again, am I completely not understanding what's being conveyed?


Nate Moore
 

Looks like we need a rig.xml () or to at least define what the values are so we can take advantage of them?

Once that exists then flrig can ride on top of fldigi (which is already functional) and then the rigctl functions from other packages can proceed as per normal, passing it on down the line to get to the sbitx SDR.

We do know the audio ports, we just need the serial ports for controlling the radio.

?

(Or, again, am I way off base? )


 

On Mon, Jan 29, 2024 at 07:09 PM, Nate Moore wrote:

In general, I expect to see hamlib running, as well as rigctl running.

I did, too.

You might want to use this forum's search feature to look for posts by N1AI about the software's robustness and completeness.

TBH I don't think it'd be a big challenge to do a full hamlib implementation, and was surprised that no one has done one yet.

It looks like the sbitx executable itself has these functions baked in, rather than building off the existing packages?

Yes.? If you can read code as JJ said you can look at??and see what it has, or what it lacks.

Did you use the address 127.0.0.1:4532 to connect ?

With sbitx running on my radio, I can use this address and use the 'f' command to get the current frequency back:

$ rigctl -m 2 -r 127.0.0.1:4532 f
7074000
?
--
Regards,
Dave, N1AI


 

On Mon, Jan 29, 2024 at 07:20 PM, Nate Moore wrote:

Looks like we need a rig.xml () or to at least define what the values are so we can take advantage of them?

I have set up fldigi from scratch when I moved off of the Buster image that came from the radio and went to Bulleye.

The setup is basic:


?
Again I suggest you check the address:port settings.

You should be able to do the most basic stuff like changing frequencies and switching from rx to tx but not much more.

Once that exists then flrig can ride on top of fldigi (which is already functional) and then the rigctl functions from other packages can proceed as per normal, passing it on down the line to get to the sbitx SDR.

We do know the audio ports, we just need the serial ports for controlling the radio.

Once you get to sbitx, there isn't a lot of functionality there to be had.? It may not be able to answer some of the questions flrig ( or grig, for that matter ) ask.

There is no serial port to be had or to be used.? It's hamlib net rigctl or nothing.

--
Regards,
Dave, N1AI


 

On Mon, Jan 29, 2024 at 06:09 PM, Nate Moore wrote:

The use case involves pat/winlink with ardop, js8call, and all the modes that don't exist as part of the sbitx software package.

Following your directions to attempt to get wsjtx going still has me at a dead stop

In general, I expect to see hamlib running, as well as rigctl running.

?

It looks like the sbitx executable itself has these functions baked in, rather than building off the existing packages?

?

Or, again, am I completely not understanding what's being conveyed?

Here is the procedure:
  1. Start sbitx and wait at least 30 seconds for it to build the network loopback connection
  2. Set the mode to digital
  3. Open your third-party app
  4. Configure as seen in the screen shots below.

You can also check the port status with: netstat -lntp

Here are the settings..







As far as the rig.xml file is concerned.. I have been meaning to convert it to a standard xml format at some point and rewrite hamlib.c to work properly.. Just haven't travelled down that rabbit hole yet :)? I am happy to see someone else who is interested in this like me!

FWIW - You can change the inet address on line 207 in??to 0.0.0.0 and recompile the sbitx code to make the current hamlib instance routable outside the transceiver.. It is a very temperamental connection, so be warned. It was one of the first things I tried before I created?.?


-JJ


 

Here are the settings for JS8Call..








-JJ


 

My Apologies.. here are the CORRECT sound card settings..


 

And here it is working on the sBitx..



Nate Moore
 

I greatly appreciate these.
It's not exactly how I wanted things to get going, because it's not nicely packaged.

Any ideas on how to get ardop going?