[chirp_users] chirp connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
Push the cable in VERY firmly, and try again.
Jardy Dawson WA7JRD
Message sent my....Oh, who the heck cares, anyway? Could be my shoelaces, as far as I care!
On Feb 16, 2020, at 21:58, Kheong Sann CHAN kheongsann@gmail.com wrote:
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jardy at jardy72@yahoo.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Thanks for reply.
I've pushed the cable in at full-strength (into the UV-5R). When I got those results.
On Mon, Feb 17, 2020 at 2:03 PM Jardy via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Push the cable in VERY firmly, and try again.
Jardy Dawson WA7JRD
Message sent my....Oh, who the heck cares, anyway? Could be my shoelaces, as far as I care!
On Feb 16, 2020, at 21:58, Kheong Sann CHAN kheongsann@gmail.com wrote:
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jardy at jardy72@yahoo.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Some folks have to trim off some of the plastic allowing the connectors to go in further. Glenn
----- Original Message ----- From: Kheong Sann CHAN To: Jardy ; Discussion of CHIRP Sent: Monday, February 17, 2020 12:23 AM Subject: Re: [chirp_users] chirp connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1
Thanks for reply.
I've pushed the cable in at full-strength (into the UV-5R). When I got those results.
On Mon, Feb 17, 2020 at 2:03 PM Jardy via chirp_users chirp_users@intrepid.danplanet.com wrote:
Push the cable in VERY firmly, and try again.
Jardy Dawson WA7JRD
Message sent my....Oh, who the heck cares, anyway? Could be my shoelaces, as far as I care!
On Feb 16, 2020, at 21:58, Kheong Sann CHAN kheongsann@gmail.com wrote:
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in:
$ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error:
[Errno 16] could not open port /dev/ttyUSB0:
[Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0:
[Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jardy at jardy72@yahoo.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
------------------------------------------------------------------------------
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Glenn at glennervin@cableone.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
I read here: http://www.miklor.com/COM/UV_Drivers.php that I need to use an old version of the USB driver to work with the Prolific chip set that I have in my cable. That web page gives details on what to do for Windows, but I couldn't find anything for Ubuntu.
Does anyone know how to make sure I am using the correct driver for Ubuntu 16.04, and how to get the correct driver if it isn't?
Thanks
Kheong.
On Mon, Feb 17, 2020 at 2:30 PM K 0 L N Y Glenn glennervin@cableone.net wrote:
Some folks have to trim off some of the plastic allowing the connectors to go in further. Glenn
----- Original Message ----- *From:* Kheong Sann CHAN kheongsann@gmail.com *To:* Jardy jardy72@yahoo.com ; Discussion of CHIRP chirp_users@intrepid.danplanet.com *Sent:* Monday, February 17, 2020 12:23 AM *Subject:* Re: [chirp_users] chirp connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1
Thanks for reply.
I've pushed the cable in at full-strength (into the UV-5R). When I got those results.
On Mon, Feb 17, 2020 at 2:03 PM Jardy via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Push the cable in VERY firmly, and try again.
Jardy Dawson WA7JRD
Message sent my....Oh, who the heck cares, anyway? Could be my shoelaces, as far as I care!
On Feb 16, 2020, at 21:58, Kheong Sann CHAN kheongsann@gmail.com wrote:
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jardy at jardy72@yahoo.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Glenn at glennervin@cableone.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
The problem with Prolific chip sets only affects Windows users.
Something's intermittent.
Can you borrow someone's USB cable?
Send us the output of the command:
users
It should include dialout in that line as /dev/ttyUSB0 belongs to users in that group.
73
DR N1EA
On Mon, Feb 17, 2020, 02:53 Kheong Sann CHAN kheongsann@gmail.com wrote:
I read here: http://www.miklor.com/COM/UV_Drivers.php that I need to use an old version of the USB driver to work with the Prolific chip set that I have in my cable. That web page gives details on what to do for Windows, but I couldn't find anything for Ubuntu.
Does anyone know how to make sure I am using the correct driver for Ubuntu 16.04, and how to get the correct driver if it isn't?
Thanks
Kheong.
On Mon, Feb 17, 2020 at 2:30 PM K 0 L N Y Glenn glennervin@cableone.net wrote:
Some folks have to trim off some of the plastic allowing the connectors to go in further. Glenn
----- Original Message ----- *From:* Kheong Sann CHAN kheongsann@gmail.com *To:* Jardy jardy72@yahoo.com ; Discussion of CHIRP chirp_users@intrepid.danplanet.com *Sent:* Monday, February 17, 2020 12:23 AM *Subject:* Re: [chirp_users] chirp connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1
Thanks for reply.
I've pushed the cable in at full-strength (into the UV-5R). When I got those results.
On Mon, Feb 17, 2020 at 2:03 PM Jardy via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Push the cable in VERY firmly, and try again.
Jardy Dawson WA7JRD
Message sent my....Oh, who the heck cares, anyway? Could be my shoelaces, as far as I care!
On Feb 16, 2020, at 21:58, Kheong Sann CHAN kheongsann@gmail.com wrote:
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jardy at jardy72@yahoo.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Glenn at glennervin@cableone.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to D.J.J. Ring, Jr. at n1ea@arrl.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Thanks for the info. You are correct that something is intermittent. I followed the steps here: https://www.buytwowayradios.com/blog/2013/11/how_to_install_the_baofeng_usb_...
and managed to get the download from the UV-5R working once. But after disconnecting, rebooting and trying again, I am no longer able to download from the radio getting [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
The output of $ users kheong
and
$ groups kheong adm dialout cdrom sudo dip plugdev lpadmin sambashare
I don't have access to anybody else's cable, I'm in Singapore right and I don't know any ham's around here. I'm thinking to buy another cable, but with this corona virus thing, it may take a long time for merchandise to arrive from China.
This setup, (the radios and cable) I bought many years ago and I was able to get it working back then on a different computer. But then I put it into storage until this COVID-2019 thing flared up recently causing people to panic-buying and I felt I should get my radios out of the closet and make sure everything is working properly again. Maybe after sitting in storage so long, the cable has deteriorated....
On Mon, Feb 17, 2020 at 6:35 PM D.J.J. Ring, Jr. n1ea@arrl.net wrote:
The problem with Prolific chip sets only affects Windows users.
Something's intermittent.
Can you borrow someone's USB cable?
Send us the output of the command:
users
It should include dialout in that line as /dev/ttyUSB0 belongs to users in that group.
73
DR N1EA
On Mon, Feb 17, 2020, 02:53 Kheong Sann CHAN kheongsann@gmail.com wrote:
I read here: http://www.miklor.com/COM/UV_Drivers.php that I need to use an old version of the USB driver to work with the Prolific chip set that I have in my cable. That web page gives details on what to do for Windows, but I couldn't find anything for Ubuntu.
Does anyone know how to make sure I am using the correct driver for Ubuntu 16.04, and how to get the correct driver if it isn't?
Thanks
Kheong.
On Mon, Feb 17, 2020 at 2:30 PM K 0 L N Y Glenn glennervin@cableone.net wrote:
Some folks have to trim off some of the plastic allowing the connectors to go in further. Glenn
----- Original Message ----- *From:* Kheong Sann CHAN kheongsann@gmail.com *To:* Jardy jardy72@yahoo.com ; Discussion of CHIRP chirp_users@intrepid.danplanet.com *Sent:* Monday, February 17, 2020 12:23 AM *Subject:* Re: [chirp_users] chirp connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1
Thanks for reply.
I've pushed the cable in at full-strength (into the UV-5R). When I got those results.
On Mon, Feb 17, 2020 at 2:03 PM Jardy via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Push the cable in VERY firmly, and try again.
Jardy Dawson WA7JRD
Message sent my....Oh, who the heck cares, anyway? Could be my shoelaces, as far as I care!
On Feb 16, 2020, at 21:58, Kheong Sann CHAN kheongsann@gmail.com wrote:
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jardy at jardy72@yahoo.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Glenn at glennervin@cableone.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to D.J.J. Ring, Jr. at n1ea@arrl.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Add your user to the dialout group. Jim KC9HI
On Mon, Feb 17, 2020, 12:58 AM Kheong Sann CHAN kheongsann@gmail.com wrote:
I'm trying to connect to a UV-5R using a USB cable that was bought some time (maybe 5-10 years) ago, using chirpw on ubuntu 16.04.
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 17 13:49 /dev/ttyUSB0
When I start chirpw and try to download from radio, the error is not consistent, it depends on whether I've tried it before or not. Sometimes I get the error: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0'
and /dev/ttyUSB0 disappears.
Another time after I unplugged and replugged the USB cable and restarted chirpw, /dev/ttyUSB0 reappears and when I try to download from radio I get: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'
Any advice on how to troubleshoot this?
Kheong.
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jim at rock.unroe@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
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?
Tom Henderson
On 2/16/20 11:56 PM, Kheong Sann CHAN wrote:
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now _*disconnected*_ from ttyUSB0
A few years ago I bought a cable that didn't work, the USB connector was poorly soldered, open it and carefuly review it.
73's
El lun., 17 feb. 2020 a las 12:24, Tom Henderson (Tom@henderson4.us) escribió:
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?
Tom Henderson
On 2/16/20 11:56 PM, Kheong Sann CHAN wrote:
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now *disconnected* from ttyUSB0
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Ernesto Xload at xload.es@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
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.
On Mon, Feb 17, 2020 at 7:24 PM Tom Henderson Tom@henderson4.us wrote:
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?
Tom Henderson
On 2/16/20 11:56 PM, Kheong Sann CHAN wrote:
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now *disconnected* from ttyUSB0
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
I would try shaving off some of the plastic so the pins go in further. Glenn ----- Original Message ----- From: Kheong Sann CHAN To: Discussion of CHIRP Sent: Monday, February 17, 2020 7:39 AM Subject: Re: [chirp_users] chirp connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1
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.
On Mon, Feb 17, 2020 at 7:24 PM Tom Henderson Tom@henderson4.us wrote:
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?
Tom HendersonOn 2/16/20 11:56 PM, Kheong Sann CHAN wrote:
The tty port is found when I plug it in:
$ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
------------------------------------------------------------------------------
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Glenn at glennervin@cableone.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Just out of curiosity, why did you choose to run such an old distribution (16.04) of Ubuntu on a relatively new laptop?
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.
Looking at the Ubuntu certification page for the Carbon X1, it shows as having been tested with Ubuntu 18.04 LTS 64-bit.
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.
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.
On 2/17/20 7:39 AM, Kheong Sann CHAN wrote:
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.
On Mon, Feb 17, 2020 at 7:24 PM Tom Henderson <Tom@henderson4.us mailto:Tom@henderson4.us> wrote:
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? Tom Henderson On 2/16/20 11:56 PM, Kheong Sann CHAN wrote:
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now _*disconnected*_ from ttyUSB0
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com <mailto:chirp_users@intrepid.danplanet.com> http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com <mailto:kheongsann@gmail.com> To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com <mailto:chirp_users-unsubscribe@intrepid.danplanet.com>
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Aubrey Turner at aubrey.c.turner@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
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.
Glenn: Thanks too for your suggestion. Is there any web-page that gives instructions on how to trim the cable properly?
So my current tests have led me to this point: 1) On a fresh reboot of the computer, I plug in the cable. dmesg records: [ 236.666847] usb 1-2: new full-speed USB device number 6 using xhci_hcd [ 236.815784] usb 1-2: New USB device found, idVendor=067b, idProduct=2303 [ 236.815792] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 236.815796] usb 1-2: Product: USB-Serial Controller [ 236.815800] usb 1-2: Manufacturer: Prolific Technology Inc. [ 238.404233] usbcore: registered new interface driver usbserial_generic [ 238.404281] usbserial: USB Serial support registered for generic [ 238.411330] usbcore: registered new interface driver pl2303 [ 238.411658] usbserial: USB Serial support registered for pl2303 [ 238.412585] pl2303 1-2:1.0: pl2303 converter detected [ 238.414588] usb 1-2: pl2303 converter now attached to ttyUSB0
and we have $ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 18 09:32 /dev/ttyUSB0
2) I start chirpw and select Download from Radio which fails with [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0' dmesg now shows: [ 308.507632] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 308.635386] usb 1-2: device descriptor read/64, error -71 [ 308.871081] usb 1-2: device descriptor read/64, error -71 [ 309.107291] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 309.235327] usb 1-2: device descriptor read/64, error -71 [ 309.471350] usb 1-2: device descriptor read/64, error -71 [ 309.707373] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 309.707623] usb 1-2: Device not responding to setup address. [ 309.915475] usb 1-2: Device not responding to setup address. [ 310.123045] usb 1-2: device not accepting address 6, error -71 [ 310.251215] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 310.251475] usb 1-2: Device not responding to setup address. [ 310.459467] usb 1-2: Device not responding to setup address. [ 310.667256] usb 1-2: device not accepting address 6, error -71 [ 310.667475] usb 1-2: USB disconnect, device number 6 [ 310.668036] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0 [ 310.668175] pl2303 1-2:1.0: device disconnected [ 310.795035] usb 1-2: new full-speed USB device number 7 using xhci_hcd [ 310.923062] usb 1-2: device descriptor read/64, error -71 [ 311.159198] usb 1-2: device descriptor read/64, error -71 [ 311.395184] usb 1-2: new full-speed USB device number 8 using xhci_hcd [ 311.523271] usb 1-2: device descriptor read/64, error -71 [ 311.762954] usb 1-2: device descriptor read/64, error -71 [ 311.871262] usb usb1-port2: attempt power cycle [ 312.523242] usb 1-2: new full-speed USB device number 9 using xhci_hcd [ 312.523471] usb 1-2: Device not responding to setup address. [ 312.731488] usb 1-2: Device not responding to setup address. [ 312.939107] usb 1-2: device not accepting address 9, error -71 [ 313.067232] usb 1-2: new full-speed USB device number 10 using xhci_hcd [ 313.067438] usb 1-2: Device not responding to setup address. [ 313.275458] usb 1-2: Device not responding to setup address. [ 313.483203] usb 1-2: device not accepting address 10, error -71 [ 313.483329] usb usb1-port2: unable to enumerate USB device
and /dev/ttyUSB0 has disappeared:
$ la /dev/ttyU* ls: cannot access '/dev/ttyU*': No such file or directory
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.
BTW, the firmware on my radio is BFB297. Does that have any bearing on what I'm doing?
Thanks
Kheong.
On Mon, Feb 17, 2020 at 11:42 PM Aubrey Turner aubrey.c.turner@gmail.com wrote:
Just out of curiosity, why did you choose to run such an old distribution (16.04) of Ubuntu on a relatively new laptop?
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.
Looking at the Ubuntu certification page for the Carbon X1, it shows as having been tested with Ubuntu 18.04 LTS 64-bit.
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.
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.
On 2/17/20 7:39 AM, Kheong Sann CHAN wrote:
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.
On Mon, Feb 17, 2020 at 7:24 PM Tom Henderson Tom@henderson4.us wrote:
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?
Tom Henderson
On 2/16/20 11:56 PM, Kheong Sann CHAN wrote:
The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now *disconnected* from ttyUSB0
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing listchirp_users@intrepid.danplanet.comhttp://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Aubrey Turner at aubrey.c.turner@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Hi, This is a message Jim sent some time back and I saved it: Glenn
The #2 cause of trouble for Baofeng radios is the 2-pin plug is not fully inserted into the speaker/mic socket of the radio. This is especially common for radios with the GT-3 style case. There is a raised ridge around the socket well that contacts the plastic shell of the 2-pin plug which keeps the pins from being fully inserted. The work around for this is to trim away the part of the plastic shell that the ridge of the case is interfering with. This page (scroll down to the GTE section) has pictures of the problem and they show needs to be done to eliminate the interference (click on the picture to see a larger version that is easier to see).
http://www.miklor.com/COM/UV_ErrorMess.php#error1
----- Original Message ----- From: Kheong Sann CHAN To: Discussion of CHIRP Sent: Monday, February 17, 2020 7:51 PM Subject: Re: [chirp_users] chirp connecting to UV-5R from Ubuntu 16.04 on Lenovo Carbon X1
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.
Glenn: Thanks too for your suggestion. Is there any web-page that gives instructions on how to trim the cable properly?
So my current tests have led me to this point: 1) On a fresh reboot of the computer, I plug in the cable. dmesg records: [ 236.666847] usb 1-2: new full-speed USB device number 6 using xhci_hcd [ 236.815784] usb 1-2: New USB device found, idVendor=067b, idProduct=2303 [ 236.815792] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 236.815796] usb 1-2: Product: USB-Serial Controller [ 236.815800] usb 1-2: Manufacturer: Prolific Technology Inc. [ 238.404233] usbcore: registered new interface driver usbserial_generic [ 238.404281] usbserial: USB Serial support registered for generic [ 238.411330] usbcore: registered new interface driver pl2303 [ 238.411658] usbserial: USB Serial support registered for pl2303 [ 238.412585] pl2303 1-2:1.0: pl2303 converter detected [ 238.414588] usb 1-2: pl2303 converter now attached to ttyUSB0
and we have
$ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 18 09:32 /dev/ttyUSB0
2) I start chirpw and select Download from Radio which fails with
[Errno 16] could not open port /dev/ttyUSB0:
[Errno 16] Device or resource busy: '/dev/ttyUSB0' dmesg now shows:
[ 308.507632] usb 1-2: reset full-speed USB device number 6 using xhci_hcd
[ 308.635386] usb 1-2: device descriptor read/64, error -71 [ 308.871081] usb 1-2: device descriptor read/64, error -71 [ 309.107291] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 309.235327] usb 1-2: device descriptor read/64, error -71 [ 309.471350] usb 1-2: device descriptor read/64, error -71 [ 309.707373] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 309.707623] usb 1-2: Device not responding to setup address. [ 309.915475] usb 1-2: Device not responding to setup address. [ 310.123045] usb 1-2: device not accepting address 6, error -71 [ 310.251215] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 310.251475] usb 1-2: Device not responding to setup address. [ 310.459467] usb 1-2: Device not responding to setup address. [ 310.667256] usb 1-2: device not accepting address 6, error -71 [ 310.667475] usb 1-2: USB disconnect, device number 6 [ 310.668036] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0 [ 310.668175] pl2303 1-2:1.0: device disconnected [ 310.795035] usb 1-2: new full-speed USB device number 7 using xhci_hcd [ 310.923062] usb 1-2: device descriptor read/64, error -71 [ 311.159198] usb 1-2: device descriptor read/64, error -71 [ 311.395184] usb 1-2: new full-speed USB device number 8 using xhci_hcd [ 311.523271] usb 1-2: device descriptor read/64, error -71 [ 311.762954] usb 1-2: device descriptor read/64, error -71 [ 311.871262] usb usb1-port2: attempt power cycle [ 312.523242] usb 1-2: new full-speed USB device number 9 using xhci_hcd [ 312.523471] usb 1-2: Device not responding to setup address. [ 312.731488] usb 1-2: Device not responding to setup address. [ 312.939107] usb 1-2: device not accepting address 9, error -71 [ 313.067232] usb 1-2: new full-speed USB device number 10 using xhci_hcd [ 313.067438] usb 1-2: Device not responding to setup address. [ 313.275458] usb 1-2: Device not responding to setup address. [ 313.483203] usb 1-2: device not accepting address 10, error -71 [ 313.483329] usb usb1-port2: unable to enumerate USB device
and /dev/ttyUSB0 has disappeared:
$ la /dev/ttyU* ls: cannot access '/dev/ttyU*': No such file or directory
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.
BTW, the firmware on my radio is BFB297. Does that have any bearing on what I'm doing?
Thanks
Kheong.
On Mon, Feb 17, 2020 at 11:42 PM Aubrey Turner aubrey.c.turner@gmail.com wrote:
Just out of curiosity, why did you choose to run such an old distribution (16.04) of Ubuntu on a relatively new laptop?
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.
Looking at the Ubuntu certification page for the Carbon X1, it shows as having been tested with Ubuntu 18.04 LTS 64-bit.
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.
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.
On 2/17/20 7:39 AM, Kheong Sann CHAN wrote:
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.
On Mon, Feb 17, 2020 at 7:24 PM Tom Henderson Tom@henderson4.us wrote:
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?
Tom HendersonOn 2/16/20 11:56 PM, Kheong Sann CHAN wrote:
The tty port is found when I plug it in:
$ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Aubrey Turner at aubrey.c.turner@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
------------------------------------------------------------------------------
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Glenn at glennervin@cableone.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Error 71 is EPROTO. According to the Linux USB info I found, this usually indicates some sort of hardware problem with the device.
https://www.kernel.org/doc/html/latest/driver-api/usb/error-codes.html
As per the footnote for -71:
Error codes like -EPROTO, -EILSEQ and -EOVERFLOW normally indicate hardware problems such as bad devices (including firmware) or cables.
It’s interesting to note that the error happens when transmission is attempted.
So it’s suggesting a hardware issue, but there is the potential for it to be an issue with the underlying USB controller drivers.
On Feb 17, 2020, at 7:51 PM, Kheong Sann CHAN kheongsann@gmail.com wrote:
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.
Glenn: Thanks too for your suggestion. Is there any web-page that gives instructions on how to trim the cable properly?
So my current tests have led me to this point:
- On a fresh reboot of the computer, I plug in the cable. dmesg records:
[ 236.666847] usb 1-2: new full-speed USB device number 6 using xhci_hcd [ 236.815784] usb 1-2: New USB device found, idVendor=067b, idProduct=2303 [ 236.815792] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 236.815796] usb 1-2: Product: USB-Serial Controller [ 236.815800] usb 1-2: Manufacturer: Prolific Technology Inc. [ 238.404233] usbcore: registered new interface driver usbserial_generic [ 238.404281] usbserial: USB Serial support registered for generic [ 238.411330] usbcore: registered new interface driver pl2303 [ 238.411658] usbserial: USB Serial support registered for pl2303 [ 238.412585] pl2303 1-2:1.0: pl2303 converter detected [ 238.414588] usb 1-2: pl2303 converter now attached to ttyUSB0
and we have $ la /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Feb 18 09:32 /dev/ttyUSB0
- I start chirpw and select Download from Radio which fails with
[Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: '/dev/ttyUSB0' dmesg now shows: [ 308.507632] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 308.635386] usb 1-2: device descriptor read/64, error -71 [ 308.871081] usb 1-2: device descriptor read/64, error -71 [ 309.107291] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 309.235327] usb 1-2: device descriptor read/64, error -71 [ 309.471350] usb 1-2: device descriptor read/64, error -71 [ 309.707373] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 309.707623] usb 1-2: Device not responding to setup address. [ 309.915475] usb 1-2: Device not responding to setup address. [ 310.123045] usb 1-2: device not accepting address 6, error -71 [ 310.251215] usb 1-2: reset full-speed USB device number 6 using xhci_hcd [ 310.251475] usb 1-2: Device not responding to setup address. [ 310.459467] usb 1-2: Device not responding to setup address. [ 310.667256] usb 1-2: device not accepting address 6, error -71 [ 310.667475] usb 1-2: USB disconnect, device number 6 [ 310.668036] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0 [ 310.668175] pl2303 1-2:1.0: device disconnected [ 310.795035] usb 1-2: new full-speed USB device number 7 using xhci_hcd [ 310.923062] usb 1-2: device descriptor read/64, error -71 [ 311.159198] usb 1-2: device descriptor read/64, error -71 [ 311.395184] usb 1-2: new full-speed USB device number 8 using xhci_hcd [ 311.523271] usb 1-2: device descriptor read/64, error -71 [ 311.762954] usb 1-2: device descriptor read/64, error -71 [ 311.871262] usb usb1-port2: attempt power cycle [ 312.523242] usb 1-2: new full-speed USB device number 9 using xhci_hcd [ 312.523471] usb 1-2: Device not responding to setup address. [ 312.731488] usb 1-2: Device not responding to setup address. [ 312.939107] usb 1-2: device not accepting address 9, error -71 [ 313.067232] usb 1-2: new full-speed USB device number 10 using xhci_hcd [ 313.067438] usb 1-2: Device not responding to setup address. [ 313.275458] usb 1-2: Device not responding to setup address. [ 313.483203] usb 1-2: device not accepting address 10, error -71 [ 313.483329] usb usb1-port2: unable to enumerate USB device
and /dev/ttyUSB0 has disappeared:
$ la /dev/ttyU* ls: cannot access '/dev/ttyU*': No such file or directory
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.
BTW, the firmware on my radio is BFB297. Does that have any bearing on what I'm doing?
Thanks
Kheong.
On Mon, Feb 17, 2020 at 11:42 PM Aubrey Turner aubrey.c.turner@gmail.com wrote: Just out of curiosity, why did you choose to run such an old distribution (16.04) of Ubuntu on a relatively new laptop?
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.
Looking at the Ubuntu certification page for the Carbon X1, it shows as having been tested with Ubuntu 18.04 LTS 64-bit.
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.
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.
On 2/17/20 7:39 AM, Kheong Sann CHAN wrote:
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.
On Mon, Feb 17, 2020 at 7:24 PM Tom Henderson Tom@henderson4.us wrote:
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?
Tom Henderson
On 2/16/20 11:56 PM, Kheong Sann CHAN wrote: The tty port is found when I plug it in: $ dmesg | grep tty [ 7527.188154] usb 1-2: pl2303 converter now attached to ttyUSB0 [ 7548.490452] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Aubrey Turner at aubrey.c.turner@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to kheong sann at kheongsann@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Aubrey Turner at aubrey.c.turner@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
participants (8)
-
Aubrey Turner
-
D.J.J. Ring, Jr.
-
Ernesto Xload
-
Jardy
-
Jim Unroe
-
K 0 L N Y Glenn
-
Kheong Sann CHAN
-
Tom Henderson