Hi,
Okay, I have made some progress. Now I know, how to use apitest :-D.
I compiled apitest from git repo and used it to test Brltty 4.5 on arch,
I hope it doesn't matter.
This is what shows
./apitest -b localhost -a /etc/brlapi.key -d
Connecting to BrlAPI... done (fd=3)
Connected to localhost using auth /etc/brlapi.key
Showing dot patterns
BrlAPI exception: Invalid packet on Write request of size 99 (16 00 00
00 00 00 00 01 00 00 00 28 00 00 00 2b)
You may wish to add the -ldebug option to the brltty command line in
order to get additional information in the system log
Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])
Here is an excerpt from the log, which I send as an attachment:
2014-04-22@12:34:45.949 allocated tty 0x02e00006
2014-04-22@12:34:45.949 Taking control of tty 0x02e00006 (how=0)
2014-04-22@12:34:45.949 Received Write request on fd 10
2014-04-22@12:34:45.949 charset UTF-8
2014-04-22@12:34:45.949 writing exception 7 to 10
2014-04-22@12:34:45.949 res != (size_t) -1 not met: invalid charset
conversion
2014-04-22@12:34:45.949 exception 7 for packet type 119 on fd 10
2014-04-22@12:34:45.989 Closing connection on fd 10
2014-04-22@12:34:45.989 Client on fd 10 did not give up control of tty
0x02e00006 properly
2014-04-22@12:34:45.989 Releasing tty 0x02e00006
2014-04-22@12:34:46.009 freeing tty 0x02e00006

Do you know what could be the problem? I am using Czech braille table.
Thanks,
Vojta   

Dne 19.4.2014 19:58, Vojtěch Polášek napsal(a):
> Hi,
> my name is Vojtěch Polášek and I am a blind IT student from Czech Republic.
> I am running latest brltty from official Arch repository. It is brltty
> version 4.5. I use Focus Blue 40, I tried it with old and new version of
> this type of brailly display.
> However, after upgrading my system about a week ago, it stopped working
> with Orca. I received upgrade of Gnome to version 3.12, but I can't see
> any reason why it should stop working.
> As I read logs, it seems that Brltty accepts connection from Orca, but
> then there must be some proglem.
> It just prints Brltty and its version (using my configured table), but
> then it just shows "Screen not in text mode".
> I am sending a verbose log output in attachment.
> I wanted to use apitest.c from git. When I checked out tag BRLTTY-4.5, I
> couldn't compile it, because there was no rule for compiling brl_cmds.h.
> When I checked out latest master, I managed to compile apitest but it
> crashes when I try to use it with -n or other switch except for -h.
> Is there any other information that I can send you?
> Thank you very much for your help,
> Vojta

