<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.19597">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial>This is a message Jim sent some time back and I
saved it:</FONT></DIV>
<DIV><FONT size=2 face=Arial>Glenn</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>The #2 cause of trouble for Baofeng radios is the 2-pin plug is
not<BR>fully inserted into the speaker/mic socket of the radio. This
is<BR>especially common for radios with the GT-3 style case. There is
a<BR>raised ridge around the socket well that contacts the plastic shell
of<BR>the 2-pin plug which keeps the pins from being fully inserted. The<BR>work
around for this is to trim away the part of the plastic shell<BR>that the ridge
of the case is interfering with. This page (scroll down<BR>to the GTE section)
has pictures of the problem and they show needs to<BR>be done to eliminate the
interference (click on the picture to see a<BR>larger version that is easier to
see).<BR><BR><A
href="http://www.miklor.com/COM/UV_ErrorMess.php#error1">http://www.miklor.com/COM/UV_ErrorMess.php#error1</A><BR><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; PADDING-RIGHT: 0px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=kheongsann@gmail.com href="mailto:kheongsann@gmail.com">Kheong Sann
CHAN</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=chirp_users@intrepid.danplanet.com
href="mailto:chirp_users@intrepid.danplanet.com">Discussion of CHIRP</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 17, 2020 7:51
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [chirp_users] chirp
connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1</DIV>
<DIV><BR></DIV>
<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: '/dev/ttyUSB0'</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 '/dev/ttyU*': 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 "Download from
Radio", 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'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 class=gmail_attr dir=ltr>On Mon, Feb 17, 2020 at 11:42 PM Aubrey Turner
<<A href="mailto:aubrey.c.turner@gmail.com"
target=_blank>aubrey.c.turner@gmail.com</A>> wrote:<BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<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'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'd think that you'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'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 class=gmail_attr dir=ltr>On Mon, Feb 17, 2020 at 7:24 PM Tom
Henderson <<A href="mailto:Tom@henderson4.us"
target=_blank>Tom@henderson4.us</A>> wrote:<BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<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>
<P>
<HR>
<P></P>_______________________________________________<BR>chirp_users mailing
list<BR>chirp_users@intrepid.danplanet.com<BR>http://intrepid.danplanet.com/mailman/listinfo/chirp_users<BR>This
message was sent to Glenn at glennervin@cableone.net<BR>To unsubscribe, send
an email to
chirp_users-unsubscribe@intrepid.danplanet.com</BLOCKQUOTE></BODY></HTML>