[chirp_users] raspberry pi and chirp

Michael Bass
Tue Apr 2 21:13:58 PDT 2013


Hi all,

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.

Just before line 284 in platform.py (chirp-0.3.0) add the line:
                       glob.glob("/dev/ttyAMA*") +

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.

Hope this helps!

73 de Mike, N7WLC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20130402/2a35223d/attachment.html 


More information about the chirp_users mailing list