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 <[email protected]> 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
BRLTTY 4.5dev [http://mielke.cc/brltty/]
brltty.exe: program exit event added: queue
brltty.exe: program exit event added: screens
brltty.exe: Working Directory: C:\Program Files\BRLTTY
brltty.exe: Writable Directory: C:/Program Files/BRLTTY/bin/../var/run/brltty
brltty.exe: Configuration File: C:/Program Files/BRLTTY/bin/../etc/brltty.conf
brltty.exe: Preferences File: brltty.prefs
brltty.exe: regions: text=0.0 status=0.0
brltty.exe: shifts: full=1 half=0 vertical=5
brltty.exe: Drivers Directory: C:/Program Files/BRLTTY/bin/../lib/brltty
brltty.exe: Tables Directory: C:/Program Files/BRLTTY/bin/../etc/brltty
brltty.exe: program exit event added: global-data-variables
brltty.exe: checking for text table: C:/Program
Files/BRLTTY/bin/../etc/brltty/de_DE.ttb
brltty.exe: checking for text table: C:/Program
Files/BRLTTY/bin/../etc/brltty/de.ttb
brltty.exe: compiling text table: C:/Program
Files/BRLTTY/bin/../etc/brltty/de.ttb
brltty.exe: file opened: C:/Program Files/BRLTTY/bin/../etc/brltty/de.ttb fd=3
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/de.ttb
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/letters-latin.tti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/letters-latin.tti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/control-latin.tti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/control-latin.tti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/numbers-dot6.tti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/numbers-dot6.tti
brltty.exe: file opened: C:/Program Files/BRLTTY/bin/../etc/brltty/common.tti
fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/common.tti
brltty.exe: file opened: C:/Program Files/BRLTTY/bin/../etc/brltty/spaces.tti
fd=5
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/spaces.tti
brltty.exe: file opened: C:/Program Files/BRLTTY/bin/../etc/brltty/boxes.tti
fd=5
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/boxes.tti
brltty.exe: file opened: C:/Program Files/BRLTTY/bin/../etc/brltty/blocks.tti
fd=5
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/blocks.tti
brltty.exe: Text Table: de
brltty.exe: program exit event added: text-table
brltty.exe: Attributes Table: left_right
brltty.exe: program exit event added: attributes-table
brltty.exe: program exit event added: contraction-table
brltty.exe: Contraction Table: none
brltty.exe: program exit event added: keyboard-key-table
brltty.exe: Keyboard Key Table: none
brltty.exe: Keyboard Property: type=
brltty.exe: Keyboard Property: vendor=
brltty.exe: Keyboard Property: product=
brltty.exe: checking for screen driver: wn
brltty.exe: initializing screen driver: wn
brltty.exe: Screen Driver: wn [Windows]
brltty.exe: Windows Screen Driver:
brltty.exe: Screen Parameter: root=
brltty.exe: Screen Parameter: followfocus=
brltty.exe: BrlAPI Server: release 0.6.0
brltty.exe: API Parameter: auth=
brltty.exe: API Parameter: host=
brltty.exe: API Parameter: retaindots=
brltty.exe: API Parameter: stacksize=
brltty.exe: program exit event added: api-server
brltty.exe: program exit event added: braille-driver
brltty.exe: checking braille device: USB:
brltty.exe: performing braille driver autodetection
brltty.exe: checking for braille driver: al
brltty.exe: initializing braille driver: al -> USB:
brltty.exe: server thread started
brltty.exe: creating socket: 0 (LOCAL:0)
brltty.exe: CreateFile -> 00000170
brltty.exe: Event -> 00000174
brltty.exe: socket 0 created (fd 00000170)
brltty.exe: socket creation started: 1
brltty.exe: creating socket: 1 (127.0.0.1:4101)
brltty.exe: Event -> 00000188
brltty.exe: socket 1 created (fd 00000184)
brltty.exe: socket creation finished: 1
brltty.exe: USB: testing: vendor=8086 product=7020
brltty.exe: USB: testing: vendor=0403 product=FE72
brltty.exe: USB device not found
brltty.exe: braille driver initialization failed: al -> USB:
brltty.exe: checking for braille driver: bm
brltty.exe: initializing braille driver: bm -> USB:
brltty.exe: USB: testing: vendor=8086 product=7020
brltty.exe: USB: testing: vendor=0403 product=FE72
brltty.exe: usbDisableAutosuspend error 40: Function not implemented.
brltty.exe: USB: ept=81 dir=in xfr=blk pkt=64 ivl=0ms
brltty.exe: USB: ept=02 dir=out xfr=blk pkt=64 ivl=0ms
brltty.exe: USB Language: 409
brltty.exe: USB: Manufacturer Name: QEMU 1.0
brltty.exe: USB: Product Description: QEMU USB BRAILLE
brltty.exe: USB: Serial Number: 1
brltty.exe: probing with Baum protocol
brltty.exe: FTDI Request: 03 809C 0000
brltty.exe: FTDI Request: 04 0008 0000
brltty.exe: FTDI Request: 02 0000 0000
brltty.exe: Ignored Byte: B1
brltty.exe: Ignored Byte: 00
brltty.exe: Baum Device Identity: Baum Vario40
brltty.exe: Baum Serial Number: 00000000
brltty.exe: Cell Count: 40 (40 text, 0 status)
brltty.exe: Braille Display Dimensions: 1 row, 40 columns
brltty.exe: regions: text=0.40 status=0.0
brltty.exe: shifts: full=40 half=20 vertical=5
brltty.exe: Key Bindings: default
brltty.exe: program exit event added: sorted-command-table
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb fd=3
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti
brltty.exe: program exit event added: sorted-keyboard-functions
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti
brltty.exe: Key Table: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: api link
brltty.exe: Braille Driver: bm [Baum]
brltty.exe: Baum Braille Driver:
brltty.exe: Braille Parameter: protocols=
brltty.exe: Braille Parameter: variokeys=
brltty.exe: Braille Device: USB:
brltty.exe: Old Preferences File: ../etc/brltty-bm.prefs
brltty.exe: cannot open file: ../etc/brltty-bm.prefs: No such file or directory
brltty.exe: regions: text=0.40 status=0.0
brltty.exe: shifts: full=40 half=20 vertical=5
brltty.exe: beeper enabled
brltty.exe: program exit event added: tunes
brltty.exe: tone: msec=60 note=64
brltty.exe: tone: msec=100 note=69
brltty.exe: program exit event added: sessions
brltty.exe: pushed command environment: main
brltty.exe: pushed command handler: unhandled
brltty.exe: pushed command handler: navigation
brltty.exe: pushed command handler: screen
brltty.exe: api unlink
brltty.exe: pushed command environment: message
brltty.exe: pushed command handler: message
brltty.exe: beeper disabled
brltty.exe: popped command handler: message
brltty.exe: popped command environment: message
brltty.exe: api link
brltty.exe: suspending braille driver
brltty.exe: braille driver suspended
brltty.exe: driver suspended
brltty.exe: resuming braille driver
brltty.exe: USB: testing: vendor=8086 product=7020
brltty.exe: USB: testing: vendor=0403 product=FE72
brltty.exe: usbDisableAutosuspend error 40: Function not implemented.
brltty.exe: USB: ept=81 dir=in xfr=blk pkt=64 ivl=0ms
brltty.exe: USB: ept=02 dir=out xfr=blk pkt=64 ivl=0ms
brltty.exe: USB Language: 409
brltty.exe: USB: Manufacturer Name: QEMU 1.0
brltty.exe: USB: Product Description: QEMU USB BRAILLE
brltty.exe: USB: Serial Number: 1
brltty.exe: probing with Baum protocol
brltty.exe: FTDI Request: 03 809C 0000
brltty.exe: FTDI Request: 04 0008 0000
brltty.exe: FTDI Request: 02 0000 0000
brltty.exe: Ignored Byte: B1
brltty.exe: Ignored Byte: 00
brltty.exe: Baum Device Identity: Baum Vario40
brltty.exe: Baum Serial Number: 00000000
brltty.exe: Cell Count: 40 (40 text, 0 status)
brltty.exe: Braille Display Dimensions: 1 row, 40 columns
brltty.exe: regions: text=0.40 status=0.0
brltty.exe: shifts: full=40 half=20 vertical=5
brltty.exe: Key Bindings: default
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb fd=3
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti
brltty.exe: Key Table: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: driver resumed
brltty.exe: braille driver resumed
brltty.exe: suspending braille driver
brltty.exe: braille driver suspended
brltty.exe: driver suspended
brltty.exe: resuming braille driver
brltty.exe: USB: testing: vendor=8086 product=7020
brltty.exe: USB: testing: vendor=0403 product=FE72
brltty.exe: usbDisableAutosuspend error 40: Function not implemented.
brltty.exe: USB: ept=81 dir=in xfr=blk pkt=64 ivl=0ms
brltty.exe: USB: ept=02 dir=out xfr=blk pkt=64 ivl=0ms
brltty.exe: USB Language: 409
brltty.exe: USB: Manufacturer Name: QEMU 1.0
brltty.exe: USB: Product Description: QEMU USB BRAILLE
brltty.exe: USB: Serial Number: 1
brltty.exe: probing with Baum protocol
brltty.exe: FTDI Request: 03 809C 0000
brltty.exe: FTDI Request: 04 0008 0000
brltty.exe: FTDI Request: 02 0000 0000
brltty.exe: Ignored Byte: B1
brltty.exe: Ignored Byte: 00
brltty.exe: Baum Device Identity: Baum Vario40
brltty.exe: Baum Serial Number: 00000000
brltty.exe: Cell Count: 40 (40 text, 0 status)
brltty.exe: Braille Display Dimensions: 1 row, 40 columns
brltty.exe: regions: text=0.40 status=0.0
brltty.exe: shifts: full=40 half=20 vertical=5
brltty.exe: Key Bindings: default
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb fd=3
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti
brltty.exe: Key Table: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: driver resumed
brltty.exe: braille driver resumed
brltty.exe: suspending braille driver
brltty.exe: braille driver suspended
brltty.exe: driver suspended
brltty.exe: resuming braille driver
brltty.exe: USB: testing: vendor=8086 product=7020
brltty.exe: USB: testing: vendor=0403 product=FE72
brltty.exe: usbDisableAutosuspend error 40: Function not implemented.
brltty.exe: USB: ept=81 dir=in xfr=blk pkt=64 ivl=0ms
brltty.exe: USB: ept=02 dir=out xfr=blk pkt=64 ivl=0ms
brltty.exe: USB Language: 409
brltty.exe: USB: Manufacturer Name: QEMU 1.0
brltty.exe: USB: Product Description: QEMU USB BRAILLE
brltty.exe: USB: Serial Number: 1
brltty.exe: probing with Baum protocol
brltty.exe: FTDI Request: 03 809C 0000
brltty.exe: FTDI Request: 04 0008 0000
brltty.exe: FTDI Request: 02 0000 0000
brltty.exe: Ignored Byte: B1
brltty.exe: Ignored Byte: 00
brltty.exe: Baum Device Identity: Baum Vario40
brltty.exe: Baum Serial Number: 00000000
brltty.exe: Cell Count: 40 (40 text, 0 status)
brltty.exe: Braille Display Dimensions: 1 row, 40 columns
brltty.exe: regions: text=0.40 status=0.0
brltty.exe: shifts: full=40 half=20 vertical=5
brltty.exe: Key Bindings: default
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb fd=3
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-display6.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-keyboard.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-joystick.kti
brltty.exe: file opened: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti fd=4
brltty.exe: including data file: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-routing6.kti
brltty.exe: Key Table: C:/Program
Files/BRLTTY/bin/../etc/brltty/brl-bm-default.ktb
brltty.exe: driver resumed
brltty.exe: braille driver resumed
brltty.exe: stopping program components
brltty.exe: stopping program component: sessions
brltty.exe: popped command handler: screen
brltty.exe: popped command handler: navigation
brltty.exe: popped command handler: unhandled
brltty.exe: popped command environment: main
brltty.exe: stopping program component: tunes
brltty.exe: stopping program component: sorted-keyboard-functions
brltty.exe: stopping program component: sorted-command-table
brltty.exe: stopping program component: braille-driver
brltty.exe: api unlink
brltty.exe: pushed command environment: message
brltty.exe: pushed command handler: message
^C
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty