[chirp_users] more help with Mac OS

Dan Smith
Tue May 19 03:56:04 PDT 2009


> I made two code changes, which took care of my problem (I probably  
> only needed one, but hey...)
>
> in platform.py on line 219:
>
>   return sorted(glob.glob("/dev/ttyS*") + glob.glob("/dev/ttyUSB*") +  
> glob.glob("/dev/cu.usbser*") + glob.glob("/dev/tty.Key*"))
>
>
> I added the /dev/tty.Key* option to go with the other ones  had I  
> looked this up, a symlink to /dev/ttyUSB* (without the "." between tty  
> and USB) would have probably worked too.
>
> and in ic9x.py on line 306 I replaced the default serial port you had  
> listed with mine:
>
>          r = IC9xRadioB(serial.Serial(port="/dev/tty.KeySerial1",

Ah, great!  Yeah, the first one should be the only one you actually
needed, but the other won't hurt anything.

Sorry for the lack of response here, I've just been slammed lately.  I
hope to return to some sort of normalcy later this week or early next
week.

-- 
Dan Smith
dsmith#danplanet.com, s/#/@/
www.danplanet.com
KK7DS



More information about the chirp_users mailing list