Keyboard Shortcuts
Likes
Search
Options for starting direwolf
Hi
?
I have dw 1.8 on my raspberry pi3b+.which has been working well.? I would like to investigate how I can better start dw.? As the manual suggests, I first find the input and output parameters using arecord and aplay .? I enter those values in direwolf.conf under ADEVICE.? The values I put in ADEVICE are subject to change with every reboot and do.? The manual mentions that the values in direwolf.conf can be overwritten by using command line options when starting dw.? This would avoid me having to edit the direwolf.conf file each time I need to change the parameters.? I have tried several options but dw fails to start every time.? Can someone point out my mistake or point me to the page in the manual where I can find this?
?
Thanks.
?
? |
What're you using for soundcard? You could parse the output of aplay and arecord with grep and awk at runtime to then edit the direwolf conf file with those values with sed In my case this is what I see ? ?~ arecord -l **** List of CAPTURE Hardware Devices **** card 2: Device [USB Audio Device], device 0: USB Audio [USB Audio] ? Subdevices: 1/1 ? Subdevice #0: subdevice #0 so if I want my usb device, I'm going to run something like ? ?~ echo "plughw:$(aplay -l | grep USB | awk -F '[ :]' '{print $2}'),$(aplay -l | grep USB | awk -F '[ :]' ?'{print $9}')" plughw:2,0 then use sed to replace the active field |
开云体育Hello Joseph, I have dw 1.8 on my raspberry pi3b+.which has been working well.? I would like to investigate how I can better start dw.? As the manual suggests, I first find the input and output parameters using arecord and aplay .? I enter those values in direwolf.conf under ADEVICE.? The values I put in ADEVICE are subject to change with every reboot and do. Unless you have multiple sound devices connected to your Rpi, this shouldn't be happening.? If you do have multiple devices, you can tune Udev to make the device to names predictable.? Here are two links you should check out ?? ????? or ?? --David KI6ZHD ? The manual mentions that the values in direwolf.conf can be overwritten by using command line options when starting dw.? This would avoid me having to edit the direwolf.conf file each time I need to change the parameters.? I have tried several options but dw fails to start every time.? Can someone point out my mistake or point me to the page in the manual where I can find this? |
开云体育
Hi David
I apologize but I should have mentioned this before..
I am using a pi400 with one ugreen usb sound card.? I have a usb serial port in? the second usb port for ptt
Now that I think of it, when I enter aplay -l this is my output.? My valid device is card 1
List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
? 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: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
The valid card is 1 and my ADEVICE is plughw:1,0.
When I enter arecord-l i get this
List of CAPTURE Hardware Devices ****
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
I haven't reviewed the links you sent yet but wanted to get this out to?you.
I assumed that the other cards in aplay were related to the pi400.? Obviously I need to make changes....
Thanks.
Joe
From:[email protected] <[email protected]> on behalf of David Ranch via groups.io <direwolf-groupsio@...>
Sent:?February 6, 2025 15:11 To:[email protected] <[email protected]> Subject:?Re: [direwolf] Options for starting direwolf ?
Hello Joseph, I have dw 1.8 on my raspberry pi3b+.which has been working well.? I would like to investigate how I can better start dw.? As the manual suggests, I first find the input and output parameters using arecord and aplay .? I enter those values in direwolf.conf under ADEVICE.? The values I put in ADEVICE are subject to change with every reboot and do. Unless you have multiple sound devices connected to your Rpi, this shouldn't be happening.? If you do have multiple devices, you can tune Udev to make the device to names predictable.? Here are two links you should check out ?? ????? or ?? --David KI6ZHD ? The manual mentions that the values in direwolf.conf can be overwritten by using command line options when starting dw.? This would avoid me having to edit the direwolf.conf file each time I need to change the parameters.? I have tried several options but dw fails to start every time.? Can someone point out my mistake or point me to the page in the manual where I can find this? |
开云体育
David
I just noticed in my earlier post I said I had a rpi3b+.? Wrong.? ?I said it correctly in my followup post it is an pi400.
Joe
From: [email protected] <[email protected]> on behalf of David Ranch via groups.io <direwolf-groupsio@...>
Sent: February 6, 2025 15:11 To: [email protected] <[email protected]> Subject: Re: [direwolf] Options for starting direwolf ?
Hello Joseph, I have dw 1.8 on my raspberry pi3b+.which has been working well.? I would like to investigate how I can better start dw.? As the manual suggests, I first find the input and output parameters using arecord and aplay .? I enter those values in direwolf.conf under ADEVICE.? The values I put in ADEVICE are subject to change with every reboot and do. Unless you have multiple sound devices connected to your Rpi, this shouldn't be happening.? If you do have multiple devices, you can tune Udev to make the device to names predictable.? Here are two links you should check out ?? ????? or ?? --David KI6ZHD ? The manual mentions that the values in direwolf.conf can be overwritten by using command line options when starting dw.? This would avoid me having to edit the direwolf.conf file each time I need to change the parameters.? I have tried several options but dw fails to start every time.? Can someone point out my mistake or point me to the page in the manual where I can find this? |
开云体育Hello Joseph,
Ok..
Ok... what I'm seeing here is two audio playback devices through to HDMI monitors. ? Is this one HDMI monitor or two?? Across reboots, do these card0, card1, card2 assignments really move around?? Do you actively use this HDMI monitor based audio?? If not, consider disabling it which should solve your issue.? If you do want it, you probably only need audio on ONE monitor.? Here is a URL to investigate how to disable it one one/both: ? ? --David KI6ZHD |
开云体育Hi Joe,
You can use audio device names rather than numbers, the names
won't change between reboots.
# aplay -L | grep -A1 plughw
plughw:CARD=Device,DEV=0 -- This shows I have 4 audio devices. If I wanted to use the USB
Audio device with direwolf I would configure it as: If I had more than one of the same types of devices (e.g. I have
two NVidia HDMI ports that use the same CARD identifier) then I'd
have to include the ",DEV=x" to specify which one I want, e.g.
BTW the 'Device' name comes from the last word in the card's
product identifier string set by the manufacturer, the word itself
has no significance.
Josh VK2HFF
On 7/02/2025 8:23 am, Joseph LaFerla
wrote:
|
On Thu, Feb 6, 2025 at 04:23 PM, Joseph LaFerla wrote:
Joe VA3TV ? |
开云体育Hello Joe, I'm happy to hear that the "name match" approach is working for you.? As for your mysterious sound devices, Googling the string "MAI PCM i2s-hifi-0" gets lots of hits: ?? - This thread says it's coming from installing kodi: ?? - This thread talks about this device shows up if you enable "dtparam=audio=on" and "vc4hdmi" in the /boot/config.txt file - --David KI6ZHD On 02/07/2025 07:30 AM, Joseph LaFerla
wrote:
|
开云体育
Thank you David.? I am not going?to worry about where the other sound devices are coming from - the name method seems to be quite foolproof.
Joe
From:[email protected] <[email protected]> on behalf of David Ranch via groups.io <direwolf-groupsio@...>
Sent:?February 7, 2025 11:03 To:[email protected] <[email protected]> Subject:?Re: [direwolf] Options for starting direwolf ?
Hello Joe, I'm happy to hear that the "name match" approach is working for you.? As for your mysterious sound devices, Googling the string "MAI PCM i2s-hifi-0" gets lots of hits: ?? - This thread says it's coming from installing kodi: ?? - This thread talks about this device shows up if you enable "dtparam=audio=on" and "vc4hdmi" in the /boot/config.txt file - --David KI6ZHD On 02/07/2025 07:30 AM, Joseph LaFerla wrote:
|
Hi
As you know by now I have a usb audio device for my receive and transmit.? I am trying to understand how volume control works.? Direwolf feeds into a YAAC AGM port and YAAC drives the radio.? Following the direwolf docs, I run alsamixer 1.2.4.? I have set the volume level of the relevant sliders to 99 per cent.? If I mute the Auto gain control setting, the audio level of incoming packets is in the double digits but if I mute it (as the docs say), the level goes down to single digit.? Also, when I transmit, the? outgoing packet has a {0L}.? What does this signify? I must be getting out because I can hear them on my listening handheld and I am being? digipeated.
?
Is there something wrong with my volume levels?? It is surprising that the slider controls have to be at max.
?
Thanks in advance for your continued help; it s much appreciated. |
开云体育Hello Joseph, Following the direwolf docs, I run alsamixer 1.2.4.? I have set the volume level of the relevant sliders to 99 per cent. Which sliders are you talking about here?? The playback slider (output), the microphone slider (input)?? Generally speaking, that's most likely way too high.? Are there any gain controls on your radio to increase / decrease it's levels? I don't see any mention in this email thread of which radio you're using. ? If I mute the Auto gain control setting, the audio level of incoming packets is in the double digits but if I mute it (as the docs say), the level goes down to single digit.? AGC can be a complicated thing and it completely depends on both how the sound device does it but also the signal that's coming over it.? Generally speaking, you don't want AGC to be on with any digital signals.? When it comes to Direwolf, the Direwolf User Guide Section 7.3 recommends to turn OFF AGC on the sound vice via alsamixer. Also, when I transmit, the? outgoing packet has a {0L}.? What does this signify? I must be getting out because I can hear them on my listening handheld and I am being? digipeated. This is effectively meaning ADEVICE0
When you sliders are nearly maxed out, what is the signal level that Direwolf reports?? You want to ideally get the average reported level to be around 50. --David KI6ZHD |
HI David
?
All my sliders are at max which is why I was a bit worried about this.? My radio is a Kenwood TMD710G.? I forgot to mention that. I have not checked whether it has gain controls that could be changed.? I also would prefer not to use Auto Gain Control.? So now I have muted the AGC and the audio levels are back down to single digits.? I hope I can continue to use this radio but I can change if necessary.
?
I am glad that 0l means device0 and not 0 db!!!!
?
Joe
VA3TV
?
?
? |
开云体育Hey Joe,All my sliders are at max which is why I was a bit worried about this.? My radio is a Kenwood TMD710G.? I forgot to mention that. I have not checked whether it has gain controls that could be changed. Yes.. I have a D710 and this is possible but I think the issue is more on the sound device side.? In addition to AGC, your sound device might also have a preamp that might need to be disabled.? Btw, on the D710, are you using the TNC on one VFO and running Direwolf on the other VFO?? The D710's built-in TASCO TNC is ok but Direwolf will definitely out perform it.? How are you connecting your sound device to your D710?? You should use the 6pin "DATA"? connector on the back of the main D710 body. Btw.. if you're curious on the D710 level controls, I cover a bit of it here: ?? ? I also would prefer not to use Auto Gain Control.? So now I have muted the AGC and the audio levels are back down to single digits.? I hope I can continue to use this radio but I can change if necessary. When you say "single digits", according to what.. Direwolf's standard out text? --David KI6ZHD |
David, On your page you wrote "These settings are specific to the Kenwood D710. If you *aren't using* a D710, you can skip this section." They are also pertinent to the TM-V71A (same radio). 73 Danny, K5CG HH 550-0609 SKCC 14257 From: "David Ranch via groups.io" <direwolf-groupsio@...> To: "direwolf" <[email protected]> Sent: Sunday, February 9, 2025 11:33:02 PM Subject: Re: [direwolf] Options for starting direwolf Hey Joe, All my sliders are at max which is why I was a bit worried about this.? My radio is a Kenwood TMD710G.? I forgot to mention that. I have not checked whether it has gain controls that could be changed. Yes.. I have a D710 and this is possible but I think the issue is more on the sound device side.? In addition to AGC, your sound device might also have a preamp that might need to be disabled.? Btw, on the D710, are you using the TNC on one VFO and running Direwolf on the other VFO?? The D710's built-in TASCO TNC is ok but Direwolf will definitely out perform it.? How are you connecting your sound device to your D710?? You should use the 6pin "DATA"? connector on the back of the main D710 body. Btw.. if you're curious on the D710 level controls, I cover a bit of it here: ?? ? I also would prefer not to use Auto Gain Control.? So now I have muted the AGC and the audio levels are back down to single digits.? I hope I can continue to use this radio but I can change if necessary. When you say "single digits", according to what.. Direwolf's standard out text? --David KI6ZHD |
开云体育
HI David
Thanks for this very detailed answer.? I think we are honing in on the issue.? ? The d710 is connected using the Kenwood cable PG5G).? The usb sound card is connected to the pi and the DATA mini din to the radio.? I am running the D710 in sysop mode.? ?The
other end of the Kenwood cable has a 9 pin DB9 connector connecting to the radio via mini-din.? I only use the radio for direwolf so I have it on Band A and I don't use Band B.? ?The "single digits" I refer to is the direwolf log showing the signal strength
reportr4d by stations.? I should also add that direwolf always complains that the audio input level is too low and I should increase it so stations can hear me.? ?Before , I decided to ignore it but now I have reviewed the issue since I want to change the
sound device to the digirig hoping that the sound device there would be better.? If so then I would have to figure out how to connect the ptt to the 710.? One thing at a time.
I have just found that I can buy the cables from amazon for $62.??
Is this the right cable?? ? If I could use? the PG5G instead, it would save me the bucks but maybe I should just do it.
Joe
VA3TV From:[email protected] <[email protected]> on behalf of David Ranch via groups.io <direwolf-groupsio@...>
Sent:?February 10, 2025 00:33 To:[email protected] <[email protected]> Subject:?Re: [direwolf] Options for starting direwolf ?
Hey Joe,
Yes.. I have a D710 and this is possible but I think the issue is more on the sound device side.? In addition to AGC, your sound device might also have a preamp that might need to be disabled.? Btw, on the D710, are you using the TNC on one VFO and running Direwolf on the other VFO?? The D710's built-in TASCO TNC is ok but Direwolf will definitely out perform it.? How are you connecting your sound device to your D710?? You should use the 6pin "DATA"? connector on the back of the main D710 body. Btw.. if you're curious on the D710 level controls, I cover a bit of it here: ??
When you say "single digits", according to what.. Direwolf's standard out text? --David KI6ZHD |
开云体育Hello Danny, For changing the internal Kenwood audio audio levels, you're right.? I'll update my docs.? Thanks! --David KI6ZHD On 02/10/2025 07:17 AM, Danny K5CG via
groups.io wrote:
|
开云体育Hello Joe,
That is the RS232 cable that is either connected to the radio head to use the built-in TNC or connected to the radio body to program memories, do CAT control, etc.? For this application, you don't strictly need this cable
Right.. this is what what you want and you want to use the other "audio cable" that comes with the Kenwood PG-5H cable kit.
This is not strictly needed.? Have you tried running the D710 radio out of sysop mode?? I say this because the default D710/v71 audio levels not in Echolink mode should be perfect for packet.
That is again only for RS232 programming / CAT control and secondary PTT.? The 6pin DATA port (aka audio data + PTT) is specifically what you want to use for packet.
Ok.. your choice though I personally reserve BAND-A (left VFO) for any internal TNC usage and use BAND-B (right VFO) for external TNC / Echolink, etc usage.
Ok.. DIrewolf is amazingly sensitive so I bet it can dig out many signals and decode them but you should try to increase that audio level in a "clean way".? You generally never want to have any sliders be it for input or output to be at 100% as that usually brings in some sorts of distortion, noise / hiss, etc.
What sound device are you trying to use?? A Digirig, a Digirig LIte, or something else? --David KI6ZHD |