import glob

def comports():
    devices = glob.glob('/dev/ttyS*') + glob.glob('/dev/ttyUSB*')
    return [(d, d, d) for d in devices]


if __name__ == '__main__':
    import serial

    for port, desc, hwid in sorted(comports()):
        print "%s: %s [%s]" % (port, desc, hwid)

@@ -90,16 +90,44 @@
 tyUSB*')
+ + glob.glob('/dev/ttyACM*')
 %0D%0A    re

include ttyACM in list