sound devices, Pat-Gensio, Rasp 4 and Ubuntu

36 views
Skip to first unread message

Michael Lussier

unread,
Feb 4, 2023, 2:46:41 PM2/4/23
to pat-users
I'm running Ubuntu 22.10 on Raspberry Pi. This boots off of SSD 1 TB drive.
I have been experimenting with PatGensio for the last week. a few things have come to light and I'm curious if anyone else has seen this.
1. Signalink shows up as a playback only device in alsamixer  on the pi. There is no microphone option.
I have two signalinks and then both exihibit the same results.

 USB-Audio - USB AUDIO  CODEC   
BurrBrown from Texas Instruments USB AUDIO  CODEC at usb-0000:01:00.0-1.2.3

2. I have a DRA 50 USB-Audio - USB PnP Sound Device                                               │                 C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2.4

why does the signalink show as a playback only device ?
is there any way to using the DRA50 and  utilize CM108 to keyup a radio ?


Corey Minyard

unread,
Feb 4, 2023, 5:12:39 PM2/4/23
to Michael Lussier, pat-users
On Sat, Feb 4, 2023 at 1:46 PM Michael Lussier <mike.l...@gmail.com> wrote:
>
> I'm running Ubuntu 22.10 on Raspberry Pi. This boots off of SSD 1 TB drive.
> I have been experimenting with PatGensio for the last week. a few things have come to light and I'm curious if anyone else has seen this.
> 1. Signalink shows up as a playback only device in alsamixer on the pi. There is no microphone option.
> I have two signalinks and then both exihibit the same results.

It only allows volume control on the play, but not on the record. It
still can record and playback.

You can use "aplay -L" or "arecord -L" to see the sound cards devices
available. Or "gsound -L' if you installed gensio.

>
> USB-Audio - USB AUDIO CODEC
> BurrBrown from Texas Instruments USB AUDIO CODEC at usb-0000:01:00.0-1.2.3
>
> 2. I have a DRA 50 USB-Audio - USB PnP Sound Device │ C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2.4
>
> why does the signalink show as a playback only device ?
> is there any way to using the DRA50 and utilize CM108 to keyup a radio ?

I have a DRA-50, and you can use pat-gensio with it. I use rigctld to
talk to the CM108:

rigctld -m 1022 -r /dev/ttyUSB0 -s 4800 -P CM108 -p /dev/hidraw1

and my gensio line is:

"gensio": "afskmdm(debug=0x18,tx-predelay=500,key=\"tcp,localhost,4532\",keyon=\"T
1\\n\",keyoff=\"T 0\\n\"),sound(48000-1-float),plughw:1,0"

The "key" option tells it to make a TCP connection to rigctld, keyon
and keyoff send those strings to key the transmitter.

-corey

>
>
> --
> You received this message because you are subscribed to the Google Groups "pat-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pat-users+...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/pat-users/351b3655-b122-4d92-8414-968663bb8cb3n%40googlegroups.com.

Corey Minyard

unread,
Feb 4, 2023, 5:16:54 PM2/4/23
to Michael Lussier, pat-users
On Sat, Feb 4, 2023 at 4:12 PM Corey Minyard <min...@acm.org> wrote:
>
> On Sat, Feb 4, 2023 at 1:46 PM Michael Lussier <mike.l...@gmail.com> wrote:
> >
> > I'm running Ubuntu 22.10 on Raspberry Pi. This boots off of SSD 1 TB drive.
> > I have been experimenting with PatGensio for the last week. a few things have come to light and I'm curious if anyone else has seen this.
> > 1. Signalink shows up as a playback only device in alsamixer on the pi. There is no microphone option.
> > I have two signalinks and then both exihibit the same results.
>
> It only allows volume control on the play, but not on the record. It
> still can record and playback.
>
> You can use "aplay -L" or "arecord -L" to see the sound cards devices
> available. Or "gsound -L' if you installed gensio.
>
> >
> > USB-Audio - USB AUDIO CODEC
> > BurrBrown from Texas Instruments USB AUDIO CODEC at usb-0000:01:00.0-1.2.3
> >
> > 2. I have a DRA 50 USB-Audio - USB PnP Sound Device │ C-Media Electronics Inc. USB PnP Sound Device at usb-0000:01:00.0-1.2.4
> >
> > why does the signalink show as a playback only device ?
> > is there any way to using the DRA50 and utilize CM108 to keyup a radio ?
>
> I have a DRA-50, and you can use pat-gensio with it. I use rigctld to
> talk to the CM108:
>
> rigctld -m 1022 -r /dev/ttyUSB0 -s 4800 -P CM108 -p /dev/hidraw1

Oops, I forgot to say that I have an TM-V71A. You will need to modify
this to match your radio, or use "dummy" if you don't have a
connection to your radio. Like:

rigctld -m 1 -P CM108 -p /dev/hidraw1

-corey

Michael Lussier

unread,
Feb 5, 2023, 1:42:51 PM2/5/23
to pat-users
Corey,
Thanks for the push in the right direction. nothing happends when I initiate a connect to the gateway. and pat times out.
ae4ml@Shack-Pi4:~$ ./pat-gensio-linux-0.8.arm64 http
2023/02/05 13:29:43 Starting HTTP service (http://0.0.0.0:8083)...
2023/02/05 13:29:58 Connecting to AE4ML-10 (gax25)...
WMSG(15): ax25:0,AE4ML-10,AE4ML ch=1 SABME pf=1
 0000: 82 8a 68 9a 98 40 94 82 8a 68 9a 98 40 01 7f     ..h..@...h..@..
WMSG(15): ax25:0,AE4ML-10,AE4ML ch=1 SABME pf=1
 0000: 82 8a 68 9a 98 40 94 82 8a 68 9a 98 40 01 7f     ..h..@...h..@..
WMSG(15): ax25:0,AE4ML-10,AE4ML ch=1 SABME pf=1
 0000: 82 8a 68 9a 98 40 94 82 8a 68 9a 98 40 01 7f     ..h..@...h..@..
2023/02/05 13:30:43 Unable to establish connection to remote: Dial timeout
I'm using rigctld -m 1 -P CM108 -p /dev/hidraw3

I went into Alsa and turned up the mic and the output and stored the information.

In pat I have made the changes . 3,0 is my device
card 3: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


"gax25": {
    "gensio": "afskmdm(debug=0x18,tx-predelay=500,key=\"tcp,localhost,4532\",keyon=\"T1\\n\",keyoff=\"T 0\\n\"),sound(48000-1-float),plughw:3,0",

Michael Lussier

unread,
Feb 5, 2023, 1:52:21 PM2/5/23
to pat-users
forgot to add.
I get a blue light on the DRA when I initiate comms but i never get a ptt(red) light.
Reply all
Reply to author
Forward
0 new messages