b8b88e456aRun btcheck before attempting to open the serial port; that will not actually solve problems, but it will at least help prevent us from getting into the open()-failed state that hangs the process and eventually the machine. Normalize device names.