¿ªÔÆÌåÓý

Re: configuring cm108 for PTT, I seem to be doing something wrong.


 

¿ªÔÆÌåÓý

I had to play around with the RTS DTS in the direwolf.conf to get it to work with a Easy Digi that we used as a APRS gateway/digipeater/tracker.

?

John ¨C K5GT

?

From: [email protected] <[email protected]> on behalf of David Ranch <direwolf-groupsio@...>
Date: Tuesday, August 10, 2021 at 12:00 PM
To: [email protected] <[email protected]>
Subject: Re: [direwolf] configuring cm108 for PTT, I seem to be doing something wrong.


Hello Joe,

Which sound device are you using?? Is it something you made or maybe a pre-made solution like a DINAH or other device?? Can you confirm if the GPIO 3 pin coming off the CM sound chip is changing assuming you setup a Direwolf test beacon running every minute?? The easiest way here would be to just use a volt-meter to detect changes.? I would also recommend to enable PTT debugging when you start Direwolf using "-do" so you can see the logs when Direwolf thinks it's asserting PTT.

--David
KI6ZHD



On 08/10/2021 09:17 AM, Joe wrote:

I first set up Direwolf as a receive only Igate.? This works fine (K2EVK-10)

I Have not been able to get transmit to work (day 4);

Startup, no errors:
pi@raspberrypi:~ $ direwolf
Dire Wolf version 1.6
Includes optional support for:? cm108-ptt

Reading config file direwolf.conf
Config file: LOGDIR on line 502 is replacing an earlier LOGDIR or LOGFILE.
Config file: LOGDIR on line 503 is replacing an earlier LOGDIR or LOGFILE.
Audio device for both receive and transmit: plughw:1,0? (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.
Using /dev/hidraw0 GPIO 3 for channel 0 PTT control.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...

Now connected to IGate server noam.aprs2.net (50.65.148.226)
Check server status here

Here is my CM108 card:
pi@raspberrypi:~ $ cm108
??? VID? PID?? Product????????????????????????? Sound????????????????? ADEVICE??????? ADEVICE??????????? HID [ptt]?????? ?
??? ---? ---?? -------????????????????????????? -----????????????????? -------??????? -------??????????? ---------?????? ?
**? 0d8c 0008? USB PnP Sound Device???????????? /dev/snd/pcmC1D0c????? plughw:1,0???? plughw:Device,0??? /dev/hidraw0??? ?
**? 0d8c 0008? USB PnP Sound Device???????????? /dev/snd/pcmC1D0p????? plughw:1,0???? plughw:Device,0??? /dev/hidraw0??? ?
**? 0d8c 0008? USB PnP Sound Device???????????? /dev/snd/controlC1?????????????????????????????????????? /dev/hidraw0??? ?

** = Can use Audio Adapter GPIO for PTT.

Here are lines from my direwolf.conf:
# Linux ALSA is complicated.? See User Guide for discussion.
# To use something other than the default, generally use plughw
# and a card number reported by "arecord -l" command.? Example:

ADEVICE? plughw:1,0
#ACHANNELS 1
#CHANNEL 0
#

MODEM 1200
PTT CM108 /dev/hidraw0
#MODEM 9600

and my PBEACON setting/test settings:
# test of IGTXVIA
IGTXVIA WIDE:1-1,WIDE2-1
# this is the iGate beacon, which beacons every 60 minutes
#PBEACON delay=0:30 every=60 overlay=S symbol=\# overlay=T lat=29^42.89N long=085^00.03W power=1 height=20 gain=4 comment="K2EVK-10 iGate Apalachicola FL" sendto=IG
PBEACON sendto=IG delay=0:30 every=3 overlay=S symbol=\# overlay=T lat=29^42.89N long=085^00.03W power=1 height=20 gain=4 comment="K2EVK-10 iGate Apalachicola FL" sendto=IG
#
# this is the RF TEST beacon, which beacons very 30 seconds
PBEACON delay=0:45 every=:30 overlay=S symbol=\# overlay=I lat=29^42.89N long=085^00.03W power=1 height=20 gain=4 comment="K2EVK-10 iGate Apalachicola FL" via=WIDE1-1,WIDE2-1
# this the RF PROD beacon, which? eacons very 15 minutes
#PBEACON delay=0:45 every=15 overlay=S symbol=\# overlay=I lat=29^42.89N long=085^00.03W power=1 height=20 gain=4 comment="K2EVK-10 iGate Apalachicola FL" via=WIDE1-1,WIDE2-1



?

Join [email protected] to automatically receive all group messages.