¿ªÔÆÌåÓý

Date

Re: Direwolf as a TNC Help

 

¿ªÔÆÌåÓý


Hello Patrick,


Well dad gum, I could have SWORE for the life of me I tried that

On you original post to the [email protected] list, you posted:

?? "RTS DTR -> FSK & PTT flash on for a moment then turn off"


Do you have any idea what you changed since that first post on 4/29 @ 1pm until now?



Next, you sent a follow up email stating "It keys, it sends but my other station doesn't decode it. ".? That sounds like a standard audio level tuning issue.? What is your receiving radio?? Is it also running Direwolf?? Regardless, check out what I wrote up about this for a few other sound cards:

??


I'm not sure how the SCU-17 will present itself to alsamixer so you might need to make all the changes via the SCU-17's physical knobs.

--David
KI6ZHD


Re: Direwolf as a TNC Help

 

So it's keying but not decoding on the other end, I assume FSK is likely the issue but I really don't know.

It keys, it sends but my other station doesn't decode it.

It's currently going into a dummy load at 5W so I doubt it can be heard much further away than my approximate location.

Direwolf shows it's trying to send it


Re: Add Bluetooth¡­

 

Doh! Missed that message, ya beat me to it.

On 5/1/22 15:01, J K via groups.io wrote:
Looks straightforward.



13 Pro Max

On May 1, 2022, at 5:52 PM, J K via groups.io <kuhnje@...> wrote:


Re: Add Bluetooth¡­

 

Think this will help....?


Re: Direwolf as a TNC Help

 

Well dad gum, I could have SWORE for the life of me I tried that

I swapped RTS and DTR back and fourth and they both worked though it is triggering FKS and PTT at the same time it is working and I've successfully sent some messages to myself.

I tried some other combinations and got a dead key, but whatever, RTS DTR seems to do it, very weird

On 5/1/22 14:38, Lee Bengston wrote:
I had a similar problem when using a USB to serial adapter and an EasyDigi board. Both the RTS and DTR pins are wired to the EasyDigi - presumably so that either one can be selected for PTT by the client. Lines that seemed like they should work either gave me no PTT or a constant transmit. The only line that worked in direwolf.conf was this:

PTT /dev/ttyUSB0 RTS DTR

At the time I implemented the above, it was not considered a valid option based on my interpretation of what's in the manual, but it worked.? If it hasn't been tried already you might want to try the above and also try reversing RTS and DTR in the line if the above doesn't work. Of course change the serial port to match yours.

73,
Lee K5DAT


Re: Add Bluetooth¡­

 

¿ªÔÆÌåÓý

Looks straightforward.



13 Pro Max

On May 1, 2022, at 5:52 PM, J K via groups.io <kuhnje@...> wrote:

?

Anyone add Bluetooth support? ?I have a RPi02W with Fe-Pi audio board and even though have a Moblink TNC3 was thinking about getting a second TNC3, but then thought why not just add BT support to the RPi02W running DireWolf and it¡¯d be basically the same thing.


Add Bluetooth¡­

 


Anyone add Bluetooth support? ?I have a RPi02W with Fe-Pi audio board and even though have a Moblink TNC3 was thinking about getting a second TNC3, but then thought why not just add BT support to the RPi02W running DireWolf and it¡¯d be basically the same thing.


Re: Direwolf as a TNC Help

 

I had a similar problem when using a USB to serial adapter and an EasyDigi board. Both the RTS and DTR pins are wired to the EasyDigi - presumably so that either one can be selected for PTT by the client. Lines that seemed like they should work either gave me no PTT or a constant transmit. The only line that worked in direwolf.conf was this:

PTT /dev/ttyUSB0 RTS DTR

At the time I implemented the above, it was not considered a valid option based on my interpretation of what's in the manual, but it worked.? If it hasn't been tried already you might want to try the above and also try reversing RTS and DTR in the line if the above doesn't work. Of course change the serial port to match yours.

73,
Lee K5DAT


On Sun, May 1, 2022 at 3:25 PM Patrick <kd7wpq@...> wrote:
Understood, but toggling the switch should only switch the PTT method
whether that by PTT or FSK in accordance to the signal it receives, be
that RTS or DTR, but I digress, if my buddy and I have no luck I will
give that a go, pull it out and do some tinkering.

I'm still curious why I can get PTT in FLDigi without a issue but not
Direwolf, or rather it works correctly.

Another thing I thought about doing is grabbing one of my USB serial
adapters that shows what signals are being sent via LEDs on the adapter
and seeing what it shows me.

I'll report back when I have more results.







Virus-free.


Re: Direwolf as a TNC Help

 

Understood, but toggling the switch should only switch the PTT method whether that by PTT or FSK in accordance to the signal it receives, be that RTS or DTR, but I digress, if my buddy and I have no luck I will give that a go, pull it out and do some tinkering.

I'm still curious why I can get PTT in FLDigi without a issue but not Direwolf, or rather it works correctly.

Another thing I thought about doing is grabbing one of my USB serial adapters that shows what signals are being sent via LEDs on the adapter and seeing what it shows me.

