Pages: [1]   Go Down

Author Topic: Raspberry Pi4 versus USB driver for Yaesu FT-991A  (Read 259 times)

KG0BA

  • Posts: 96
    • HomeURL
Raspberry Pi4 versus USB driver for Yaesu FT-991A
« on: March 05, 2021, 08:42:36 AM »

I am new to Raspberry Pi technology, but I did buy a Raspberry Pi4 so I could load FLDIGI and FLRIG, or some facsimile thereof, and also communicate via possibly other digital modes like FT8, etc...and, frankly, I don't have any experience with the digital data modes yet, but I'm making an effort to learn.

I'm told I need a USB driver, and Yaesu only publishes one for download for Windows or MAC. 

What do I do if I want a USB driver for the Raspberry Pi? 

Do I need a "script" instead of a USB driver for a Raspberry Pi?

Do I even need a USB driver, or will the Raspberry Pi work right out of the box without the driver from Yaesu? 

I have the Pi up and running, seems to work well, desktop comes up, and all of the programs and functions that come with the flashed OS seem to function properly.  I even have FLDIGI loaded on the Pi, and the FLDIGI window comes up fine, etc...

But, I haven't configured the Yaesu FT-991A yet to communicate with the Raspberry Pi, not knowing if by setting up the radio to communicate with the Pi, I might be screwing things up without a proper USB driver, or script, or whatever, installed first on the Raspberry Pi. 
« Last Edit: March 05, 2021, 08:51:52 AM by KG0BA »
Logged

KD2EIP

  • Member
  • Posts: 21
Re: Raspberry Pi4 versus USB driver for Yaesu FT-991A
« Reply #1 on: March 10, 2021, 08:10:34 AM »

As far as I can tell, you don't need any driver from Yaesu.  I'm running an 8gb Raspberry Pi 4 which is vast overkill for most ham applications.  Your easiest way to get up and running is to go to YouTube and look for "KM4ACK" and "Build-A-Pi".   Jason is a freaking genius when it comes to getting things to work.  My current rig is a Yaesu FT-891 controlled completely by the Pi.  I usually connect to the Pi via "VNC Viewer" from RealVNC on Windows 10 but Jason also had a video on how to get this installed on a Kindle Fire.  Works well on the Kindle ( after trying for two weeks to get other vnc software to work ).
Logged

N6YWU

  • Posts: 362
    • HomeURL
Re: Raspberry Pi4 versus USB driver for Yaesu FT-991A
« Reply #2 on: March 16, 2021, 10:40:06 AM »

The most commonly used USB driver for Raspberry Pi is contained in libusb.
After I do a:
sudo apt-get install libusb-1.0-0-dev
I can build and install most every Pi application that talks to USB connected devices, including serial port dongles and USB serial port devices (which appears to include the FT-991/A).
Logged

KB0NAV

  • Posts: 2
    • HomeURL
Re: Raspberry Pi4 versus USB driver for Yaesu FT-991A
« Reply #3 on: June 08, 2021, 06:57:35 AM »

I am using a pi as the interface to control my 991a via hamlib. I then run wsjtx, fldigi, and other via Hamlib NET rigctl from my regular Linux PC.
I use this script to find the USB device and start rigctld:

Code: [Select]
#!/bin/sh
# Yaesu FT-991A
RIG=FT-991

RATE=38400
PORT=4532


SCRIPT=`basename $0`
LOG=/tmp/${SCRIPT}.log
date >> $LOG

# Use this if you build rigctl from source
EXECUTABLE=/usr/local/bin/rigctld

# Use this if you install rigctl as package
# EXECUTABLE=/usr/bin/rigctld
BASEEXEC=`basename $EXECUTABLE`

PREVIOUS=`ps -Af | grep $BASEEXEC | grep "$DEVICE" | awk '{print $2}'`

for PREV in $PREVIOUS
do
echo Killing previous instance $PREV
kill -HUP $PREV
done

if [ $SCRIPT = "rigstop" ]
then
exit
fi

LOGFILE=/tmp/$BASEEXEC.$$
ENHANCED=usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_00BF7CED-if00-port0

DEVICE=`ls -l /dev/serial/by-id/ | grep $ENHANCED | awk '{print $11}'`
DEVICE=/dev/`basename $DEVICE`

if [ ! -c $DEVICE ]
then
echo $DEVICE is not a charactor device >> $LOG
exit 0
fi

if [ -L $DEVICE ]
then
LINK=`readlink $DEVICE`
echo LINK is $LINK >> $LOG
fi



MODEL=`$EXECUTABLE --list | grep $RIG | awk '{print $1}'`

COMMAND="$EXECUTABLE -r $DEVICE -m $MODEL -s $RATE -t $PORT"
echo $COMMAND

if [ $# -ge 1 ]
then
if [ "$1" = "stop" ]
then
exit
elif [ "$1" = "-d" ]
then
echo Logfile will be $LOGFILE
$COMMAND -vvvvv -Z 2> $LOGFILE &
elif [ "$1" = "-g" ]
then
echo Starting with gdb
$COMMAND &
gdb -p $$
elif [ "$1" = "-l" ]
then
echo Listing supported Operations
$COMMAND -u
fi
else
$COMMAND &
fi
Logged
Pages: [1]   Go Up