https://chirpmyradio.com/https://chirpmyradio.com/favicon.ico?16699092072017-01-13T23:05:20ZCHIRPCHIRP - Bug #4409: FT-1802: ERROR: Clone failed: Failed to communicate with the radio: Attempting to use a port that is not openhttps://chirpmyradio.com/issues/4409?journal_id=122772017-01-13T23:05:20ZMark Whitis
<ul></ul><p>strikeout mode formatting in bug report text is due to a bug in the bug tracker software and was not intended to convey deletion.</p>
CHIRP - Bug #4409: FT-1802: ERROR: Clone failed: Failed to communicate with the radio: Attempting to use a port that is not openhttps://chirpmyradio.com/issues/4409?journal_id=122792017-01-13T23:17:43ZTom Hayward
<ul></ul><p>"Attempting to use a port that is not open" indicates the OS would not let Chirp use the serial port. It may be a permission issue (like not in the dialout group), a driver issue, or most likely another app already claimed the serial port. If this does not always happen with this adapter, I suggest trying again.</p>
<p>There are instructions on how to use the wiki formatting here: <a href="http://chirp.danplanet.com/help/wiki_syntax_detailed.html">http://chirp.danplanet.com/help/wiki_syntax_detailed.html</a></p>
CHIRP - Bug #4409: FT-1802: ERROR: Clone failed: Failed to communicate with the radio: Attempting to use a port that is not openhttps://chirpmyradio.com/issues/4409?journal_id=123672017-01-23T08:00:50ZMark Whitis
<ul></ul><p>It appears that a chirp bug, attempting to talk to serial port after it has been closed when cancelling, is hiding the real issue here which may be electrical.</p>
<p>The diagnosis suggested by tom hayward is inconsistent with the evidence which shows that chirp is indeed able to communicate with the serial port. Only a portion of the chirp Yaesu FT-1802 driver code is not.</p>
<p>Evidence that chirp can communicate:</p>
<ul>
<li>The display on the screen changes from "cloning" to "cloning from radio" when you initiate the transfer from the radio. It would not do this if the driver could not communicate with the port at all.</li>
<li>On the same PC with the same cable (different pinout adapter) and the same version of chirp, I can program a different brand of radio after failing to program this model.
This evidence is included in the original bug report.
/dev/ttyUSB0 is being opened by the program without error (returns file handle 13).</li>
</ul>
<p>Rather, it looks more like the driver has bungled the handling of a file handle pointing to the serial port such that portions of the code are unable to talk to the same port.</p>
<p>strace isn't particularly helpful as chirpw forks a child process just after opening the serial port <br>
slsnif has an internal buffer overflow and crashes with timestamp option but without it, prints the following. All of this takes place immediately after the Set/MHz button is pressed.</p>
<p>slsnif /dev/ttyUSB0 --speed 19200 -u</p>
<p>Serial Line Sniffer. Version 0.4.4<br>
Copyright (C) 2001 Yan Gurtovoy (<a href="mailto:ymg@dakotacom.net">ymg@dakotacom.net</a>)</p>
<p>Opened pty: /dev/pts/14<br>
Saved name of the pty opened into file '/tmp/slsnif_pty'.<br>
Opened port: /dev/ttyUSB0<br>
Baudrate is set to 19200 baud.</p>
<p>Device --> A (065) </p>
<p>Device --> H (072) </p>
<p>Device --> 0 (048) </p>
<p>Device --> 2 (050) </p>
<p>Device --> 3 (051) </p>
<p>Device --> <STX> (002) </p>
<p>Device --> � (254) </p>
<p>Device --> <SOH> (001) </p>
<p>Device --> <SOH> (001) </p>
<p>Device --> <SOH> (001) <br>
Synchronizing ports...Done!</p>
<p>Host --> <ACK> (006) </p>
<p>Device --> <ACK> (006) <sup>C</sup></p>
<p>Note that "port is not open" may happen after hitting cancel button after radio says "ERROR". If you wait for the software to eventually tme out, you may get no response from radio instead.</p>
<p>At this point, it looks like the "port not open" is a chirp bug that is confusing the issue. After you hit cancel, the program apparently closes the port before it is done with it.<br>
There may be a problem with the cable pinout adapter which is being masked by the distraction of chirp's internal bug. The PC is able to hear the radio but I don't think the radio can hear the PC.</p>
<p>Note that yaesu_rw gets stuck in the same place chirpw does. It appears it can also hear the radio but not be heard by the radio. That software, however, does not recognize an FT-1802.</p>
CHIRP - Bug #4409: FT-1802: ERROR: Clone failed: Failed to communicate with the radio: Attempting to use a port that is not openhttps://chirpmyradio.com/issues/4409?journal_id=268032020-09-05T19:26:10ZBernhard Hailerae6yn@arrl.net
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/26803/diff?detail_id=26727">diff</a>)</li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Model affected</strong> changed from <i>FT-1800</i> to <i>Yaesu FT-1800</i></li><li><strong>Platform</strong> changed from <i>Windows</i> to <i>Linux</i></li></ul><p>No more traffic on this ticket. - This is an issue with the driver / cable / connector you are using. There are similar reports here on the wiki; please research them, they may contain a solution for you. (We can reopen if there are reasons to believe that we're dealing with a Chirp issue.)</p>
CHIRP - Bug #4409: FT-1802: ERROR: Clone failed: Failed to communicate with the radio: Attempting to use a port that is not openhttps://chirpmyradio.com/issues/4409?journal_id=268052020-09-05T19:27:59ZBernhard Hailerae6yn@arrl.net
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Feedback</i></li></ul><p>I think I was a bit too quick closing this issue, after having read this again. We will keep this open until a developer can have a look.<br>
Possibly related to <a class="issue tracker-1 status-4 priority-4 priority-default" title="Bug: FT-1802 Fails to upload (Feedback)" href="https://chirpmyradio.com/issues/3025">#3025</a>.</p>