Bug #1263
closedDownload from UV-B5 on Linux gives "Unexpected response"
100%
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
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…
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!)
Updated by Chet Sorbagno about 11 years ago
- File uvb5-0x29.patch uvb5-0x29.patch added
Adding \x29 to that list worked for me similarly with the UV-B5. Trivial patch attached for clarity.
Updated by Jens Jensen about 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
patch in latest daily
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?