[BRLTTY] qemu and braille output

Elias Oltmanns eo at nebensachen.de
Sat Nov 9 02:49:17 EST 2013


Hi Samuel,

thanks for your support and sorry about the delayed response. At long
last, I have managed to set up appropriate build environments so I could
do a bit of my own digging.


(2013-10-23) Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
> Elias Oltmanns, le Wed 23 Oct 2013 09:55:21 +0200, a écrit :
>> Well, it is possible to choose BRLTTY as the braille terminal now, alas,
>> I still get no output on the hardware. BRLTTY itself (inside the VM) has
>> been configured to talk to a Baum device via USB.
> 
> Does BRLTTY itself manage to produce output?  Did you let it use auto as
> protocol, or did you specify another protocol?  Could you run the debug
> batch file so we logs about what is happening?

No output from BRLTTY either, I'm afraid. Please find a log attached.

>
>> Also, I have tried the brltty-win-4.5-1 as well as the
>> brltty-win-4.5-1-libusb-1.0 package with no apparent difference. Would
>> I have a reason to choose one rather than the other?
> 
> I have tested both on my windows XP with the qemu-emulated driver, it
> just works in both cases. For other Windows version, I don't know,

In my case, neither of them works. By the way, I had to change
configure.ac so as to make building against libusb-1.0 actually work:

--8<---------------cut here---------------start------------->8---
diff --git a/configure.ac b/configure.ac
index 5765f27..f4ed83b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1304,6 +1304,12 @@ BRLTTY_ARG_PACKAGE([usb], [USB I/O], [libusb libusb-1.0], [dnl
          usb_libs="-lusb"
       ], [], [-])
       ;;
+   libusb-1.0)
+      AC_CHECK_HEADER([libusb.h], [dnl
+         usb_package="libusb-1.0"
+         usb_libs="-lusb"
+      ], [], [-])
+      ;;
 ])
 
 BRLTTY_ARG_PACKAGE([bluetooth], [Bluetooth I/O], [], [dnl
--8<---------------cut here---------------end--------------->8---

The log attached below (libusb-1.0 build of revision 8026) look
perfectly alright to me. You can see that I have switched to and from
terminals and brltty responds as expected, or so it seems, yet there is
no output on my braille device. This makes me wonder whether I can
induce qemu or brltty on the host system to produce some useful logs. Do
you have any suggestions?

Thanks for your help

Elias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug.log
URL: <http://mielke.cc/pipermail/brltty/attachments/20131109/c984b496/attachment.ksh>


More information about the BRLTTY mailing list