Greetings.
This looks like the correct sequence with a couple of corrections:
1. JSSC is never bundled in the core JDK or JRE, and the version that is bundled inside YAAC only supports Linux, Microsoft Windows, and Mac OS X, so you will always need to install comms/java-simple-serial-connector on a FreeBSD system in addition to some version of the JDK or JRE. Do you know in what directory the libjssc-java.jar file is stored for the FreeBSD factory installation (or if it is named differently)? I'd like to make sure I'm searching the correct directories when looking for a factory install. Not sure why the newer Java versions wouldn't work with the FreeBSD stock version of JSSC.
8. The "-debug" option to YAAC is generally not needed unless you are debugging some internal feature of YAAC, and specifying it without a qualifier of what subsystems of YAAC you are debugging produces so much extra log output that the performance will be impaired.
Otherwise, this looks good.
Are USB serial devices on FreeBSD named ttyU0 instead of ttyUSB0?
Andrew, KA2DDO
author of YAAC
________________________________________
From: yaac-users@groups.io <yaac-users@groups.io> on behalf of Peter VE7PPE via groups.io <ve7ppe@...>
Sent: Wednesday, December 25, 2024 6:32 PM
To: yaac-users@groups.io
Subject: [yaac-users] YAAC under FreeBSD 14.2
I'm returning to FreeBSD after almost 10 years using Debian/Fedora for ham laptop. Its been an expected return with having to compile from source and/or search for obscure packages to get things to work.
YAAC is one of the first ham programs to get installed to my older laptop with a fresh install of FreeBSD 14.2 running a XFCE desktop with 1Tb SSD. Through trial and error, here are my steps to get YAAC communicating with both my GPS and TH-D72:
1. $ pkg install java/openjdk8 [tried openjdk22 --> 11, all fail to find jssc, aka no serial ports. Both YAAC & FreeBSD jssc lib not found >openjdk8]
2. $ pkg install comms/java-simple-serial-connector [>11yrs old, is from source for fork used by YAAC]
3. $ pkg install gpsd
4. $ vi /etc/rc.conf
* add: gpsd_enable="YES"
* add: gpsd_device="/dev/ttyU0" [check your usb port, I will build a udev style rule for the GPS under FreeBSD]
5. download YAAC to /home/user/Software-local/YAAC
6. unzip YAAC
7. cd YAAC
8. java -jar YAAC.jar -debug
9. config as needed
I will continue to test/tune this process with the newest JSSC fork and newer openjdk version. Will report back my findings.