¿ªÔÆÌåÓý

Date

Re: Starting direwolf

 

I believe most of the Linux distros have moved to using systemd startup files.?
?? It looks like you are trying to get Direwolf to run in the background (no display terminal).
?? Best to try and getting it working on boot within a terminal, then alter the startup to make it background.
?? I might suggest a less complicated startup script - no functions, just start direwolf with a defined configuration
Is your Quadra system running systemd?? If so, I suggest giving that a try.
?? If not,? you might want to create a more simplified script (as mentioned above)

Simplified script (assuming you don't need RTL_FM or other specialty application before Direwolf starts):
#! /usr/bin/env bash
/usr/local/bin/direwolf -c ~/direwolf/direwolf.conf

NOTE:? I have a direwolf directory in my home folder, where I keep different configuration files.? Just to explain the ~/direwolf/direwolf.conf
???????????? Also, removed any check if Direwolf is running.? You could add that later.
-------
Rob KB8RCO
Never listen to an Atom, they make up everything
(from - nerdy science t-shirt my sister bought me)


Starting direwolf

 

I have successfully (I think) installed direwolf on my Quadra. My issue now is starting it. If I try to run the startup script that came with the install it pops up a big error box that goes away before I can read it, then tells me it doesn't start with

========================================
quadra@inovato:~$ ./dw-start.sh
Direwolf in GUI mode start up
DISPLAY=:0
-----------------------
quadra@inovato:~$ ConfigBase::load: Unable to open /etc/xdg/terminator/config ([Errno 2] No such file or directory: '/etc/xdg/terminator/config')

quadra@inovato:~$
========================================

I have no idea where the stuff about "Unable to open /etc/xdg/terminator" is coming from. There is no reference to anything xdg in the script.


Most of the dw-start.sh script makes little sense to me.

I can go into the direwolf folder and simply type direwolf, and it seems to startup and run fine. But I have to leave a terminal window open to do this. Then I have to ctrl-C to stop it when I shut down the computer. Kind of a nuisance.


So, what is the best way to have direwolf start on boot?
I put the recommended crontab of

* * * * * /home/quadra/dw-start.sh >/dev/null 2>&1

but that does not seem to work. I am assuming it is due to the error shown above when I run dw-start.sh from the command line.

I appreciate your time.

--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."


Re: Cross Fix to ALSA-LIB and GPIO PTT issues

 

? Finally found the issue with using the GPIO pins on the Wandboard ARM machine. The GPIO pin I expected to use was muxed for use with a second SD drive. That they identified it in the diagrams for external use was the problem. Using a different external pin and re-designating it in the .conf file did the trick!? The 3.0v output drives an opto-isolator to run the PTT on a Yaesu FT-1800 with some current limiting resistors.
Curiously, I discovered I still have the KAM Plus and Yaesu FT270 I used in the 80's.


Re: New Quadra APRS Installation

 

Thanks for your reply, David.

The audio adapters I have look like a thumb drive with a couple jacks on the end. Other than that, I'll have to wait until I find them again to tell you more :-)

I've got two radio options for this project right now, a Radio Shack HTX-242 and an Icom IC-2350. Neither have data ports, so the connection will be via RJ-45 mic jack and external speaker jacks.

I found some info on using the CM108 devices. I just have to find the ones I have to figure out if they will work.

Thanks,
Michael WA7SKG



David Ranch wrote on 9/7/23 8:32 AM:

Hello Michael,

First, the audio interface. This is a no budget setup so something like Signalink is out of the question. I've got a couple cheap USB audio interfaces that have mic in and speaker out jacks. Will those work with direwolf?
Can you give us some details of these "cheap devices"?? If they are what I think they are, they are CM108-based sound devices and should work for audio AND PTT with the addition of a few simple electronic components and some soldering.

Second is PTT. The Quadra has no I/O pins or serial port to trigger the PTT. The radio does not have VOX, which I would not use anyway.
Can you tell us which radio you're planning on using?

Next, is direwolf usable with other digital modes than packet/APRS, like fldigi or WSJT-X?
Direwolf only does AX.25 packet radio, AIS reception, and some DTMF stuff.? Fldigi, WSJT-X, etc are all entirely different programs supporting very different digital? modes.
--David
KI6ZHD


Re: New Quadra APRS Installation

 

¿ªÔÆÌåÓý


Hello Michael,

First, the audio interface. This is a no budget setup so something like Signalink is out of the question. I've got a couple cheap USB audio interfaces that have mic in and speaker out jacks. Will those work with direwolf?

Can you give us some details of these "cheap devices"?? If they are what I think they are, they are CM108-based sound devices and should work for audio AND PTT with the addition of a few simple electronic components and some soldering.


Second is PTT. The Quadra has no I/O pins or serial port to trigger the PTT. The radio does not have VOX, which I would not use anyway.

Can you tell us which radio you're planning on using??


Next, is direwolf usable with other digital modes than packet/APRS, like fldigi or WSJT-X?

Direwolf only does AX.25 packet radio, AIS reception, and some DTMF stuff.? Fldigi, WSJT-X, etc are all entirely different programs supporting very different digital? modes.

--David
KI6ZHD


Re: New Quadra APRS Installation

 

Have you looked at the Digirig???
$50 bucks!

Tyler Griffiths
N7UWX





On Wed, Sep 6, 2023 at 8:03?PM Michael WA7SKG <wa7skg@...> wrote:
Greetings,
I am setting up a Quadra computer for APRS. I have the YAAC? client installed and working with? APRS-IS, now I need to connect a radio. I have installed direwolf for the modem. Now, I have two issues.

First, the audio interface. This is a no budget setup so something like Signalink is out of the question. I've got a couple cheap USB audio interfaces that have mic in and speaker out jacks. Will those work with direwolf?

Second is PTT. The Quadra has no I/O pins or serial port to trigger the PTT. The radio does not have VOX, which I would not use anyway.

Next, is direwolf usable with other digital modes than packet/APRS, like fldigi or WSJT-X?

Thanks for any suggestions/advice.

73,
Michael WA7SKG


Re: New Quadra APRS Installation

 
Edited

Direwolf has an option to use the GPIO of a CM108 sound card.? It requires taking the sound card apart and adding a resistor coming off a pin of the chip, and transistor to control the PTT.
Look up CM108 PTT and you should find some instructions.? I don't bother with SQL as the Direwolf is much better at checking if a signal is coming in.

Another option would be a cheaper interface than a SignaLink-USB.?
DINAH is at least half the price, and there may be others.
-------
Rob KB8RCO


New Quadra APRS Installation

 

Greetings,
I am setting up a Quadra computer for APRS. I have the YAAC? client installed and working with? APRS-IS, now I need to connect a radio. I have installed direwolf for the modem. Now, I have two issues.

First, the audio interface. This is a no budget setup so something like Signalink is out of the question. I've got a couple cheap USB audio interfaces that have mic in and speaker out jacks. Will those work with direwolf?

Second is PTT. The Quadra has no I/O pins or serial port to trigger the PTT. The radio does not have VOX, which I would not use anyway.

Next, is direwolf usable with other digital modes than packet/APRS, like fldigi or WSJT-X?

Thanks for any suggestions/advice.

73,
Michael WA7SKG


Re: K7MBBS-4 audio level = 19(4/4) 000000___ --> ??

 

¿ªÔÆÌåÓý


Hello Thomas,

maybe someone can answer me the question please, I didn't find anything in the documentation.

What do the zeros mean in the line?
K7MBBS-4 audio level = 19(4/4)? ? 000000___
K7MBTS audio level = 99(32/21)? ? __|||||__

You have enabled FX.25 reception and that's showing that 0 bits were corrected in each of the slicers described here on page 9:

??

--David
KI6ZHD


K7MBBS-4 audio level = 19(4/4) 000000___ --> ??

 

Hello,
maybe someone can answer me the question please, I didn't find anything in the documentation.

What do the zeros mean in the line?
K7MBBS-4 audio level = 19(4/4)? ? 000000___
K7MBTS audio level = 99(32/21)? ? __|||||__

THX


Re: Building on Mac

 

Thanks for the reply,

Looks like that worked :)

