<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.4">
</HEAD>
<BODY>
Hi all,<BR>
<BR>
I discovered the chirp project and wanted to use it to help debug my homebrew interface between a Raspberry Pi computer and a Kenwood TM-D700. While the code seems to work if you have a USB dongle, I had a problem using the GPIO UART serial port. That port is on an odd serial device (/dev/ttyAMA0). Which may make sense since the Pi is an odd bit of hardware. Anyway, if you add one line of code to the platform.py file, chirp will recognize the GPIO serial port. Without finding any serial ports on the computer, chirp issues a cryptic message.<BR>
<BR>
Just before line 284 in platform.py (chirp-0.3.0) add the line:<BR>
glob.glob("/dev/ttyAMA*") +<BR>
<BR>
I don't know much python programming so I don't know if there is a way to detect the hardware more specifically. I don't think /dev/ttyAMA* is used much on other linuxes. So it will probably be safe enough to add to the "production" version of chirp.<BR>
<BR>
Hope this helps!<BR>
<BR>
73 de Mike, N7WLC<BR>
<BR>
</BODY>
</HTML>