2014-04-22@12:34:37.003 BRLTTY 4.5 [http://mielke.cc/brltty/]
2014-04-22@12:34:37.003 Working Directory: /home/vojta
2014-04-22@12:34:37.003 Writable Directory: /var/run/brltty
2014-04-22@12:34:37.003 Configuration File: /etc/brltty.conf
2014-04-22@12:34:37.003 Preferences File: brltty.prefs
2014-04-22@12:34:37.003 regions: text=0.0 status=0.0
2014-04-22@12:34:37.003 shifts: full=1 half=0 vertical=5
2014-04-22@12:34:37.003 Drivers Directory: /usr/lib/brltty
2014-04-22@12:34:37.003 Tables Directory: /usr/share/brltty
2014-04-22@12:34:37.003 compiling text table: /usr/share/brltty/cs.ttb
2014-04-22@12:34:37.003 file opened: /usr/share/brltty/cs.ttb fd=4
2014-04-22@12:34:37.003 including data file: /usr/share/brltty/cs.ttb
2014-04-22@12:34:37.003 file opened: /usr/share/brltty/numbers-dot8.tti fd=5
2014-04-22@12:34:37.003 including data file: /usr/share/brltty/numbers-dot8.tti
2014-04-22@12:34:37.003 file opened: /usr/share/brltty/common.tti fd=5
2014-04-22@12:34:37.003 including data file: /usr/share/brltty/common.tti
2014-04-22@12:34:37.003 file opened: /usr/share/brltty/spaces.tti fd=6
2014-04-22@12:34:37.003 including data file: /usr/share/brltty/spaces.tti
2014-04-22@12:34:37.003 file opened: /usr/share/brltty/boxes.tti fd=6
2014-04-22@12:34:37.003 including data file: /usr/share/brltty/boxes.tti
2014-04-22@12:34:37.003 file opened: /usr/share/brltty/blocks.tti fd=6
2014-04-22@12:34:37.003 including data file: /usr/share/brltty/blocks.tti
2014-04-22@12:34:37.003 Text Table: cs
2014-04-22@12:34:37.003 Attributes Table: attributes
2014-04-22@12:34:37.003 Contraction Table: none
2014-04-22@12:34:37.003 Key Table: none
2014-04-22@12:34:37.003 Keyboard Property: type=
2014-04-22@12:34:37.003 Keyboard Property: vendor=
2014-04-22@12:34:37.003 Keyboard Property: product=
2014-04-22@12:34:37.003 checking for screen driver: lx
2014-04-22@12:34:37.003 initializing screen driver: lx
2014-04-22@12:34:37.003 device directory: /dev
2014-04-22@12:34:37.003 checking screen device: /dev/vcsa
2014-04-22@12:34:37.003 screen device: vcsa
2014-04-22@12:34:37.003 checking console device: /dev/tty0
2014-04-22@12:34:37.003 console device: tty0
2014-04-22@12:34:37.003 device opened: /dev/vcsa: fd=4
2014-04-22@12:34:37.003 screen opened: vcsa: fd=4
2014-04-22@12:34:37.003 device opened: /dev/tty0: fd=5
2014-04-22@12:34:37.003 console opened: tty0: fd=5
2014-04-22@12:34:37.003 Screen Font Map Size: 331
2014-04-22@12:34:37.003 VGA Character Count: 256(small)
2014-04-22@12:34:37.003 attributes masks: font=0000 unshifted=FF00 shifted=0000
2014-04-22@12:34:37.003 Screen Driver: lx [Linux]
2014-04-22@12:34:37.003 Linux Screen Driver:
2014-04-22@12:34:37.003 Screen Parameter: charset=
2014-04-22@12:34:37.003 Screen Parameter: hfb=
2014-04-22@12:34:37.003 Screen Parameter: debugsfm=
2014-04-22@12:34:37.003 BrlAPI Server: release 0.6.0
2014-04-22@12:34:37.003 API Parameter: auth=
2014-04-22@12:34:37.003 API Parameter: host=
2014-04-22@12:34:37.003 API Parameter: retaindots=
2014-04-22@12:34:37.003 API Parameter: stacksize=
2014-04-22@12:34:37.004 checking braille device: usb:
2014-04-22@12:34:37.004 performing braille driver autodetection
2014-04-22@12:34:37.004 checking for braille driver: al
2014-04-22@12:34:37.004 initializing braille driver: al -> usb:
2014-04-22@12:34:37.004 socket 1 established (fd 8)
2014-04-22@12:34:37.004 verifying file system path: usbfs: /dev/bus/usb
2014-04-22@12:34:37.004 USBFS Root: /dev/bus/usb
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0003
2014-04-22@12:34:37.004 USB: testing: vendor=0F4E product=0114
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB: testing: vendor=8087 product=0024
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB: testing: vendor=04F2 product=B2EB
2014-04-22@12:34:37.004 USB: testing: vendor=147E product=2020
2014-04-22@12:34:37.004 USB: testing: vendor=8087 product=0024
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB device not found
2014-04-22@12:34:37.004 braille driver initialization failed: al -> usb:
2014-04-22@12:34:37.004 checking for braille driver: bm
2014-04-22@12:34:37.004 initializing braille driver: bm -> usb:
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0003
2014-04-22@12:34:37.004 USB: testing: vendor=0F4E product=0114
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB: testing: vendor=8087 product=0024
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB: testing: vendor=04F2 product=B2EB
2014-04-22@12:34:37.004 USB: testing: vendor=147E product=2020
2014-04-22@12:34:37.004 USB: testing: vendor=8087 product=0024
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB device not found
2014-04-22@12:34:37.004 braille driver initialization failed: bm -> usb:
2014-04-22@12:34:37.004 checking for braille driver: eu
2014-04-22@12:34:37.004 initializing braille driver: eu -> usb:
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0003
2014-04-22@12:34:37.004 USB: testing: vendor=0F4E product=0114
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB: testing: vendor=8087 product=0024
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB: testing: vendor=04F2 product=B2EB
2014-04-22@12:34:37.004 USB: testing: vendor=147E product=2020
2014-04-22@12:34:37.004 USB: testing: vendor=8087 product=0024
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0002
2014-04-22@12:34:37.004 USB device not found
2014-04-22@12:34:37.004 braille driver initialization failed: eu -> usb:
2014-04-22@12:34:37.004 checking for braille driver: fs
2014-04-22@12:34:37.004 initializing braille driver: fs -> usb:
2014-04-22@12:34:37.004 USB: testing: vendor=1D6B product=0003
2014-04-22@12:34:37.004 USB: testing: vendor=0F4E product=0114
2014-04-22@12:34:37.005 USB: ept=82 dir=in xfr=blk pkt=64 ivl=0ms
2014-04-22@12:34:37.005 USB: ept=01 dir=out xfr=blk pkt=64 ivl=0ms
2014-04-22@12:34:37.005 USB Language: 409
2014-04-22@12:34:37.005 linking local socket lock: Soubor již existuje
2014-04-22@12:34:37.005 socket 0 established (fd 6)
2014-04-22@12:34:37.005 USB: Manufacturer Name: Freedom Scientific
2014-04-22@12:34:37.005 USB: Product Description: Focus 3
2014-04-22@12:34:37.065 Detected Focus 40: cells=40, firmware=4.57
2014-04-22@12:34:37.065 Manufacturer: FREEDOM SCIENTIFIC
2014-04-22@12:34:37.065 Model: Focus 40
2014-04-22@12:34:37.065 Firmware: 4.57
2014-04-22@12:34:37.065 Braille Display Dimensions: 1 row, 40 columns
2014-04-22@12:34:37.065 regions: text=0.40 status=0.0
2014-04-22@12:34:37.065 shifts: full=40 half=20 vertical=5
2014-04-22@12:34:37.065 Key Bindings: focus_small
2014-04-22@12:34:37.066 file opened: /usr/share/brltty/brl-fs-focus_small.ktb fd=7
2014-04-22@12:34:37.066 including data file: /usr/share/brltty/brl-fs-focus_small.ktb
2014-04-22@12:34:37.066 file opened: /usr/share/brltty/brl-fs-focus_basic.kti fd=10
2014-04-22@12:34:37.066 including data file: /usr/share/brltty/brl-fs-focus_basic.kti
2014-04-22@12:34:37.066 file opened: /usr/share/brltty/brl-fs-common.kti fd=11
2014-04-22@12:34:37.066 including data file: /usr/share/brltty/brl-fs-common.kti
2014-04-22@12:34:37.066 file opened: /usr/share/brltty/brl-chords.kti fd=11
2014-04-22@12:34:37.066 including data file: /usr/share/brltty/brl-chords.kti
2014-04-22@12:34:37.066 file opened: /usr/share/brltty/brl-fs-rockers.kti fd=10
2014-04-22@12:34:37.066 including data file: /usr/share/brltty/brl-fs-rockers.kti
2014-04-22@12:34:37.067 Key Table: /usr/share/brltty/brl-fs-focus_small.ktb
2014-04-22@12:34:37.067 api link
2014-04-22@12:34:37.067 Braille Driver: fs [FreedomScientific]
2014-04-22@12:34:37.067 FreedomScientific Braille Driver:
2014-04-22@12:34:37.067 Braille Device: usb:
2014-04-22@12:34:37.067 Old Preferences File: /etc/brltty-fs.prefs
2014-04-22@12:34:37.067 cannot open file: /etc/brltty-fs.prefs: Adresář nebo soubor neexistuje
2014-04-22@12:34:37.067 regions: text=0.40 status=0.0
2014-04-22@12:34:37.067 shifts: full=40 half=20 vertical=5
2014-04-22@12:34:37.067 setting braille firmness: 2
2014-04-22@12:34:37.068 exit status: 0
2014-04-22@12:34:37.068 console opened: fd=7
2014-04-22@12:34:37.068 beeper enabled
2014-04-22@12:34:37.068 tone: msec=60 note=64
2014-04-22@12:34:37.128 tone: msec=100 note=69
2014-04-22@12:34:37.229 api unlink
2014-04-22@12:34:41.289 api link
2014-04-22@12:34:41.290 no autodetectable speech drivers
2014-04-22@12:34:41.290 checking for speech driver: no
2014-04-22@12:34:41.290 initializing speech driver: no
2014-04-22@12:34:41.290 Speech Driver: no [NoSpeech]
2014-04-22@12:34:41.290 NoSpeech Speech Driver:
2014-04-22@12:34:41.291 Speech Input: none
2014-04-22@12:34:41.291 Screen Font Map Size: 331
2014-04-22@12:34:41.291 VGA Character Count: 256(small)
2014-04-22@12:34:41.291 attributes masks: font=0000 unshifted=FF00 shifted=0000
2014-04-22@12:34:44.249 beeper disabled
2014-04-22@12:34:45.868 BrlAPI connection fd=10 accepted: inet 127.0.0.1:46099
2014-04-22@12:34:45.905 Authorization key loaded
2014-04-22@12:34:45.906 Received GetDisplaySize request on fd 10
2014-04-22@12:34:45.945 Received EnterTtyMode request on fd 10
2014-04-22@12:34:45.945 adding range [0(0)..ffffffff(ffffffff)]
2014-04-22@12:34:45.945 removing range [2000004c(0)..2000004c(ffffffff)]
2014-04-22@12:34:45.945 removing range [20000000(0)..20000000(ffffffff)]
2014-04-22@12:34:45.945 removing range [2000004a(0)..2000004a(ffffffff)]
2014-04-22@12:34:45.945 removing range [2000004b(0)..2000004b(ffffffff)]
2014-04-22@12:34:45.945 removing range [20060000(0)..2006ffff(ffffffff)]
2014-04-22@12:34:45.945 removing range [20000046(0)..20000046(ffffffff)]
2014-04-22@12:34:45.945 removing range [20000047(0)..20000047(ffffffff)]
2014-04-22@12:34:45.945 removing range [20240000(0)..2024ffff(ffffffff)]
2014-04-22@12:34:45.945 removing range [20230000(0)..2023ffff(ffffffff)]
2014-04-22@12:34:45.945 removing range [20250000(0)..2025ffff(ffffffff)]
2014-04-22@12:34:45.949 allocated tty 0x02e00006
2014-04-22@12:34:45.949 Taking control of tty 0x02e00006 (how=0)
2014-04-22@12:34:45.949 Received Write request on fd 10
2014-04-22@12:34:45.949 charset UTF-8
2014-04-22@12:34:45.949 writing exception 7 to 10
2014-04-22@12:34:45.949 res != (size_t) -1 not met: invalid charset conversion
2014-04-22@12:34:45.949 exception 7 for packet type 119 on fd 10
2014-04-22@12:34:45.989 Closing connection on fd 10
2014-04-22@12:34:45.989 Client on fd 10 did not give up control of tty 0x02e00006 properly
2014-04-22@12:34:45.989 Releasing tty 0x02e00006
2014-04-22@12:34:46.009 freeing tty 0x02e00006
2014-04-22@12:34:48.869 api unlink
2014-04-22@12:34:48.869 api link
2014-04-22@12:34:48.869 api unlink
2014-04-22@12:34:48.870 beeper enabled
2014-04-22@12:34:48.870 tone: msec=60 note=64
2014-04-22@12:34:48.930 tone: msec=60 note=57
2014-04-22@12:34:48.991 beeper disabled
2014-04-22@12:34:48.991 console closed: fd=5
2014-04-22@12:34:48.991 screen closed: fd=4
_______________________________________________
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

Reply via email to