Running tests...
Test project /Users/user/Documents/sources/direwolf/build-test
????? Start? 1: dtest
?1/24 Test? #1: dtest ............................?? Passed??? 5.09 sec
????? Start? 2: ttest
?2/24 Test? #2: ttest ............................?? Passed??? 0.16 sec
????? Start? 3: tttexttest
?3/24 Test? #3: tttexttest .......................?? Passed??? 0.09 sec
????? Start? 4: pftest
?4/24 Test? #4: pftest ...........................?? Passed??? 0.08 sec
????? Start? 5: tlmtest
?5/24 Test? #5: tlmtest ..........................?? Passed??? 0.08 sec
????? Start? 6: lltest
?6/24 Test? #6: lltest ...........................?? Passed??? 0.08 sec
????? Start? 7: enctest
?7/24 Test? #7: enctest ..........................?? Passed??? 0.07 sec
????? Start? 8: kisstest
?8/24 Test? #8: kisstest .........................?? Passed??? 0.10 sec
????? Start? 9: pad2test
?9/24 Test? #9: pad2test .........................?? Passed??? 0.12 sec
????? Start 10: xidtest
10/24 Test #10: xidtest ..........................?? Passed??? 6.11 sec
????? Start 11: dtmftest
11/24 Test #11: dtmftest .........................?? Passed??? 0.14 sec
????? Start 12: check-fx25
12/24 Test #12: check-fx25 .......................?? Passed??? 1.04 sec
????? Start 13: check-il2p
13/24 Test #13: check-il2p .......................?? Passed??? 0.32 sec
????? Start 14: check-modem1200
14/24 Test #14: check-modem1200 ..................?? Passed??? 4.04 sec
????? Start 15: check-modem1200-i
15/24 Test #15: check-modem1200-i ................?? Passed??? 1.80 sec
????? Start 16: check-modem300
16/24 Test #16: check-modem300 ...................?? Passed??? 8.20 sec
????? Start 17: check-modem9600
17/24 Test #17: check-modem9600 ..................?? Passed??? 0.34 sec
????? Start 18: check-modem9600-i
18/24 Test #18: check-modem9600-i ................?? Passed??? 0.85 sec
????? Start 19: check-modem19200
19/24 Test #19: check-modem19200 .................?? Passed??? 0.31 sec
????? Start 20: check-modem2400-a
20/24 Test #20: check-modem2400-a ................?? Passed??? 2.21 sec
????? Start 21: check-modem2400-b
21/24 Test #21: check-modem2400-b ................?? Passed??? 2.24 sec
????? Start 22: check-modem2400-g
22/24 Test #22: check-modem2400-g ................?? Passed??? 0.40 sec
????? Start 23: check-modem4800
23/24 Test #23: check-modem4800 ..................?? Passed??? 1.42 sec
????? Start 24: check-modemeas
24/24 Test #24: check-modemeas ...................?? Passed??? 0.26 sec

