<div dir="ltr"><div><div>Yes, in the select list of the port, the port looks like "\\.\COM10". A bit discouraged, but it works. I'll try to find and correct the selection list.</div></div>Ok. I get it. I'm not very familiar with the structure of the CHIRP. But give me a day or two, I'll deal with it.<div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-10 18:42 GMT+03:00 Dan Smith via chirp_devel <span dir="ltr"><<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.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">> # HG changeset patch<br>
> # User Alexey K <<a href="mailto:lepik.stv@gmail.com">lepik.stv@gmail.com</a>><br>
> # Date 1444479413 -10800<br>
> # Sat Oct 10 15:16:53 2015 +0300<br>
> # Node ID 2bf8f254d6ac3fce89b0693b6feb9568a4bcf29e<br>
> # Parent f8d7a8b1f4f57f36be6f6130f83cb8f36dc1b2d5<br>
> [patch] doesn't recognize multiple comm ports in Win 7 - issue #2783<br>
<span class="">> Description of the problem in the MSDN:<br>
> <a href="https://msdn.microsoft.com/ru-ru/en-en/library/aa363858(v=vs.85).aspx" rel="noreferrer" target="_blank">https://msdn.microsoft.com/ru-ru/en-en/library/aa363858(v=vs.85).aspx</a><br>
> "To specify a COM port number greater than 9, use the following syntax: "\\.\COM10".<br>
<br>
</span>Hmm, I was not aware of this bug, but it looks like Jim has confirmed. I<br>
really can't think of why this would have changed with the build machine<br>
rebuild, as it ended up nearly identical to the original.<br>
<br>
> diff -r f8d7a8b1f4f5 -r 2bf8f254d6ac chirp/platform.py<br>
> --- a/chirp/platform.py Thu Oct 08 12:02:04 2015 +0300<br>
> +++ b/chirp/platform.py Sat Oct 10 15:16:53 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>
<br>
This will result in the drop-down box looking strange for people. Can<br>
you please abstract out the act of changing the name? So, for testing,<br>
you should test the augmented name, but add just "COM10" to the ports<br>
list. Then, we need some indirection again when we go to open the port<br>
that they select. Presumably we should just add an opens_serial_port()<br>
method to the Platform like list_serial_ports().<br>
<br>
Can you take care of that?<br>
<br>
Jim, could you test that manually typing in the above pattern allows you<br>
to get to COM10+ on your box?<br>
<br>
Thanks!<br>
<br>
--Dan<br>
_______________________________________________<br>
chirp_devel mailing list<br>
<a href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" rel="noreferrer" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
</blockquote></div><br><div><br></div>
</div></div></div>