Keyboard Shortcuts
Likes
- Yaac-Users
- Messages
Search
Re: YAAC and Direwolf interfacing
Hi Joe, A digirig would work but it is way more than you need and may not work the way you want (PTT). I have a TM-V71A running YAAC and direwolf (1.6) on a Pi400 and I use a simple USB sound card connected to the DATA port for audio I/O, and a USB Serial cable to the PC port. When you put the radio into Echolink mode, it disables the Serial CAT protocol on the PC port but RTS in becomes PTT on the DATA BAND only. YAAC is connected to direworlf via the AGWPE port. If you need more details I'll send you my config files. 73 Danny, K5CG HH 550-0609 SKCC 14257 From: "Joseph LaFerla" <joe@...> To: "yaac-users" <[email protected]> Sent: Saturday, November 30, 2024 12:15:25 PM Subject: [yaac-users] YAAC and Direwolf interfacing HI all
?
I have been running yaac for a long time with a TNC-Pi2 on my rpi3 and a Kenwood TMD710G.? I have recently had to ditch the tnc and have been looking at replacing it with direwolf.? ?I have a working configuration using direwolf 1.7 and a digirig into my Baofeng handheld.? I want to make this work with my kenwood mobile TMd710G.? I am thinking that most of my current configuration will work. I don't think that my digirig would work.? I have read somewhere that I need to setup an AGWPE port.? ?Can anyone help please?
?
Thanks in advance
?
Joe VA3TV
|
Re: YAAC and Direwolf interfacing
If you are going to quit using an external hardware TNC and switch to a better-performing software TNC, you will need to get a PG-5H cable set from Kenwood (the same cable set used to make a D710 into a Echolink site), or some other cable that will connect to a standard 6-pin mini-DIN TNC audio connector. There is no real hardware difference between the Echolink hookup and the DireWolf/APRS hookup; the only difference is in the software sending and receiving digitally-modulated audio. Then YAAC will use an AGWPE port type to talk to DireWolf.
Note that the Echolink audio goes through side B (not side A) of the transceiver, so you will want to switch any voice ops to the A side, and turn off the built-in hardware TNC entirely. Uh, you do know the D710 does have a built-in hardware TNC on side A of the transceiver, right? Admittedly, this hardware TNC does not perform as well as DireWolf does, but you don't have to worry about matching audio levels or getting a PTT hookup. You can use either the Kenwood or Serial_TNC port type with the D710's built-in TNC, depending on which mode you put the TNC into (APRS or PACKET), but you'll need the PG-5H serial cable and a USB-to-RS232C adapter to link the D710 control head to your computer (and the adapter needs to support at least the RTS, CTS, and DTR modem control signals). Hope this helps. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Joseph LaFerla <joe@...> Sent: Saturday, November 30, 2024 1:15 PM To: [email protected] Subject: [yaac-users] YAAC and Direwolf interfacing HI all I have been running yaac for a long time with a TNC-Pi2 on my rpi3 and a Kenwood TMD710G. I have recently had to ditch the tnc and have been looking at replacing it with direwolf. I have a working configuration using direwolf 1.7 and a digirig into my Baofeng handheld. I want to make this work with my kenwood mobile TMd710G. I am thinking that most of my current configuration will work. I don't think that my digirig would work. I have read somewhere that I need to setup an AGWPE port. Can anyone help please? Thanks in advance Joe VA3TV |
YAAC and Direwolf interfacing
HI all
?
I have been running yaac for a long time with a TNC-Pi2 on my rpi3 and a Kenwood TMD710G.? I have recently had to ditch the tnc and have been looking at replacing it with direwolf.? ?I have a working configuration using direwolf 1.7 and a digirig into my Baofeng handheld.? I want to make this work with my kenwood mobile TMd710G.? I am thinking that most of my current configuration will work. I don't think that my digirig would work.? I have read somewhere that I need to setup an AGWPE port.? ?Can anyone help please?
?
Thanks in advance
?
Joe VA3TV |
Re: OSX and RT Systems cables?
开云体育I’m trying to connect a MacMini m4 to a Kenwood D710 to send and receive aprs using yaar. I’m running OSX Sequoia 15.1.1. yaar can see the rtsystems adapters but it can’t connect to them.
|
Re: OSX and RT Systems cables?
开云体育Do you mean OSX or do you mean MacOS v14 or 15? I use RT System cables all the time to talk to HT’s and have never had an issue. Maybe give us a little more information about what you are trying to do.Keith, WA0?TJT Author:?https://net-control.us ARRL Life Member & VE ARRL ARES?Communicator?Level 2, AEC for?Platte Co. MO KCHEART Radio?Operator - St.?Lukes Barry Road?Hospital
|
Re: Import Raw OSM file not working in build#204
Thanks for the update. I am 99% through importing the current pbf. I appreciate the information abou the different file types and, especially, that the changeset files weren't actually adding any information to the local dataset. I hadn't read through the definitions carefully, just assumed that the changeset would load anything that had changed since the last release. It still takes over a day to load, but it's only needed when I want to bring the maps up to current status.
?
YAAC is a great tool. Thanks very much for your work on it! |
Re: OSX Sequoia
开云体育
Yes, macOS Safari has an “Open Safe Files after downloading” option on the Settings->General tab. ?By default it’s checked, and IMHO that’s a bad idea. Carl. |
Re: KPC-3+ USB losing the port
Hi Dave, I think you have identified the problem. I use lsusb all the time to see whats what. Ill give that a go as i am sure it is not an FTDI chip, if i am remembering correctly. Thank yo again.
On Tuesday, November 26, 2024 at 01:57:35 AM PST, Dave_G0WBX via groups.io <g8kbvdave@...> wrote:
Hi again Paul. the dmesg output, as well as that from? "$ lsusb"? will identify the maker of the USB chip used by the KPC-3+ (I'm guessing, but adding a common USB/Serial bridge chip to an existing product design, is a common easy(ish) way to add such functionality, but sadly such things are not all equal in their capabilities.? In particular, to my knowledge so far, only FTDI provide a unique serial number, that is "Oh So Useful" in UDEV rules, to differentiate between similar products that use the same bridge chip!) 73. Dave G8KBV.
|
Re: Import Raw OSM file not working in build#204
开云体育A followup to my previous reply:
I found that the upgraded commons-compress library slipped in a new unmentioned dependency on the commons-io library that YAAC wasn't using yet, hence the ClassNotFoundException you were receiving. Very easy for me to replicate. The fix was
easy (add the commons-io library to the YAAC distribution), but I'm running a full import of the osm.bz2 file to look for and fix any other accrued issues (found some excessive logging that was impacting performance significantly). This will be fixed in the
next build of YAAC.
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Andrew P. via groups.io <andrewemt@...>
Sent: Monday, November 25, 2024 2:10:35 PM To: [email protected] <[email protected]> Subject: Re: [yaac-users] Import Raw OSM file not working in build#204 Greetings.
Regarding your import issues, a?couple of things here:
1. YAAC ignores changeset information, as all it is is documentation of the changes made to the OSM dataset (who/when/why), not the actual changes themselves. So, importing it does nothing. YAAC can't handle deltas
of the OSM data; it can only handle snapshots of the state of the data, where unchanged old data is present along with the new modifications.
2. The error you are getting implies that the BZ2 decompressor is failing. I'm not sure why that would be happening, but I don't test the XML importer that often (I usually use the PBF file format as that is significantly
faster). I did apply a maintenance upgrade to the Apache compress library in YAAC as of build#202. Were you able to import planet-241118.osm.pbf? And were you able to do it before with an older build of YAAC (pre-202)? And what version of the Java runtime
were you using? I recall some versions that used weak references to the jar file indexes, such that it could lose track of a class in the jar file and not go back to look it up again. And the heavy heap thrashing caused by the XML parser could cause "stale"
classes to be removed when they weren't actiually stale.
Let me know what you find out.
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Mark KE8NHT Ohio via groups.io <ke8nht@...>
Sent: Monday, November 25, 2024 1:30:52 PM For the last two weekly changeset files, I have receive a error when trying to import the update. The most recent file I attempted to import is changesets-241118.osm.bz2 - I also attempted both the changeset and full database for 241111.
The debug log shows the following:
OsmXmlSegmenter: minHeapRequired=991531972 free=8031321136
Unable to open OSM Map data file: java.lang.NoClassDefFoundError: org/apache/commons/io/input/CloseShieldInputStream ? ? at org.ka2ddo.yaac.osm.OsmXmlSegmenter.parse(OsmXmlSegmenter.java:241) ? ? at org.ka2ddo.yaac.core.provider.CoreProvider$FileOSMImport$OSMParseThread.run(CoreProvider.java:1377) ? ? at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.CloseShieldInputStream ? ? at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ? ? ... 3 more Was there a change in the file format or something else that is causing this error?
|
Re: OSX Sequoia
toggle quoted message
Show quoted text
|
Re: KPC-3+ USB losing the port
开云体育Hi again Paul. the dmesg output, as well as that from? "$ lsusb"? will identify the maker of the USB chip used by the KPC-3+ (I'm guessing, but adding a common USB/Serial bridge chip to an existing product design, is a common easy(ish) way to add such functionality, but sadly such things are not all equal in their capabilities.? In particular, to my knowledge so far, only FTDI provide a unique serial number, that is "Oh So Useful" in UDEV rules, to differentiate between similar products that use the same bridge chip!) 73. Dave G8KBV.
|
Re: KPC-3+ USB losing the port
Thanks Dave. All of my lap tops keep the USB ports powered ... i know i could shut them down when the computer is off, but i keep GPS
dongles connected even when they are off.? I'll try the dmesg -WH and see what i find.
It is strange that the KPC-3 with the FTDI serial to USB dongle has no issues, but the -3+ USB does.
?
Paul N6MYA |
Re: Import Raw OSM file not working in build#204
开云体育Greetings.
Regarding your import issues, a?couple of things here:
1. YAAC ignores changeset information, as all it is is documentation of the changes made to the OSM dataset (who/when/why), not the actual changes themselves. So, importing it does nothing. YAAC can't handle deltas
of the OSM data; it can only handle snapshots of the state of the data, where unchanged old data is present along with the new modifications.
2. The error you are getting implies that the BZ2 decompressor is failing. I'm not sure why that would be happening, but I don't test the XML importer that often (I usually use the PBF file format as that is significantly
faster). I did apply a maintenance upgrade to the Apache compress library in YAAC as of build#202. Were you able to import planet-241118.osm.pbf? And were you able to do it before with an older build of YAAC (pre-202)? And what version of the Java runtime
were you using? I recall some versions that used weak references to the jar file indexes, such that it could lose track of a class in the jar file and not go back to look it up again. And the heavy heap thrashing caused by the XML parser could cause "stale"
classes to be removed when they weren't actiually stale.
Let me know what you find out.
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Mark KE8NHT Ohio via groups.io <ke8nht@...>
Sent: Monday, November 25, 2024 1:30:52 PM For the last two weekly changeset files, I have receive a error when trying to import the update. The most recent file I attempted to import is changesets-241118.osm.bz2 - I also attempted both the changeset and full database for 241111.
The debug log shows the following:
OsmXmlSegmenter: minHeapRequired=991531972 free=8031321136
Unable to open OSM Map data file: java.lang.NoClassDefFoundError: org/apache/commons/io/input/CloseShieldInputStream ? ? at org.ka2ddo.yaac.osm.OsmXmlSegmenter.parse(OsmXmlSegmenter.java:241) ? ? at org.ka2ddo.yaac.core.provider.CoreProvider$FileOSMImport$OSMParseThread.run(CoreProvider.java:1377) ? ? at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.CloseShieldInputStream ? ? at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ? ? ... 3 more Was there a change in the file format or something else that is causing this error?
|
Import Raw OSM file not working in build#204
For the last two weekly changeset files, I have receive a error when trying to import the update. The most recent file I attempted to import is changesets-241118.osm.bz2 - I also attempted both the changeset and full database for 241111.
The debug log shows the following:
OsmXmlSegmenter: minHeapRequired=991531972 free=8031321136
Unable to open OSM Map data file: java.lang.NoClassDefFoundError: org/apache/commons/io/input/CloseShieldInputStream ? ? at org.ka2ddo.yaac.osm.OsmXmlSegmenter.parse(OsmXmlSegmenter.java:241) ? ? at org.ka2ddo.yaac.core.provider.CoreProvider$FileOSMImport$OSMParseThread.run(CoreProvider.java:1377) ? ? at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.CloseShieldInputStream ? ? at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ? ? ... 3 more Was there a change in the file format or something else that is causing this error? |
Re: KPC-3+ USB losing the port
开云体育Hi again. Ubuntu AFIK has some power managing features, but they may be dependant on the platform hardware capabilities too. Personally I can't get on with the Ubuntu UI, so I run LMDE (Mint without the Ubuntu bits.) Running on an older Dell XPS laptop, the Cinnamon desktop power
management features work well, to the point of annoyance if using
for example a SDR dongle! On a HP small format desktop, the CPU power management seems to
work, but it leaves the USB ports powered all the time, but that
may also be a "feature" of the PC hardware and/or BIOS of course. I have found that running? $ dmesg -WH ? in a terminal session, and then trawling through the list after something odd happens, can give some clues, but it can be serious eye aching stuff! Or pipe that to a file, and grep it later, if one knows what to
look for.? Pulling the USB lead and seeing what happens to find a
suitable clue to search for might work. As you are "afloat", there could still be some RF about, from other vessels nearby at times?? Parhaps a TinySA running in peak hold mode might help too?? (And that's another distracting Rabbit Hole to drop into if you're not careful!) 73.? Hope the wet stuff stays outside the hull! Dave G8KBV.
|
Re: KPC-3+ USB losing the port
I'm sorry, guess it would have been better if i had given more info about the system.
?
OS is Ubuntu on several different laptop computers ranging from Ryzen 5, 7, & 9 as well as Intel I-7,
does it with all of them.
?
The radio is an ICOM T2H with an external antenna that is not set up for transmitting, no cabling to the
microphone or to the PTT ... RXD and ground only.
?
I had thought about copying the settings in the tnc's, however they are different ... the +3 USB is the latest version
and the plain KPC-3 is, i think, version 6.0.? Also, while i have various other VHF Marine radios as well as HF Amateur
radios aboard, none of them are operating while i am trying to get this system up and running.
?
Please note that this setup is used on my boat as an aid to navigation as an adjunct to OpenCPN and will never be put into transmit.
?
It may be that i will just need to deep 6 the +3 USB and find an older unit like the plain -3 i already have.
?
Thank you for your suggestions and help. |
Re: KPC-3+ USB losing the port
On Sun, Nov 24, 2024 at 8:13?AM Dave_G0WBX via <g8kbvdave=[email protected]> wrote:
That was my first thought as well. I recently had a similar problem with an older Kantronics TNC that is not USB, BUT I was using a Keyspan USB to serial adapter with it. The Keyspan uses off the shelf USB cables, so I found one in the stash of stuff that had a good sized toroid on it - the one I was using didn't have one at all. Problem solved - did not happen after swapping out the cable. In my case the OS was Linux, and the USB device would just disappear usually within a few hours. 73, Lee K5DAT
|
Re: KPC-3+ USB losing the port
开云体育RF in the shack? Often a cause of strange intermittent USB disconnects... What operating system are you using on the PC? Can you see any evidence that the USB/serial port changed after it seems to have disconnected? (Windows Device Manager)? COM1 changed to COM2 Or (Linux)??? Have a terminal session running somewhere visible (you can shrink the font, so any such session doesnt "hog" the display) with "dmesg -wH" running, and see what happens at the bottom of the list.? That will show any "re-enumeration" activity (or other weirdness) in real time. It may not be the PC end of the USB cable that has the issue if
the KPC-3+ has USB/Serial built in.? They would not be the first
company to "update" an existing product by adding USB, and
introducing a new RF Susceptibility issue. 73 Dave G8KBV.
|
Re: KPC-3+ USB losing the port
Paul ,
?
Just a guess and you didnt mention what operating system you run with it. I wonder if the USB ports are being shut down as a part of the power plan.
You may find this under Power Options > Advanced power settings in Windows 10 .
Here is a web page with some info
?
Tony VKAH |