[chirp_devel] [PATCH][ft2900] Add msg for attempt to upload to locked radio Fixes #3055
# HG changeset patch # User Richard Cochran ag6qr@sonic.net # Date 1450752529 28800 # Mon Dec 21 18:48:49 2015 -0800 # Node ID 03a1993bebeb4b1f1137e701863915444ecacdb3 # Parent 8df79446b79c2e08e0988ab156a3b371623d656a [FT-2900/FT-1900] Add msg for attempt to upload to locked radio Fixes #3055 A FT-2900/FT-1900 may be "locked" preventing configuration changes. An upload will fail if this is the case. This patch adds some text to the upload dialog box to help the user avoid attempting to upload to a "locked" radio. It also adds some text to the error message to suggest the user check to make sure his radio is not locked.
diff -r 8df79446b79c -r 03a1993bebeb chirp/drivers/ft2900.py --- a/chirp/drivers/ft2900.py Sat Dec 19 13:31:26 2015 -0800 +++ b/chirp/drivers/ft2900.py Mon Dec 21 18:48:49 2015 -0800 @@ -132,7 +132,10 @@ ack = radio.pipe.read(300) LOG.debug("Ack was (%i):\n%s" % (len(ack), util.hexprint(ack))) if ack != ACK: - raise Exception("Radio did not ack ID") + raise Exception("Radio did not ack ID. Check cable, " + "verify radio is not locked.\n" + " (press & Hold red "*L" button to " + "unlock radio if needed)")
block = 0 cs = INITIAL_CHECKSUM @@ -637,7 +640,12 @@ 2. Connect data cable. 3. While holding "A/N LOW" button, turn radio on. 4. Press "MW D/MR" to receive image. - 5. Click OK to dismiss this dialog and start transfer.""")) + 5. Make sure display says "-WAIT-" (see note below if not) + 6. Click OK to dismiss this dialog and start transfer. + + Note: if you don't see "-WAIT-" at step 5, try cycling + power and pressing and holding red "*L" button to unlock + radio, then start back at step 1.""")) return rp
# HG changeset patch # User Richard Cochran ag6qr@sonic.net # Date 1450752529 28800 # Mon Dec 21 18:48:49 2015 -0800 # Node ID 03a1993bebeb4b1f1137e701863915444ecacdb3 # Parent 8df79446b79c2e08e0988ab156a3b371623d656a
This still fails to apply for me, presumably because it's just pasted into your mailer.
--Dan
participants (2)
-
Dan Smith
-
Richard Cochran