From: daid303 Date: Tue, 23 Apr 2013 14:22:44 +0000 (+0200) Subject: Only use cu.usb* for autodetect USB devices on MacOS. X-Git-Tag: 13.05~55 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3c93e0ef6593ec28cb3d6771419a897f987f6e9e;p=cura.git Only use cu.usb* for autodetect USB devices on MacOS. --- diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index 9cefa3ed..8c1e7e9c 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -38,7 +38,7 @@ def serialList(forAutoDetect=False): except: pass if forAutoDetect: - baselist = baselist + glob.glob('/dev/ttyUSB*') + glob.glob('/dev/ttyACM*') + glob.glob("/dev/tty.usb*") + glob.glob("/dev/cu.*") + baselist = baselist + glob.glob('/dev/ttyUSB*') + glob.glob('/dev/ttyACM*') + glob.glob("/dev/tty.usb*") + glob.glob("/dev/cu.usb*") baselist = filter(lambda s: not 'Bluetooth' in s, baselist) else: baselist = baselist + glob.glob('/dev/ttyUSB*') + glob.glob('/dev/ttyACM*') + glob.glob("/dev/tty.usb*") + glob.glob("/dev/cu.*") + glob.glob("/dev/rfcomm*")