Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Direwolf audio device issue with FT-847 and SCU-17
#linux
#scu-17
#ft-847
#sound
#usb-codec
Hello all,
?
first of all thanks for accept me in the group.
I'm introducing into direwolf and I'm configuring my ~/direwolf.conf file to testing it. My transceiver is a Yaesu FT-847 connected to SCU-17 interface. I can work in HF modes succesfully but with direwolf I'm having trouble with the audio device. Next my configurations:
?
$ arecord -l?
**** List of CAPTURE Hardware Devices **** card 0: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 card 2: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 ?
? $ aplay -l
? **** List of PLAYBACK Hardware Devices **** card 0: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 card 2: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 ?
? $ cat ~/direwolf.conf
ADEVICE ?plughw:0,0 CHANNEL 0 MYCALL N0CALL MODEM 1200 PTT /dev/ttyUSB1 RTS AGWPORT 8000 KISSPORT 8001 IGTXLIMIT 6 10 ?
# Parameters for VHF
FX25TX 1 RETRY 5 FRACK 3 MAXFRAME 7 EMAXFRAME 14 PACLEN 128 DWAIT 0 TXDELAY 25 TXTAIL 15 MAXV22 2 FULLDUP OFF ?
---
?
I have a HT next to me to test the 847 signals and both tuned in the same frequency.
I'm testing with "direwolf -x a" command and it happens: ?
- With "ADEVICE ?plughw:0,0": the 847 does PTT fine, I can see the transceiver alternating TX but the HT doesn't receive anything
- With "ADEVICE ?plughw:2,0": the 847 does PTT fine, I can see the transceiver alternating TX, I can hear the sound through the computer speakers and the HT is receiving the signal. ?
I can't understand this strange behaviour ...?
Any help will be appreciated. Thanks.
|
¿ªÔÆÌåÓýHello Victor, Welcome to the group!? Can you tell us what you're trying to do with Direwolf?? VHF APRS?? HF APRS?? Classic packet radio on VHF/UHF? ?
Ok.. looks like you want to use "card 0" ?
Correct
You need to change "N0CALL" with your amateur radio callsign.
This is correct if you plan on doing either APRS or classic packet on VHF/UHF.
Since you report that the FT847 radio is keying up, these seem to be right
Do you plan to connecting direwolf to other applications that need AGW or TCP-KISS connectivity?? If no, turn these off by setting each of these to use port 0
You can leave that default in there but it's only needed for setting APRS packets to the Internet (aka IGATING)
Set this to 0 if you're doing VHF/UHF APRS or classic packet
Depending on what you're going to do with Direwolf, you most likely will want to delete these lines and just use the defaults.? In some cases with doing classic packet, you might want to set some of these later when you're fine tuning things.
These are reasonable starting values but you'll want to see if you can pull in these values if your radio supports faster keyup times.
This is only useful for classic packet connecting to other modern packet TNCs like direwolf.? Is this your intention?
This is the default and isn't needed.
This is the correct setting but when you say the "HT doesn't receive anything", does the HT show it's receiving a full signal but you just don't hear anything?? If that's the case, you need to use the alsamixer tool to set the correct playback and microphone level settings for your "USB Audio CODEC" sound device.? The basics are covered in the Direwolf User Guide? and for proper levels to be best decoded, I recommend to read Also.. I recommend to double-check your radios too: FT847: ?? - I assume the radio is connected to antenna but how much power is it transmitting with?? For now, set it to it's lowest power level ?? - make sure the radio has the sqelch set wide open (hearing static all the time) ?? - make sure the radio is transmitting on a desired packet frequency in VFO mode (no + or - frequency shift) ?? - make sure the radio is transmitting on a desired packet frequency without any PL tone / DCS /etc HT: ?? - I assume the radio is connected to antenna but how much power is it transmitting with?? For now, set it to it's lowest power level ?? - make sure the radio has the sqelch set wide open (hearing static all the time) ?? - make sure the radio is transmitting on a desired packet frequency in VFO mode (no + or - frequency shift) ?? - make sure the radio is transmitting on a desired packet frequency without any PL tone / DCS /etc
The TNC sounds are coming out the computer speakers because sound device "plughw:2,0" is your computer's speakers! --David KI6ZHD |
Hi David,?
?
thank you for your answer.?
?
I'd like to do packet or APRS tests over VHF/UHF. Several parameters in the direwolf.conf are by default and I'll change to fit my tests.
The HT walkie (an AnyTone 878) is only for testing the 847 TX correctly. Both are a few meters next each other soy I only use 1 W or so.
?
But the problem I see is with the audio devices. I explain:
?
1) ADEVICE plughw:0,0 : Obviously this value would be the correct but when I run "direwolf -x a" to test the audio device the 847 PTT fires up fine and I see in the 847 display how alternating "TX" and "DATA" quickly but the HT doesn't receive anything nor sound nor carrier.
?
2) ADEVICE plughw:2,0 : This audio device shouldn't be the chosen but when I run again "direwolf -x a" the 847 PTT fires PPT up fine again and I see in the 847 the "TX" and "DATA" fixed NOT alternating. Also I can hear the tone in the PC speakers (as expected) and the HT receives a carrier and sound.
?
I think in the first case the HT should be receiving at least a carrier but the strange behaviour is it receives in the incorrect audio device.
?
I'll review again the parameters and settings.
?
Thank you again for your help. Regards.
|
¿ªÔÆÌåÓýHello Victor,
I don't think the FT847 is firing up correctly at all as the alternating TX and DATA doesn't sound right.? In your initial email, you stated you had "PTT /dev/ttyUSB1 RTS" which seems right to me but maybe it's not correct for this radio or your cable isn't correct.? Googling around, talks about an internal jumper in the SCU17 for selecting AFSK vs. FSK.? You should check that jumper setting.? Here is another thread which talks about the "USB Audio CODEC" one being the correct one though that goes against what you're observing ( /g/RaspberryPi-4-HamRadio/topic/scu_17_behind_the_raspberry/75165151 ).? You might want to check out to see other serial options here like different polarity, maybe use the DTR line, etc. though I don't think that's your issue.
Hmmm.. this is all kinds of weird.? PTT is working regardless of the ADEVICE line because you're asserting PTT through an independent serial port.? As for selecting the correct sound device, you need to figure out what device is what.? I recommend to disconnect all sound devices from your computer, run the "aplay -l " command and see that no sound devices are listed, and connect each one until you know what's what. --David KI6ZHD |
Victor:
?
If the Anytone HT is close to the 847's antenna the HT's receiver may be being overloaded by the strong signal from the 847, even at 1 watt. Search the web for "desensitization" for more information. If that's what's happening try moving the HT further away and/or laying it sideways so its antenna is horizontally polarized which should cause an approximate 12 dB drop in the signal strength assuming the 847's antenna is vertically polarized. Just one more thing to check. |
Hi again,
?
after review everything (connectors, audio levels in SCU-17 and 847, audio devices, ...) I've found the "guilty" at last.
?
The PCM device from the "USB Audio CODEC" had its level showed in dB instead in percentage (%) so the human logic at a first sight was the audio level was fine when it wasn't.
?
?
Now I can see when the 847 TX and HT receive sound. Althought it still been a mystery the TX and HT RX and the PC speakers sound through the incorrect device :D but it doesn't matter now.
?
Thank you very much to all for your help.
Regards.
|
to navigate to use esc to dismiss