[chirp_devel] [PATCH 1 of 2] Detect RPi UART. #751

Tom Hayward
Wed Apr 3 13:23:06 PDT 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1365020572 25200
# Node ID 055a211f1857229789d4d999e04df82a5684d6cd
# Parent  88968d7b52b4c4128cab71561932f932f4e063af
Detect RPi UART. #751

diff -r 88968d7b52b4 -r 055a211f1857 chirp/platform.py
--- a/chirp/platform.py	Tue Apr 02 17:16:20 2013 -0700
+++ b/chirp/platform.py	Wed Apr 03 13:22:52 2013 -0700
@@ -279,6 +279,7 @@
     def list_serial_ports(self):
         return sorted(glob.glob("/dev/ttyS*") +
                       glob.glob("/dev/ttyUSB*") +
+                      glob.glob("/dev/ttyAMA*") +
                       glob.glob("/dev/cu.*") +
                       glob.glob("/dev/term/*") +
                       glob.glob("/dev/tty.KeySerial*"))



More information about the chirp_devel mailing list