[BRLTTY] Need help remapping display

S. Massy lists at wolfdream.ca
Tue Oct 25 18:05:32 EDT 2011


Thank you for your help!

I seem to be making progress, but only slowly. Brltty now loads the
right files without complaining. As a first test line, I have:
bind RoutingKey.38+RoutingKey.39 FWINRT

However, the command does not seem to be executed. Just in case it was
conflicting, I commented out:
bind RoutingKey+!RoutingKey COPYCHARS
...but still without success.

You can see a log of my last attempt starting at line 113 of the
attached log.

Thanks,
S.M.


On Tue, Oct 25, 2011 at 02:51:14PM -0400, Dave Mielke wrote:
> [quoted lines by S. Massy on 2011/10/25 at 14:31 -0400]
> 
> >The command-line I used for the log output is the following:
> ># /home/smassy/brltty/bin/brltty -b bm -d /dev/ttyUSB0 \ 
> >  -k /home/smassy/brltty/etc/brltty/z.ktb -ldebug -L/tmp/brltty.log
> >
> >z.ktb is just a meta file sourcing brl-bm-display6.kti and
> >brl-bm-routing6.kti, and thos files, I have not yet modified. 
> 
> With this explanatiino, I already can see what the problem is. the -k option 
> specifies the key table to be used with your PC keyboard. You're getting those 
> errors bcause the PC keyboard has no keys named RoutingKey, etc. For now, just 
> don't specify the -k option. Or, maybe, you do want to specify it. If you're 
> using a desktop, for example, you may wish to try out -kkeypad. Then you can go 
> into kbd-keypad.ktb to see how the kaypad has been mapped. That may help you 
> get better navigation while you're working on remapping your Baum keys.
> 
> You can't specify the name of the braille device key table which is to be used. 
> There is, however, a way you can easily override any of them without modifying 
> them. When brltty looks for a data file, it first looks in the ".brltty/" 
> subdirectory of your home directory (as defined by $HOME). If the HOME 
> environment variable isn't set then it looks in "/.brltty/".
> 
> A quick note on how you're specifying the device. Giving the full path to a 
> serial device is still supported, but the preferred way is to specify (in your 
> case) "serial:ttyUSB0".
> 
> -- 
> Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
> Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the End of Salvation.
> EMail: dave at mielke.cc | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
> http://FamilyRadio.com/                   | http://Mielke.cc/bible/