I'll report back when I have more results.


Re: Direwolf as a TNC Help

 

¿ªÔÆÌåÓý


Hello Patrick,

It's a pretty remote possibility that this is a code bug since 1000s of people are successfully using Direwolf.? The unique thing here is that you're using the Yaesu SCU-17 device with matching Yaesu cable which many people don't have.? I would imagine you can make it work but you need to work your way through the testing steps I've offered to confirm you're actually getting the signals you expect.? To me, your core issue seems to be showing up with FSK led lighting up symptom.? It would be interesting to see if toggling that switch inside the radio body itself to see how that changes your outcome.

--David
KI6ZHD




On 05/01/2022 12:45 PM, Patrick wrote:

Hopefully I haven't baffled or stumped everyone.

Granted I'm a bit stumped as to why it's not working.

Is it possible it's a application bug and if so what do I need to do to request it be fixed?



Re: Direwolf as a TNC Help

 

Hopefully I haven't baffled or stumped everyone.

Granted I'm a bit stumped as to why it's not working.

Is it possible it's a application bug and if so what do I need to do to request it be fixed?


Re: Direwolf as a TNC Help

 

Nope, I have FLRig and FLDigi configured to use my 857 by default.

FLRig is pointed to /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00AC0110-if00-port0

Firewolf (/dev/ttyUSB1) is configured to use
/dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0

No other applications are running using those devices unless I open them

And just for the heck of it I just configured FLDigi to use Hardware PTT (CAT turned off) to /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0 with "Use RTS" checked, closed the config window and clicked on "Tune" and it keyed up. Click Tune again (to turn it off) and PTT let go.


Re: Direwolf as a TNC Help

 

What about Flrig? Are you using that with Fldigi? If so, Flrig is the program that is owning the serial port, not Fldigi, so it is what has to be shut down before starting DireWolf.

Andrew, KA2DDO
author of YAAC
________________________________________
From: [email protected] <[email protected]> on behalf of Patrick <kd7wpq@...>
Sent: Saturday, April 30, 2022 8:36 PM
To: [email protected]
Subject: Re: [direwolf] Direwolf as a TNC Help

Great question to be sure I'm not pointing two applications to the same
device :)

A easy mistake to make for sure, but no.

I opened FLDigi and ran it without direwolf running to see if it would
key PTT any different, and it did

The two applications are not run at the same time.

I'm trying to run YAAC with Direwolf as a KISS TNC interface but without
PTT working in Direwolf it's kind of pointless

And yes, I'm very sure FLDigi was dropping PTT when "Tune" was turned
off (not green).
I tested it twice.


Re: Direwolf as a TNC Help

 

Great question to be sure I'm not pointing two applications to the same device :)

A easy mistake to make for sure, but no.

I opened FLDigi and ran it without direwolf running to see if it would key PTT any different, and it did

The two applications are not run at the same time.

I'm trying to run YAAC with Direwolf as a KISS TNC interface but without PTT working in Direwolf it's kind of pointless

And yes, I'm very sure FLDigi was dropping PTT when "Tune" was turned off (not green).
I tested it twice.


Re: Direwolf as a TNC Help

 

I'll ask the obvious question:
?? You aren't trying to use /dev/ttyUSB1 when both FLDigi and Direwolf are running?
?? Being more specific, you are sure FLDigi is 'dropping' its connection to /dev/ttyUSB1 before you start Direwolf?

Robert Giuliano
KB8RCO



On Saturday, April 30, 2022, 07:10:07 PM EDT, Patrick <kd7wpq@...> wrote:


[Edited Message Follows]

OK, I've done a bit more testing and have verified that FLDigi has no problem keying the SCU-17 but direwolf is having problems.

If I set FLDigi's Hardware PTT to /dev/ttyUSB1 RTS then I can trigger PTT with tune. If I turn tune off PTT is let go.
DTR gives me FSK properly
RTS = +V gives me a PTT dead key
DTR = +V give me a FSK dead key

If I set direwolf to...
PTT /dev/ttyUSB1 -RTS
I get a FSK RTS dead key
RTS gives me a FSK dead key
DTR gives me a PTT dead key
-DTR gives me a FSK and PTT dead key

This has to be a config issue I'm missing somewhere

Edit: Just did some digging, seems I'm not the first to have this issue....
https://github.com/wb2osz/direwolf/issues/44


Re: Direwolf as a TNC Help

 
Edited

OK, I've done a bit more testing and have verified that FLDigi has no problem keying the SCU-17 but direwolf is having problems.

If I set FLDigi's Hardware PTT to /dev/ttyUSB1 RTS then I can trigger PTT with tune. If I turn tune off PTT is let go.
DTR gives me FSK properly
RTS = +V gives me a PTT dead key
DTR = +V give me a FSK dead key

If I set direwolf to...
PTT /dev/ttyUSB1 -RTS
I get a FSK RTS dead key
RTS gives me a FSK dead key
DTR gives me a PTT dead key
-DTR gives me a FSK and PTT dead key

This has to be a config issue I'm missing somewhere

