hwdornbush
I got an inovato Quadra with the hope of replacing a Pi4 so I can use the Pi4 where I need the Pi4 and the Quadra for ham applications.  I have had the Pi4 working with Build-a-Pi and PAT and Direwolf and a DRA30 plugged into my IC-7100 or my FTM-300, that is, to rigs where I need to control the DRA30 but not the radio.
 
So far, I have not succeeded in figuring out the magic steps to make this work.
 
I got the Quadra working with Nomachine and my Win10 laptop.
I plugged the DRA-30 into the Quadra and the green power light comes on.  I selected Applications > Hamradio > Pat Winlink (packet).
FLRIG starts which I did not expect as all the rigs I have used to date do not support rig control for VHF.
Under FLRIG, I found Config > Setup > PTT-Media.  Great! I want to use the CMedia chip on my DRA-30.  I checked "Use C-Media PTT."  Under C-Media device, I selected 'C-Media-A" although that is a guess as it is the only choice.  I selected GPIO Line GPIO-3 which should be correct as Direwolf on the Pi4 uses GPIO-3.
I clicked Test and nothing happens.  I clicked Select, and closed the configuration window.
PAT appears in the browser.
I selected Action > Connect and selected alias of telnet, and a session ran successfully.
I selected Action > Connect, transport of gensio AX-25, and target of the gateway I want to use.
I clicked Connect.
I see a brief error message "unable to establish connection to remote: gensio-error, OS error, see logs
 
Where might the log be?
 
Is there another approach I can use to get this working?
hwdornbush
I also added a file /etc/udev/rules.d/cmedia.rules with a content of

KERNEL=="hidraw*",SUBSYSTEM=="hidraw",MODE="0664",GROUP=plugdev

Reply 0 0
hwdornbush
I am continuing to pursue this.  In Raspberry Pi OS, I can enter
$ ls -l /dev/serial/by-id
When I enter this on armbian, I get
cannot access, no such file or directory.  So I tried
$ lsusb
and I can see the C-Media device listed as 
Bus 001 Device 006
but I don't see a serial port listed which is what I need.
Since I was not successful using the approach I listed above, I am trying to use the way I used in Raspberry Pi OS
to identify the port and use 
$ sub=do kissattach
to attach the TNC on the port to the session using Direwolf
But I cannot find the port.  Is this possible with armbian??
 
Someone else must be using C-Media devices since the documentation for Quadra includes the need to add a file as
I documented above.  So what is the magic sequence?
Reply 0 0
hwdornbush
I got this working.
As I looked around, and heard from Michael that he tested with an IC705, I realized that the system was configured for a specific type of hardware, which was not my type.  The Quadra seems to be less than general for ham radio.  
I have used Build-a-pi for years successfully, so I began to integrate it with what had been done for the ham radio applications on Quadra.
First, I installed 73Linux, an enhanced Build-a-Pi which is the tool to add apps to Linux for non-Raspberry Pi systems.  To do this, I ran
$ git clone https://github.com/km4ack/73Linux.git $HOME/73Linux && bash $HOME/73Linux/ 73.sh
I ran 73Linux, a new entry under the hamradio menu.
I installed AX-25, Pat, and Pat Menu.  When Direwolf failed to start, I also installed Direwolf using 73Linux.
I ran
$ arecord -i
and found that the DRA-30 was found at 3,0
I edited /home/quadra/direwolf.conf
I changed adevice to
ADEVICE plughw:3,0
 
I changed the PTT section to comment the existing PTT and inserted
PTT CM108

Now I could use Pat Menu to start the packet modem but unlike Build-a-pi, Pat did not start.

I used Hamradio > Pat Winlink (packet)
to start Pat

and now I can use a DRA-30 connected to my Quadra to send and receive Winlink emails using 

Action > Connect > transport AX-25 and setting the target to a local packet gateway.

I will look for a cleaner way to start Pat.

 
Reply 0 0
Michael Burmeister-Brown inovato
@hwdornbush, great that you got it working!
 
It isn't that the Quadra is more or less general.  When the defaults (which work with many rigs) don't work, you have to manually edit file(s), just as you did.  I didn't configure it specifically for any rig, just picked a configuration that works for many rigs, such as the IC705 I have.  Many hams report this works for their rigs as well.
 
Essentially, you are bypassing the internal AX.25 modem in our version of Pat to use Direwolf.  This is absolutely fine and how 73Linux does it.  You might also be able to get it to work with your radio by editing the sound card ports in the PAT config file just as you did for Direwolf:
 
The Pat config file is located in ~/.config/pat.  There you will find a line in the gax25 section that starts with "gensio".  At the end of that line is the sound card port.  Change that to 3,0 just as you did for direwolf.  
 
We use flRig for general rig control as it lets you set this in one place and use it with many apps.   I see it has support for C-Media PTT, but haven't tried it as I don't have this rig.  But that is where you would set it.
 
I hope this helps.  But regardless of how, I am glad you got it working!  BTW, using our version of Pat as you did is a perfectly clean way to start Pat.  It supports both its modem and direwolf as you found.
 
Reply 0 0
Reply