-- 
-------------- next part --------------
2011-10-25 at 17:35:45.516 BRLTTY 4.3 rev 5477 [http://mielke.cc/brltty/]
2011-10-25 at 17:35:45.517 Working Directory: /root
2011-10-25 at 17:35:45.517 Writable Directory: /home/smassy/brltty/bin/../var/run/brltty
2011-10-25 at 17:35:45.517 Configuration File: ../etc/brltty.conf
2011-10-25 at 17:35:45.517 Preferences File: brltty.prefs
2011-10-25 at 17:35:45.517 regions: text=0.0 status=0.0
2011-10-25 at 17:35:45.517 shifts: full=1 half=0 vertical=5
2011-10-25 at 17:35:45.517 Drivers Directory: /home/smassy/brltty/bin/../lib/brltty
2011-10-25 at 17:35:45.517 Tables Directory: /home/smassy/brltty/bin/../etc/brltty
2011-10-25 at 17:35:45.517 checking for text table: en_US.ttb
2011-10-25 at 17:35:45.517 compiling text table: /home/smassy/brltty/bin/../etc/brltty/en_US.ttb
2011-10-25 at 17:35:45.517 file opened: /home/smassy/brltty/bin/../etc/brltty/en_US.ttb fd=4
2011-10-25 at 17:35:45.517 including data file: /home/smassy/brltty/bin/../etc/brltty/en_US.ttb
2011-10-25 at 17:35:45.517 file opened: /home/smassy/brltty/bin/../etc/brltty/letters-latin.tti fd=5
2011-10-25 at 17:35:45.517 including data file: /home/smassy/brltty/bin/../etc/brltty/letters-latin.tti
2011-10-25 at 17:35:45.518 file opened: /home/smassy/brltty/bin/../etc/brltty/control-latin.tti fd=5
2011-10-25 at 17:35:45.518 including data file: /home/smassy/brltty/bin/../etc/brltty/control-latin.tti
2011-10-25 at 17:35:45.518 file opened: /home/smassy/brltty/bin/../etc/brltty/numbers-nemeth.tti fd=5
2011-10-25 at 17:35:45.518 including data file: /home/smassy/brltty/bin/../etc/brltty/numbers-nemeth.tti
2011-10-25 at 17:35:45.519 file opened: /home/smassy/brltty/bin/../etc/brltty/common.tti fd=5
2011-10-25 at 17:35:45.519 including data file: /home/smassy/brltty/bin/../etc/brltty/common.tti
2011-10-25 at 17:35:45.519 file opened: /home/smassy/brltty/bin/../etc/brltty/spaces.tti fd=6
2011-10-25 at 17:35:45.519 including data file: /home/smassy/brltty/bin/../etc/brltty/spaces.tti
2011-10-25 at 17:35:45.519 file opened: /home/smassy/brltty/bin/../etc/brltty/boxes.tti fd=6
2011-10-25 at 17:35:45.519 including data file: /home/smassy/brltty/bin/../etc/brltty/boxes.tti
2011-10-25 at 17:35:45.519 file opened: /home/smassy/brltty/bin/../etc/brltty/blocks.tti fd=6
2011-10-25 at 17:35:45.519 including data file: /home/smassy/brltty/bin/../etc/brltty/blocks.tti
2011-10-25 at 17:35:45.519 Text Table: en_US
2011-10-25 at 17:35:45.519 Attributes Table: attributes
2011-10-25 at 17:35:45.519 Contraction Table: none
2011-10-25 at 17:35:45.519 Key Table: none
2011-10-25 at 17:35:45.519 Keyboard Property: type=
2011-10-25 at 17:35:45.519 Keyboard Property: vendor=
2011-10-25 at 17:35:45.519 Keyboard Property: product=
2011-10-25 at 17:35:45.519 checking for screen driver: lx
2011-10-25 at 17:35:45.519 initializing screen driver: lx
2011-10-25 at 17:35:45.519 device directory: /dev
2011-10-25 at 17:35:45.519 checking screen device: /dev/vcsa
2011-10-25 at 17:35:45.519 screen device: vcsa
2011-10-25 at 17:35:45.519 checking console device: /dev/tty0
2011-10-25 at 17:35:45.519 console device: tty0
2011-10-25 at 17:35:45.519 device opened: /dev/vcsa: fd=4
2011-10-25 at 17:35:45.519 screen opened: vcsa: fd=4
2011-10-25 at 17:35:45.519 device opened: /dev/tty0: fd=5
2011-10-25 at 17:35:45.519 console opened: tty0: fd=5
2011-10-25 at 17:35:45.519 Screen Font Map Size: 473
2011-10-25 at 17:35:45.519 VGA Character Count: 256(small)
2011-10-25 at 17:35:45.519 attributes masks: font=0000 unshifted=FF00 shifted=0000
2011-10-25 at 17:35:45.519 Screen Driver: lx [Linux]
2011-10-25 at 17:35:45.519 Linux Screen Driver:
2011-10-25 at 17:35:45.519 Screen Parameter: charset=
2011-10-25 at 17:35:45.519 Screen Parameter: hfb=
2011-10-25 at 17:35:45.519 Screen Parameter: debugsfm=
2011-10-25 at 17:35:45.519 BrlAPI Server: release 0.5.6
2011-10-25 at 17:35:45.519 API Parameter: auth=
2011-10-25 at 17:35:45.520 API Parameter: host=
2011-10-25 at 17:35:45.520 API Parameter: stacksize=
2011-10-25 at 17:35:45.520 checking braille device: /dev/ttyUSB0
2011-10-25 at 17:35:45.520 checking for braille driver: bm
2011-10-25 at 17:35:45.520 socket 0 established (fd 7)
2011-10-25 at 17:35:45.520 initializing braille driver: bm -> /dev/ttyUSB0
2011-10-25 at 17:35:45.520 socket 1 established (fd 6)
2011-10-25 at 17:35:45.540 serial device opened: /dev/ttyUSB0: fd=8
2011-10-25 at 17:35:45.540 probing with Baum protocol
2011-10-25 at 17:35:46.105 Baum Device Identity: HWG Brailliant40
2011-10-25 at 17:35:46.110 Baum Serial Number: 25021472
2011-10-25 at 17:35:46.112 Cell Count: 40 (40 text, 0 status)
2011-10-25 at 17:35:46.112 Braille Display Dimensions: 1 row, 40 columns
2011-10-25 at 17:35:46.112 regions: text=0.40 status=0.0
2011-10-25 at 17:35:46.112 shifts: full=40 half=20 vertical=5
2011-10-25 at 17:35:46.112 Key Bindings: default
2011-10-25 at 17:35:46.112 file opened: /home/smassy/brltty/bin/../etc/brltty/brl-bm-default.ktb fd=9
2011-10-25 at 17:35:46.112 including data file: /home/smassy/brltty/bin/../etc/brltty/brl-bm-default.ktb
2011-10-25 at 17:35:46.112 file opened: /home/smassy/brltty/bin/../etc/brltty/brl-bm-display6.kti fd=10
2011-10-25 at 17:35:46.112 including data file: /home/smassy/brltty/bin/../etc/brltty/brl-bm-display6.kti
2011-10-25 at 17:35:46.112 file opened: /home/smassy/brltty/bin/../etc/brltty/brl-bm-keyboard.kti fd=10
2011-10-25 at 17:35:46.112 including data file: /home/smassy/brltty/bin/../etc/brltty/brl-bm-keyboard.kti
2011-10-25 at 17:35:46.113 file opened: /home/smassy/brltty/bin/../etc/brltty/brl-bm-routing6.kti fd=10
2011-10-25 at 17:35:46.113 including data file: /home/smassy/brltty/bin/../etc/brltty/brl-bm-routing6.kti
2011-10-25 at 17:35:46.113 Key Table: /home/smassy/brltty/bin/../etc/brltty/brl-bm-default.ktb
2011-10-25 at 17:35:46.113 api link
2011-10-25 at 17:35:46.113 Braille Driver: bm [Baum]
2011-10-25 at 17:35:46.113 Baum Braille Driver:
2011-10-25 at 17:35:46.113 Braille Parameter: protocols=
2011-10-25 at 17:35:46.113 Braille Parameter: variokeys=
2011-10-25 at 17:35:46.113 Braille Device: /dev/ttyUSB0
2011-10-25 at 17:35:46.113 Old Preferences File: ../etc/brltty-bm.prefs
2011-10-25 at 17:35:46.113 cannot open file: ../etc/brltty-bm.prefs: No such file or directory
2011-10-25 at 17:35:46.113 regions: text=0.40 status=0.0
2011-10-25 at 17:35:46.113 shifts: full=40 half=20 vertical=5
2011-10-25 at 17:35:46.115 exit status: 0
2011-10-25 at 17:35:46.115 Console opened: fd=9
2011-10-25 at 17:35:46.115 beeper enabled
2011-10-25 at 17:35:46.115 tone: msec=60 note=64
2011-10-25 at 17:35:46.175 tone: msec=100 note=69
2011-10-25 at 17:35:46.275 api unlink
2011-10-25 at 17:35:46.434 timeout after 100 milliseconds
2011-10-25 at 17:35:46.434 input byte missing at offset 0
2011-10-25 at 17:35:46.434 Partial Packet: 50 02
2011-10-25 at 17:35:48.077 command: 010028 (CSRTRK: set cursor tracking on)
2011-10-25 at 17:35:48.078 api link
2011-10-25 at 17:35:48.078 no autodetectable speech drivers
2011-10-25 at 17:35:48.078 checking for speech driver: no
2011-10-25 at 17:35:48.078 initializing speech driver: no
2011-10-25 at 17:35:48.078 Speech Driver: no [NoSpeech]
2011-10-25 at 17:35:48.078 NoSpeech Speech Driver:
2011-10-25 at 17:35:48.078 Speech Input: none
2011-10-25 at 17:35:48.078 Screen Font Map Size: 473
2011-10-25 at 17:35:48.078 VGA Character Count: 256(small)
2011-10-25 at 17:35:48.078 attributes masks: font=0000 unshifted=FF00 shifted=0000
2011-10-25 at 17:35:48.239 API got key 00 01 (press 0), thus client code 0000000000000001
2011-10-25 at 17:35:50.049 beeper disabled
2011-10-25 at 17:35:50.411 API got key 01 27 (press 1), thus client code 8000000000000127
2011-10-25 at 17:35:50.411 API got key 01 26 (press 1), thus client code 8000000000000126
2011-10-25 at 17:35:50.411 API got command 00400127, thus client code 0000400020010027
2011-10-25 at 17:35:50.411 command: 400127 (ROUTE: bring cursor to character #40)
2011-10-25 at 17:35:50.411 API got command 00000000, thus client code 0000000020000000
2011-10-25 at 17:35:50.411 command: 000000 (NOOP: do nothing)
2011-10-25 at 17:35:50.652 API got key 01 26 (press 0), thus client code 0000000000000126
2011-10-25 at 17:35:50.652 API got key 01 27 (press 0), thus client code 0000000000000127
2011-10-25 at 17:35:52.985 API got key 01 27 (press 1), thus client code 8000000000000127
2011-10-25 at 17:35:52.985 API got key 01 26 (press 1), thus client code 8000000000000126
2011-10-25 at 17:35:52.985 API got command 00400127, thus client code 0000400020010027
2011-10-25 at 17:35:52.985 command: 400127 (ROUTE: bring cursor to character #40)
2011-10-25 at 17:35:52.985 API got command 00000000, thus client code 0000000020000000
2011-10-25 at 17:35:52.985 command: 000000 (NOOP: do nothing)
2011-10-25 at 17:35:53.307 API got key 01 26 (press 0), thus client code 0000000000000126
2011-10-25 at 17:35:53.307 API got key 01 27 (press 0), thus client code 0000000000000127
2011-10-25 at 17:35:56.445 device opened: /dev/tty0: fd=10
2011-10-25 at 17:35:56.445 console opened: tty0: fd=10
2011-10-25 at 17:35:56.445 console closed: fd=5
2011-10-25 at 17:35:56.445 Screen Font Map Size: 473
2011-10-25 at 17:35:56.445 VGA Character Count: 256(small)
2011-10-25 at 17:35:56.445 attributes masks: font=0000 unshifted=FF00 shifted=0000
2011-10-25 at 17:35:59.261 api unlink
2011-10-25 at 17:35:59.261 api link
2011-10-25 at 17:35:59.261 api unlink
2011-10-25 at 17:35:59.419 beeper enabled
2011-10-25 at 17:35:59.419 tone: msec=60 note=64
2011-10-25 at 17:35:59.479 tone: msec=60 note=57
2011-10-25 at 17:35:59.540 console closed: fd=10
2011-10-25 at 17:35:59.540 screen closed: fd=4
2011-10-25 at 17:35:59.540 beeper disabled


More information about the BRLTTY mailing list