Edit: Just did some digging, seems I'm not the first to have this issue....
https://github.com/wb2osz/direwolf/issues/44


Re: Direwolf as a TNC Help

 

Danny, thank you for the reply.

There is a way to find the device, yes
Basically instead of using /dev/ttyUSB0 or 1 I'm targeting it by ID by using /dev/serial/by-id/............

I had not however tried /dev/ttyUSB* but just gave it a go and the results were the same. /dev/ttyUSB1 DTR gave a dead key

I am however going to give creating a link to each device a go so they are better sorted as found here () starting at 8:39.
Something I didn't realize you could do until I saw that.
Basically once I figure out exactly what is what I'm going to at least create a /dev/300PTT and a /dev/857PTT link with rules so that no matter how or when the system starts I will always know exactly where and what my /dev/PTT is.

I'm about 90% sure /dev/USB1 and /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0 is CAT/PTT control and I believe the problem is that PTT is controlled by CAT and not just a simple RTS DTR command.
The question is how to work with and/or around a CAT command for something so new that it's not listed in any libraries yet?

On the SCU-17 you have two devices per SCU-17. One is CAT control the other is a sound interface.
For instance I have /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2 and /dev/ttyUSB3 as I have two SCU-17's connected.

ls /dev/serial/by-id/ lists them as the following...
usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00AC0110-if00-port0
usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00AC0110-if01-port0
usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if00-port0
usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0

The other SCU-17 is connected to a 857D and that is listed in hamlib, well the 857 is, not the 857D specifically though the commands should be the same.
FLRig has absolutely no problem controlling the 857D so for FLDigi, WSJTX and JS8Call I just point them to FLRig for control and it works great, plus it allows me control of my rig on my screen, pretty much just bling there but hey, whatever, could come in handy for remote stuff.

Anyhow, indeed a good thought about using another app to control it, it does have me thinking about other ways to achieve the same objective though not certain how at the moment.


Re: Direwolf as a TNC Help

 

Patrick,

The following is the entire contents of my direwolf.conf running on a Raspberry pi.

ADEVICE plughw:1,0 plughw:1,0
ACHANNELS 1
CHANNEL 0
MYCALL K5CG
MODEM 1200
PTT /dev/ttyUSB0 RTS
TXDELAY 30
TXTAIL 10
AGWPORT 8000

The serial port is an FTDI USB to RS-232 cable and the radio (a KW TM-V71A) is set to key on the assertion of RTS (using it's Echolink Sysop mode feature). This appears as /dev/ttyUSB0.

Audio in/out is via a simple USB sound fob. This appears as device #1.

YAAC connects to the AGWPORT and direwolf keys the radio when needed.

I don't know anything about the SCU-17 but is there a way to know the COM port number or device name from whatever PC you are connecting it to?


From: "Patrick" <kd7wpq@...>
To: [email protected]
Sent: Thursday, April 28, 2022 10:35:45 PM
Subject: Re: [direwolf] Direwolf as a TNC Help
Anyone have an insite on how to get PTT working or some things I can test to get it working?

I've tried ending the first un-commented PTT line with RTS, RTS DTR, RTS -DTR, -DTR and DTR and it will dead key

Being that hamlib doesn't have any of the D (digital) variations in it's library I tried RIG 1021, RIG 1022 and RIG 1043, none of those seemed to work either.
I do know my com port is set to 19200, I set it, Data speed is set to 1200, so I know that is set correctly but I'm not sure what other options I have regarding PTT configuration.

Does anyone have any ideas, thoughts and or suggestions?

I'm willing to give whatever you think up a go to see if we can get the SCU-17 to key PTT


Re: Direwolf as a TNC Help

 

Anyone have an insite on how to get PTT working or some things I can test to get it working?

I've tried ending the first un-commented PTT line with RTS, RTS DTR, RTS -DTR, -DTR and DTR and it will dead key

Being that hamlib doesn't have any of the D (digital) variations in it's library I tried RIG 1021, RIG 1022 and RIG 1043, none of those seemed to work either.
I do know my com port is set to 19200, I set it, Data speed is set to 1200, so I know that is set correctly but I'm not sure what other options I have regarding PTT configuration.

Does anyone have any ideas, thoughts and or suggestions?

I'm willing to give whatever you think up a go to see if we can get the SCU-17 to key PTT


Re: Direwolf as a TNC Help

 

I'll jump over there and see what I can get figured out.

I have the radio connected via USB to a via a ?which provides CAT control via a serial port and sound via a 10-pin mini-DIN to 6-pin Mini-DIN. The 6 pin is plugged into the

I am able to see Direwolf decode what the radio receives, now I need to get PTT working to verify I have the correct outgoing or microphone port.
Currently my PTT configuration(s) only lock the radio in transmit when Direwolf is run.

#PTT COM1 RTS
#PTT COM1 RTS -DTR
PTT /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0 DTR
#PTT RIG 1022 /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00F8CEC3-if01-port0 19200

I have another SCU-17 on my FT-857D on the same computer, it is controlled via FLRig and it shows the following working configuration...