27. December 2024
FreeBSD Adventures - installing YAAC APRS w/ TH-D72
Update Dec-31-2024-1330
Corrected a few of the steps to make it all work properly. Also testing a new update of YAAC that includes FreeBSD specific look-up for local JSSC. See steps below to update the OpenJDK version from V8
I’m returning to FreeBSD after almost 10 years using Debian/Fedora for ham field 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:
- $ su -
- # pw groupmod dialer -m USER
- # pkg install comms/java-simple-serial-connector [>11yrs old, is from source for fork used by YAAC, installs OpenJDK8]
- # pkg install openjdk22
- # cd /usr/ports/java/openjdk8
- # make deinstall [removes only the openjdk8 package]
- $ java -version [in another non-root terminal view, should show V22]
- # pkg install gpsd
- plug in GPS
- note USB port, /dev/cuaU0 on my laptop
- plug in TH-D72
- running packet12 mode
- /dev/cuaU1 on my laptop
- # vi /etc/rc.conf
- add: gpsd_enable=“YES”
- add: gpsd_devices="/cuaU0" [check your usb port, I will build a udev style rule for the GPS under FreeBSD]
- # exit
- download YAAC to /home/user/Software-local/YAAC
- $ unzip YAAC
- $ cd YAAC
- $ java -jar YAAC.jar [-debug if needed, will fill logs & slow program]
- config as needed
See Andrew P., Developer of YAAC, comments at https://groups.io/g/yaac-users/topic/yaac_under_freebsd_14_2/110289214 I will continue to test/tune this process with the newest JSSC fork and newer openjdk version. Will report back my findings at groups.io and here