100% tests passed, 0 tests failed out of 24

Total Test time (real) =? 35.57 sec


Re: Cross Fix to ALSA-LIB and GPIO PTT issues

 

Hi Dave,
? I went over the ptt.c file and compared the debug output I had for the Direwolf startup. There didn't seem to be any errors as it follows the libgpiod syntax completely. My guess right now is that the GPIO pins aren't identified in the dtb table for the kernel startup. I've translated three versions and see no reference in the dtc's for a simple GPIO I/O interface on the external pins. Most of the defined pins are used for chip-chip interaction. So now I have to "re-invent the wheel" and do a dtc blob for my GPIO-19 pin on gpio@209c000 (the first bank of GPIO modules) and a gpiopin@209c000 definition with the needed pinctrl and pin-gpios data. The iMX6 reference data from Technexion is forthcoming as I've hung on my access and login, TBD. Unfortunately the other iMX6 ARM users don't leave their dtc files lying around for me to plagiarize.

Hasta,
Dave
KI6KPP


Re: Building on Mac

 

On Sat, Aug 26, 2023 at 11:52 PM, kitonthenet wrote:
Are there some tests I can do to check for regressions?
Yes, there are automated regression tests.

$ cmake -DUNITTEST=1 ..
$ make
$ make test

A Mac development expert (which I am not) will need to address the other concerns.

73,
John WB2OSZ


Re: TX and no audio ?

 

This might be helpful for getting fldigi to work with an IC-7300.

?


Re: TX and no audio ?

 

Help me to understand this please. I cannot tx to the IC-7300 from Fldigi. Is the 00 the problem? Thanks for your help.?


Re: TX and no audio ?

 

¿ªÔÆÌåÓý

Good morning, John,

Yes indeed I noticed that

now he is at ?? MM???

Thanks for your help
I learned something else, how to properly adjust our audio

Thank you and good day


