OSDN Git Service

Freedom Scientific Braille display driver: make sure to give port strings to fbOpen...
authorMichael Curran <mick@nvaccess.org>
Wed, 27 Nov 2013 05:37:17 +0000 (15:37 +1000)
committerJames Teh <jamie@nvaccess.org>
Thu, 28 Nov 2013 03:11:25 +0000 (13:11 +1000)
source/brailleDisplayDrivers/freedomScientific.py
user_docs/en/changes.t2t

index 6dc3ee6..4d69d57 100755 (executable)
@@ -167,7 +167,7 @@ class BrailleDisplayDriver(braille.BrailleDisplayDriver,ScriptableObject):
                elif port == "bluetooth":\r
                        portsToTry = self._getBluetoothPorts()\r
                else: # USB\r
-                       portsToTry = [port]\r
+                       portsToTry = ["USB"]\r
                fbHandle=-1\r
                for port in portsToTry:\r
                        fbHandle=fbOpen(port,self._messageWindow,nvdaFsBrlWm)\r
index f94a518..14a23e0 100644 (file)
@@ -36,6 +36,7 @@
 - The browse mode cursor is no longer positioned incorrectly when leaving a dialog or application inside the document. (#3145)\r
 - Fixed an issue where the HumanWare Brailliant BI/B series braille display driver wasn't presented as an option in the Braille Settings dialog on some systems, even though such a display was connected via USB.\r
 - NVDA no longer fails  to switch to screen review when the navigator object has no actual screen location. In this case the review cursor is now placed at the top of the screen. (#3454)\r
+- Fixed an issue which caused the Freedom Scientific braille display driver to fail when the port was set to USB in some circumstances. (#3509, #3662)\r
 \r
 \r
 == Changes for Developers ==\r