<div dir="ltr">No, no problems. I checked in his Win7x32. Chirp reads and writes to the ports greater COM9. Initialize the port goes up. win32file.CreateFile()<div class="gmail_extra"><br><div class="gmail_quote">2015-10-12 23:37 GMT+03:00 Dan Smith <span dir="ltr"><<a href="mailto:dsmith@danplanet.com" target="_blank">dsmith@danplanet.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">> 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>
<span class=""><font color="#888888"><br>
--Dan<br>
</font></span></blockquote></div><br><div class="gmail_signature"><div dir="ltr"><br></div></div>
</div></div>