Luc Drolet VE2 LUQ
Pr¨¦sident de VE2CVA
C.R.A.V.A.
Club Radio Amateur Vall¨¦e de l'Amiante
VE2 CVA
ve2cva@...
ldrolet@...
https://www.facebook.com/groups/ve2cva
Instagram :?https://www.instagram.com/ve2cva/
Echolink = ? VE2RVA-R ? ?NODE #24560
S¨¦curit¨¦ Civil du Qu¨¦bec, Node #1400







Le 28 ao?t 2023 ¨¤ 11:25, WB2OSZ <wb2osz@...> a ¨¦crit :

I have found that receive works better if mic AGC is turned off.

<dummyfile.0.part>

These tips are in the Troubleshooting section of:?

73,
John WB2OSZ


Re: TX and no audio ?

 

I have found that receive works better if mic AGC is turned off.



These tips are in the Troubleshooting section of:?

73,
John WB2OSZ


Re: TX and no audio ?

 

¿ªÔÆÌåÓý

Good morning, John,

OK, actually I didn't know that it was wrong to put the number ??00 ? at the bottom of the sliders

Ha Ha, yes, it's working fine now

Thanks for your help

here's a photo

here is a picture



Luc Drolet VE2 LUQ
Pr¨¦sident de VE2CVA
C.R.A.V.A.
Club Radio Amateur Vall¨¦e de l'Amiante
VE2 CVA
ve2cva@...
ldrolet@...
https://www.facebook.com/groups/ve2cva
Instagram :?https://www.instagram.com/ve2cva/
Echolink = ? VE2RVA-R ? ?NODE #24560
S¨¦curit¨¦ Civil du Qu¨¦bec, Node #1400







Le 28 ao?t 2023 ¨¤ 09:56, WB2OSZ <wb2osz@...> a ¨¦crit :

Do you see MM or 00 here in alsamixer?

<dummyfile.0.part>

If you have MM, that means muted.? Press m to change.


Re: TX and no audio ?

 

Do you see MM or 00 here in alsamixer?



If you have MM, that means muted.? Press m to change.


Re: TX and no audio ?

 

¿ªÔÆÌåÓý

Hello Andre,

I bought 10 CM-108 so one for my first I-GATE site which works well
I am attaching a photo of my CM-108 key, because a picture is worth a thousand words

there I want to build another one and I have no audio ???

I don't think it's a counterfeit, it's written CM-108 on the chip

CM-108.jpg


Luc Drolet VE2 LUQ
Pr¨¦sident de VE2CVA
C.R.A.V.A.
Club Radio Amateur Vall¨¦e de l'Amiante
VE2 CVA
ve2cva@...
ldrolet@...
https://www.facebook.com/groups/ve2cva
Instagram :?https://www.instagram.com/ve2cva/
Echolink = ? VE2RVA-R ? ?NODE #24560
S¨¦curit¨¦ Civil du Qu¨¦bec, Node #1400







Le 28 ao?t 2023 ¨¤ 08:21, Andrew P. <andrewemt@...> a ¨¦crit :

Luc,

Do you have a real CM108? Or one of the counterfeits (where they conveniently put a dab of paint on the chip so you can't read the part number)? I have found that the counterfeits can jam up and refuse to work. The only solution is to literally unplug the USB connection so the board powers off, then reconnect it. If that doesn't work, get another device. The counterfeits fail easily.

Andrew, KA2DDO

________________________________________
From:?[email protected]?<[email protected]> on behalf of Luc Drolet VE2LUQ <ldrolet@...>
Sent: Monday, August 28, 2023 5:47 AM
To:?[email protected]
Subject: Re: [direwolf] TX and no audio ?

Hello Jonh,

Yes, I also adjust the volume to the maximum
and there is still no sound in my headphones on the CM-108


Luc Drolet VE2 LUQ
Pr¨¦sident de VE2CVA
C.R.A.V.A.
Club Radio Amateur Vall¨¦e de l'Amiante
VE2 CVA
ve2cva@...
ldrolet@...
https://www.facebook.com/groups/ve2cva
Instagram : https://www.instagram.com/ve2cva/
Echolink = ??VE2RVA-R ???NODE #24560
S¨¦curit¨¦ Civil du Qu¨¦bec, Node #1400







Le 27 ao?t 2023 ¨¤ 21:54, WB2OSZ <wb2osz@...> a ¨¦crit :

Did you set the output volume and ensure it is not muted?