¿ªÔÆÌåÓý

No TX audio


Ross Wardrup
 

Hi all,

I have no TX audio with Direwolf. I've verified what my card # is with aplay -l:

*** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 3: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0

The interface for my rig is USB Audio Device, or card 1. I've also verified what the output device is arecord -l. It's the same:

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 2: Microphone [Logitech USB Microphone], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 3: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0

Again, I want card 1.?

So, in my direwolf.conf file, I have ADEVICE plughw:1,0. Direwolf successfully loads:

Dire Wolf version 1.5
Includes optional support for:? hamlib cm108-ptt
?
Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:1,0? (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...

However, I am only receiving packets. When I try to transmit, there is no audio. The rig does key up, however. I've verified that my audio device isn't muted. It transmits when run in a Windows VM, but the USB latency is too bad and I can't make a connection. I'm not sure what to check. Any ideas?


 

Is the transceiver transmit light going on?

If it is, but you are not getting a good transmit, make sure you are not suffering?from RFI problems.

MOve the system as far away from the transmit antenna as possible.

I also had to put ferrite chokes on all leads to keep RFI from actually distorting the signal so it could not be decoded.

On Thu, Nov 4, 2021 at 4:51 PM Ross Wardrup <minorsecond@...> wrote:
Hi all,

I have no TX audio with Direwolf. I've verified what my card # is with aplay -l:

*** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 3: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0

The interface for my rig is USB Audio Device, or card 1. I've also verified what the output device is arecord -l. It's the same:

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 2: Microphone [Logitech USB Microphone], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 3: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0

Again, I want card 1.?

So, in my direwolf.conf file, I have ADEVICE plughw:1,0. Direwolf successfully loads:

Dire Wolf version 1.5
Includes optional support for:? hamlib cm108-ptt
?
Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:1,0? (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...

However, I am only receiving packets. When I try to transmit, there is no audio. The rig does key up, however. I've verified that my audio device isn't muted. It transmits when run in a Windows VM, but the USB latency is too bad and I can't make a connection. I'm not sure what to check. Any ideas?



--

73,
AB1PH
Don Rolph


Ross Wardrup
 

The TX light is on. I don't think RFI is the issue since the VM halfway works. There's just no audio at all when running directly through Linux. I just tried a different antenna for kicks but no dice.


 

It the TX light is on BUT you are not successfully transmitting then:

- check that there is indeed audio coming out of the sound card during transmit: ?there probably is

If there is audio coming out but no decodable packets are occurring, then the packets are plausibly distorted.

I have found the Raspberry PI environment very sensitive to RFI with the USB subsystem?being particularly sensitive.? GPS pucks are also problematic.

I would?love to say I discovered this myself, but like you I reported?a similar problem and others suggested considering RFI, and RFI it was.

And the problem occurs during transmit?(when your transmitter is active and producing RF) but not on receive when the transmitter isnot?producing RF.

On Thu, Nov 4, 2021 at 5:12 PM Ross Wardrup <minorsecond@...> wrote:
The TX light is on. I don't think RFI is the issue since the VM halfway works. There's just no audio at all when running directly through Linux. I just tried a different antenna for kicks but no dice.



--

73,
AB1PH
Don Rolph


 

My suggestion for troubleshooting TX sound issues would be:
1. Make sure the right card is chosen.
??? No easier/BETTER way to do this than just cycle through them until you get audio.
??? This works best if you can connect a speaker to the sound card you use for TX and make sure audio is coming out.
2. Audio level.? Best to send each tone individually and adjust the volume, then put it into the radio.
3. PTT or VOX settings.

If both of them work correctly and you have trouble, then you can look to RFI.? That is not a good place to start, though.


 

¿ªÔÆÌåÓý

shooting off hip,

alsamixer -c 1

see that all outputs are not muted (press m or spacebar iirc), and volumes are up

-craig
KM6LYW

On 11/4/21 2:29 PM, Rob Giuliano via groups.io wrote:

My suggestion for troubleshooting TX sound issues would be:
1. Make sure the right card is chosen.
??? No easier/BETTER way to do this than just cycle through them until you get audio.
??? This works best if you can connect a speaker to the sound card you use for TX and make sure audio is coming out.
2. Audio level.? Best to send each tone individually and adjust the volume, then put it into the radio.
3. PTT or VOX settings.

If both of them work correctly and you have trouble, then you can look to RFI.? That is not a good place to start, though.


Ross Wardrup
 
Edited

Unfortunately, nothing has worked yet. I still don't believe it's RFI because the machine I'm using had Windows installed previously, and Direwolf worked fine on it. I haven't moved the rig, antenna, or coax at all since. Maybe the interface I've got doesn't play nicely with Linux? It's a simple FTDI interface though, so it should work.

I should note that, when trying to transmit, Direwolf displays "Audio output data underrun."


Ross Wardrup
 

When my Direwolf instance starts up, it doesn't display all available sound cards like I used to see. Is there a reason for that and is there a command argument I can pass to display them?


 

¿ªÔÆÌåÓý


Hello Ross,

Ok, let's start from the top.? Your first email mentioned you're running Direwolf v1.5 from Linux but don't get any output sound.? Is this direwolf running on the bare metal Linux host or within a Linux VM?? I ask this because your last
message mentioned "Audio output data underrun" which is very unusual for Direwolf but I've seen errors like this when running in a VM.? If it's running on bare metal, any ideas what else might be using that specific soundcard?? Have you rebooted your host recently to give it a fresh start?

As an output audio test, maybe you can configure Direwolf to use a different soundcard and see if the modem tones can be heard on a set of speakers/headphones?? Consider using the Direwolf in calibration mode by specifying the "-x a" parameter at the command (see all the options available to you below).

Btw, I recommend you upgrade to Direwolf v1.6 as there are a lot of fixes in it compared to v1.5.

--David
KI6ZHD


--
# direwolf -h
Dire Wolf DEVELOPMENT version 1.7 A (Jan? 2 2021)
Includes optional support for:? gpsd hamlib cm108-ptt

Dire Wolf version 1.7

Usage: direwolf [options] [ - | stdin | UDP:nnnn ]
Options:
??? -c fname?????? Configuration file name.
??? -l logdir????? Directory name for log files.? Use . for current.
??? -r n?????????? Audio sample rate, per sec.
??? -n n?????????? Number of audio channels, 1 or 2.
??? -b n?????????? Bits per audio sample, 8 or 16.
??? -B n?????????? Data rate in bits/sec for channel 0.? Standard values are 300, 1200, 2400, 4800, 9600.
???????????????????? 300 bps defaults to AFSK tones of 1600 & 1800.
???????????????????? 1200 bps uses AFSK tones of 1200 & 2200.
???????????????????? 2400 bps uses QPSK based on V.26 standard.
???????????????????? 4800 bps uses 8PSK based on V.27 standard.
???????????????????? 9600 bps and up uses K9NG/G3RUH standard.
???????????????????? AIS for ship Automatic Identification System.
???????????????????? EAS for Emergency Alert System (EAS) Specific Area Message Encoding (SAME).
??? -g???????????? Force G3RUH modem regardless of speed.
??? -j???????????? 2400 bps QPSK compatible with direwolf <= 1.5.
??? -J???????????? 2400 bps QPSK compatible with MFJ-2400.
??? -P xxx???????? Modem Profiles.
??? -A???????????? Convert AIS positions to APRS Object Reports.
??? -D n?????????? Divide audio sample rate by n for channel 0.
??? -X n?????????? 1 to enable FX.25 transmit.
??? -d???????????? Debug options:
?????? a???????????? a = AGWPE network protocol client.
?????? k???????????? k = KISS serial port or pseudo terminal client.
?????? n???????????? n = KISS network client.
?????? u???????????? u = Display non-ASCII text in hexadecimal.
?????? p???????????? p = dump Packets in hexadecimal.
?????? g???????????? g = GPS interface.
?????? w???????????? w = Waypoints for Position or Object Reports.
?????? t???????????? t = Tracker beacon.
?????? o???????????? o = output controls such as PTT and DCD.
?????? i???????????? i = IGate.
?????? m???????????? m = Monitor heard station list.
?????? f???????????? f = packet Filtering.
?????? h???????????? h = hamlib increase verbose level.
?????? x???????????? x = FX.25 increase verbose level.
?????? d???????????? d = APRStt (DTMF to APRS object translation).
??? -q???????????? Quiet (suppress output) options:
?????? h???????????? h = Heard line with the audio level.
?????? d???????????? d = Decoding of APRS packets.
?????? x???????????? x = Silence FX.25 information.
??? -t n?????????? Text colors.? 0=disabled. 1=default.? 2,3,4,... alternatives.
???????????????????? Use 9 to test compatibility with your terminal.
??? -a n?????????? Audio statistics interval in seconds.? 0 to disable.
??? -p???????????? Enable pseudo terminal for KISS protocol.
??? -x???????????? Send Xmit level calibration tones.
?????? a???????????? a = Alternating mark/space tones.
?????? m???????????? m = Steady mark tone (e.g. 1200Hz).
?????? s???????????? s = Steady space tone (e.g. 2200Hz).
?????? p???????????? p = Silence (Set PTT only).
??????? chan????????? Optionally add a number to specify radio channel.
??? -u???????????? Print UTF-8 test string and exit.
??? -S???????????? Print symbol tables and exit.
??? -T fmt???????? Time stamp format for sent and received frames.
??? -e ber???????? Receive Bit Error Rate (BER), e.g. 1e-5

After any options, there can be a single command line argument for the source of
received audio.? This can overrides the audio input specified in the configuration file.

Complete documentation can be found in /usr/local/share/doc/direwolf
or online at
--


On 11/05/2021 03:02 AM, Ross Wardrup wrote:

[Edited Message Follows]

Unfortunately, nothing has worked yet. I still don't believe it's RFI because the machine I'm using had Windows installed previously, and Direwolf worked fine on it. I haven't moved the rig, antenna, or coax at all since. Maybe the interface I've got doesn't play nicely with Linux? It's a simple FTDI interface though, so it should work.

I should note that, when trying to transmit, Direwolf displays "Audio output data underrun."