# radio likes to have port open self.pipe.open()
time.sleep(5)
Hmm, why are you closing and re-opening the serial port? Does the radio need to start within five seconds of opening the port? That would be ...uncool.
So, why wouldn't this solve the problem?
diff -r 0c72e698e212 chirpui/mainapp.py --- a/chirpui/mainapp.py Sun Oct 27 09:00:01 2013 -0700 +++ b/chirpui/mainapp.py Tue Oct 29 16:31:11 2013 -0700 @@ -612,8 +612,6 @@ # User does not want to proceed with experimental driver return
- self._show_instructions(rclass, rclass.get_prompts().pre_download) - print "User selected %s %s on port %s" % (rclass.VENDOR, rclass.MODEL, settings.port) @@ -630,6 +628,8 @@ d.destroy() return
+ self._show_instructions(rclass, rclass.get_prompts().pre_download) + radio = settings.radio_class(ser)
fn = tempfile.mktemp()