<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;"> I modified the registry to make one of my ftdi cables show up on com14. Both the old port (com4) is listed since it was the last used, along with the new port number com14. Com14 works in chirp to download my radio as expected on win10 x64. Seems ok to me!</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:chirp_devel@intrepid.danplanet.com">Dan Smith via chirp_devel</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">10/12/2015 1:37 PM</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:lepik.stv@gmail.com">Alex K</a>; <a href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [chirp_devel] [patch modified] doesn't recognize multiple commports in Win 7 - issue #2783</span><br><br></div>> diff -r f8d7a8b1f4f5 -r 853c2aa66578 chirp/platform.py<br>> --- a/chirp/platform.py        Thu Oct 08 12:02:04 2015 +0300<br>> +++ b/chirp/platform.py        Sun Oct 11 10:50:10 2015 +0300<br>> @@ -29,7 +29,7 @@<br>> <br>> ports = []<br>> for i in range(1, 257):<br>> - portname = "COM%i" % i<br>> + portname = "\\\\.\\COM%i" % i<br>> try:<br>> mode = win32con.GENERIC_READ | win32con.GENERIC_WRITE<br>> port = \<br>> @@ -40,6 +40,8 @@<br>> win32con.OPEN_EXISTING,<br>> 0,<br>> None)<br>> + if portname.startswith("\\"):<br>> + portname = portname[4:]<br><br>Won't this cause us to detect them, but then fail to open them? Or is<br>the failure just in the detection code above?<br><br>--Dan<br>_______________________________________________<br>chirp_devel mailing list<br>chirp_devel@intrepid.danplanet.com<br>http://intrepid.danplanet.com/mailman/listinfo/chirp_devel<br>Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers<br></body></html>