Project

General

Profile

Actions

Bug #1263

closed

Download from UV-B5 on Linux gives "Unexpected response"

Added by Chet Sorbagno about 11 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/21/2013
Due date:
% Done:

100%

Estimated time:
Chirp Version:
daily
Model affected:
UV-B5
Platform:
Linux
Debug Log:
I read the instructions above:

Description

Getting the following error on linux trying to download from the radio for the first time. Chirp on Windows seems to work fine; but I strongly prefer linux. Please advise!

Console output of the failed run is attached.

Some details I hope are helpful:
Chirp daily 20131121 (.tar.gz)
Linux 3.10.9 (Gentoo), Python 2.7.5-r3
lsusb: "Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port"
More detail will be cheerfully provided if needed.


Files

chirp20131121-uvb5-unexpected-response.txt (4.64 KB) chirp20131121-uvb5-unexpected-response.txt Chet Sorbagno, 11/21/2013 12:37 PM
uvb5-0x29.patch (464 Bytes) uvb5-0x29.patch Chet Sorbagno, 11/24/2013 02:23 AM
Actions #1

Updated by Jens Jensen about 11 years ago

For Jim, et al,

I'm also seeing this occasionally on my mac with latest daily, where the ACK is sometimes 0x48 (failing). Other times it's in the expected group of acks (0x78).
Interestingly, for my radio, if I add 0x48 to allowed acks, all of the acks for that session are the same. The data downloads ok, and looks fine.
The next download might be 0x48, or it might be 0x78. I have tried playing with some small sleeps in the do_download function to induce timing behavioral differences, but it doesnt seem to have any noticeable impact. I haven't really figured out a pattern yet…

Actions #2

Updated by Jens Jensen about 11 years ago

a hackish thought occurred - as whatever the radio uses the ack is consistent throughout the download, we could follow this logic:
if the first ack received is not in the "known good" list of acks, use that as the ack for the rest of the session, with the thought that if there was a NAK, it would be different?
(This completely bypasses the obvious question of what do those different acks mean, and why are they different!)

Actions #3

Updated by Chet Sorbagno about 11 years ago

Adding \x29 to that list worked for me similarly with the UV-B5. Trivial patch attached for clarity.

Actions #4

Updated by Jens Jensen about 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

patch in latest daily

Actions #5

Updated by Tyler Tidman almost 9 years ago

This issue has been marked as resolved for about 2 years now. Is it safe to move this to Closed now?

Actions #6

Updated by Jim Unroe almost 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF