<div dir="ltr"><div>Aubrey: Thanks for your response. We have some other software on the laptop that works with 16.04 but seemed to become unstable with Ubuntu 18.04, so I stuck with 16.04. I will try it later with 20.04 when it comes out.</div><div><br></div><div>Glenn: Thanks too for your suggestion. Is there any web-page that gives instructions on how to trim the cable properly? <br></div><div><br></div><div>So my current tests have led me to this point:</div><div>1) On a fresh reboot of the computer, I plug in the cable. dmesg records:</div><div>[  236.666847] usb 1-2: new full-speed USB device number 6 using xhci_hcd<br>[  236.815784] usb 1-2: New USB device found, idVendor=067b, idProduct=2303<br>[  236.815792] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br>[  236.815796] usb 1-2: Product: USB-Serial Controller<br>[  236.815800] usb 1-2: Manufacturer: Prolific Technology Inc.<br>[  238.404233] usbcore: registered new interface driver usbserial_generic<br>[  238.404281] usbserial: USB Serial support registered for generic<br>[  238.411330] usbcore: registered new interface driver pl2303<br>[  238.411658] usbserial: USB Serial support registered for pl2303<br>[  238.412585] pl2303 1-2:1.0: pl2303 converter detected<br>[  238.414588] usb 1-2: pl2303 converter now attached to ttyUSB0<br></div><div><br></div><div>and we have<br></div><div>$ la /dev/ttyU*<br>crw-rw---- 1 root dialout 188, 0 Feb 18 09:32 /dev/ttyUSB0<br><br></div><div>2) I start chirpw and select Download from Radio which fails with <br></div><div>[Errno 16] could not open port /dev/ttyUSB0: <br></div><div>[Errno 16] Device or resource busy: &#39;/dev/ttyUSB0&#39;</div><div>dmesg now shows:<br></div>[  308.507632] usb 1-2: reset full-speed USB device number 6 using xhci_hcd<br><div>[  308.635386] usb 1-2: device descriptor read/64, error -71<br>[  308.871081] usb 1-2: device descriptor read/64, error -71<br>[  309.107291] usb 1-2: reset full-speed USB device number 6 using xhci_hcd<br>[  309.235327] usb 1-2: device descriptor read/64, error -71<br>[  309.471350] usb 1-2: device descriptor read/64, error -71<br>[  309.707373] usb 1-2: reset full-speed USB device number 6 using xhci_hcd<br>[  309.707623] usb 1-2: Device not responding to setup address.<br>[  309.915475] usb 1-2: Device not responding to setup address.<br>[  310.123045] usb 1-2: device not accepting address 6, error -71<br>[  310.251215] usb 1-2: reset full-speed USB device number 6 using xhci_hcd<br>[  310.251475] usb 1-2: Device not responding to setup address.<br>[  310.459467] usb 1-2: Device not responding to setup address.<br>[  310.667256] usb 1-2: device not accepting address 6, error -71<br>[  310.667475] usb 1-2: USB disconnect, device number 6<br>[  310.668036] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0<br>[  310.668175] pl2303 1-2:1.0: device disconnected<br>[  310.795035] usb 1-2: new full-speed USB device number 7 using xhci_hcd<br>[  310.923062] usb 1-2: device descriptor read/64, error -71<br>[  311.159198] usb 1-2: device descriptor read/64, error -71<br>[  311.395184] usb 1-2: new full-speed USB device number 8 using xhci_hcd<br>[  311.523271] usb 1-2: device descriptor read/64, error -71<br>[  311.762954] usb 1-2: device descriptor read/64, error -71<br>[  311.871262] usb usb1-port2: attempt power cycle<br>[  312.523242] usb 1-2: new full-speed USB device number 9 using xhci_hcd<br>[  312.523471] usb 1-2: Device not responding to setup address.<br>[  312.731488] usb 1-2: Device not responding to setup address.<br>[  312.939107] usb 1-2: device not accepting address 9, error -71<br>[  313.067232] usb 1-2: new full-speed USB device number 10 using xhci_hcd<br>[  313.067438] usb 1-2: Device not responding to setup address.<br>[  313.275458] usb 1-2: Device not responding to setup address.<br>[  313.483203] usb 1-2: device not accepting address 10, error -71<br>[  313.483329] usb usb1-port2: unable to enumerate USB device</div><div><br></div><div>and /dev/ttyUSB0 has disappeared:<br></div><div><br></div><div>$ la /dev/ttyU*<br>ls: cannot access &#39;/dev/ttyU*&#39;: No such file or directory<br></div><div><br></div><div>As an experiment I tried the exact same thing, but only plugging the USB cable into the computer,  NOT  the radio. This time, on selecting &quot;Download from Radio&quot;, chirpw opens the Cloning.... dialog box for a couple of seconds, then reports: Radio did not respond. Furthermore, /dev/ttyUSB0 does not disappear in this situation.</div><div><br></div><div>BTW, the firmware on my radio is BFB297. Does that have any bearing on what I&#39;m doing?<br><br></div><div>Thanks</div><div><br></div><div>Kheong.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at 11:42 PM Aubrey Turner &lt;<a href="mailto:aubrey.c.turner@gmail.com" target="_blank">aubrey.c.turner@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Just out of curiosity, why did you choose to run such an old
      distribution (16.04) of Ubuntu on a relatively new laptop?</p>
    <p>I just happened to receive a marketing email from Lenovo this
      morning (I&#39;ve bought a few PCs from them in the past) that
      included the Carbon X1 Gen 7 and I looked it up.  It has USB 3.1
      ports (2x Gen 2 Type-C with Thunderbolt and 2x Gen 1).  I&#39;d think
      that you&#39;d need the latest possible version of Ubuntu (and the
      Linux kernel) to support this laptop.  <br>
    </p>
    <p>Looking at the Ubuntu certification page for the Carbon X1, it
      shows as having been tested with Ubuntu 18.04 LTS 64-bit.</p>
    <p>Your symptoms (device appears, disappears, works sometimes but
      not others) could be due to instability in the underlying kernel
      support for the motherboard and/or USB controllers.<br>
    </p>
    <p>Another issue to investigate is the use of USB 3.1 ports.  In the
      past there have been issues with USB 3 ports causing RF
      interference with devices that are connected.  This mostly
      manifests with wireless keyboards and mice, but it wouldn&#39;t
      surprise me if it was an issue here.  The common fix is to use a
      USB extension cable to move the USB device away from the port.<br>
    </p>
    <p><br>
    </p>
    <div>On 2/17/20 7:39 AM, Kheong Sann CHAN
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I had connected the cable, tried to access it from
        chirpw causing it to disconnect a few times, by the time I did
        dmesg. I removed out the multiple connect/disconnect lines from
        dmesg output because the information was mostly duplicate.<br>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at 7:24
          PM Tom Henderson &lt;<a href="mailto:Tom@henderson4.us" target="_blank">Tom@henderson4.us</a>&gt; wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF">
            <p>Just double checking here. The log messages below show
              the cable connecting, and then disconnecting. Had you
              disconnected the cable again before running dmesg, or did
              the cable fail?<br>
            </p>
            <pre cols="72">Tom Henderson</pre>
            <div>On 2/16/20 11:56 PM, Kheong Sann CHAN wrote:<br>
            </div>
            <blockquote type="cite">
              <div>The tty port is found when I plug it in:<br>
              </div>
              <div>$ dmesg | grep tty<br>
                [ 7527.188154] usb 1-2: pl2303 converter now attached to
                ttyUSB0<br>
                [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now <u><b>disconnected</b></u>
                from ttyUSB0</div>
              <div><br>
              </div>
            </blockquote>
          </div>
          _______________________________________________<br>
          chirp_users mailing list<br>
          <a href="mailto:chirp_users@intrepid.danplanet.com" target="_blank">chirp_users@intrepid.danplanet.com</a><br>
          <a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a><br>
          This message was sent to kheong sann at <a href="mailto:kheongsann@gmail.com" target="_blank">kheongsann@gmail.com</a><br>
          To unsubscribe, send an email to <a href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com" target="_blank">chirp_users-unsubscribe@intrepid.danplanet.com</a></blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
chirp_users mailing list
<a href="mailto:chirp_users@intrepid.danplanet.com" target="_blank">chirp_users@intrepid.danplanet.com</a>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a>
This message was sent to Aubrey Turner at <a href="mailto:aubrey.c.turner@gmail.com" target="_blank">aubrey.c.turner@gmail.com</a>
To unsubscribe, send an email to <a href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com" target="_blank">chirp_users-unsubscribe@intrepid.danplanet.com</a></pre>
    </blockquote>
  </div>

_______________________________________________<br>
chirp_users mailing list<br>
<a href="mailto:chirp_users@intrepid.danplanet.com" target="_blank">chirp_users@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a><br>
This message was sent to kheong sann at <a href="mailto:kheongsann@gmail.com" target="_blank">kheongsann@gmail.com</a><br>
To unsubscribe, send an email to <a href="mailto:chirp_users-unsubscribe@intrepid.danplanet.com" target="_blank">chirp_users-unsubscribe@intrepid.danplanet.com</a></blockquote></div>