[BRLTTY] brltty 6.4 often crashes how to debug?

高生旺 coscell at gmail.com
Thu Dec 16 05:19:31 EST 2021


Attached.

On Thu, 16 Dec 2021, Didier Spaier wrote:

> Date: Thu, 16 Dec 2021 11:18:17 +0100
> From: Didier Spaier <didier at slint.fr>
> Reply-To: Informal discussion between users and developers of BRLTTY.
>     <brltty at brltty.app>
> To: brltty at brltty.app
> Subject: Re: [BRLTTY] brltty 6.4 often crashes how to debug?
> 
> I am not sure to understand.
>
> Please attach your /etc/brltty.conf to your next message.
>
> Cheers,
> Didier
>
> Le 16/12/2021 à 03:01, 高生旺 a écrit :
>> How about to set braille variant to contracted table and braille table = zh-tw.ctb?
>> If it works then run brltty -V.
>> 
>> On Wed, 15 Dec 2021, Didier Spaier wrote:
>> 
>>> Date: Wed, 15 Dec 2021 19:43:15 +0100
>>> From: Didier Spaier <didier at slint.fr>
>>> Reply-To: Informal discussion between users and developers of BRLTTY.
>>>     <brltty at brltty.app>
>>> To: brltty at brltty.app
>>> Subject: Re: [BRLTTY] brltty 6.4 often crashes how to debug?
>>>
>>> Le 15/12/2021 à 18:23, Dave Mielke a écrit :
>>>> [quoted lines by Didier Spaier on 2021/12/15 at 15:51 +0100]
>>>>
>>>>> Dave has tagged 6.4.1 a few days ago. I will package it for Slint and see
>>>>> what I
>>>>> come up with.
>>>>
>>>> Actually, please don't. It's for testing an experimental change.
>>>
>>> OK, I won't. Nevertheless no issue here:
>>>
>>> LANG=zh_CN.utf8 brltty -V
>>> BRLTTY 6.4.1 rev unknown [https://brltty.app/]
>>> brltty: 記錄等級: 沒有
>>> brltty: 訊息語言: zh_CN.utf8
>>> brltty: 訊息種類: brltty
>>> brltty: 訊息目錄: /usr/share/locale
>>> brltty: Autospeak Threshold: none
>>> brltty: 權限參數: path=/bin:/usr/bin
>>> brltty: 權限參數: scfmode=
>>> brltty: 權限參數: shell=/bin/bash
>>> brltty: 權限參數: user=brltty
>>> brltty: 切換到未授權使用者: brltty
>>> brltty: 工作目錄變更: /var/lib/brltty
>>> brltty: kernel module not installed: pcspkr
>>> brltty: Copyright © 1995-2021 by The BRLTTY Developers
>>> brltty: BrlAPI Server: release 0.8.3
>>> brltty:    Copyright (C) 2002-2021 by Sébastien Hinderer
>>> <Sebastien.Hinderer at ens-lyon.org>, Samuel Thibault <samuel.thibault at ens-lyon.org>
>>>
>>> same for zh_TW.utf8, also tried other locales and started as didier.
>>>
>>> Cheers,
>>> Didier
>>> _______________________________________________
>>> This message was sent via the BRLTTY mailing list.
>>> To post a message, send an e-mail to: BRLTTY at brltty.app
>>> For general information, go to: http://brltty.app/mailman/listinfo/brltty
>> 
>> _______________________________________________
>> This message was sent via the BRLTTY mailing list.
>> To post a message, send an e-mail to: BRLTTY at brltty.app
>> For general information, go to: http://brltty.app/mailman/listinfo/brltty
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty
-------------- next part --------------
# Documents/brltty.conf.  Generated from brltty.conf.in by configure.
###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
#          text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2020 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser General Public License, as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option) any
# later version. Please see the file LICENSE-LGPL for details.
#
# Web Page: http://brltty.app/
#
# This software is maintained by Dave Mielke <dave at mielke.cc>.
###############################################################################

# This is a configuration file template for the BRLTTY application. 
# Uncomment those entries which apply to your personal needs and system
# requirements.

# BRLTTY expects to find its configuration file in "/etc/brltty.conf"
# (can be overridden with the -f [--configuration-file=] option).
# If it doesn't exist, then BRLTTY silently continues but may require
# that certain command line options be explicitly supplied.

# Blank lines are ignored. The character '#', anywhere on a line,
# initiates a comment; all characters from it to the end of that line
# are ignored.

# Each configuration entry consists of a keyword followed by its operand.
# An arbitrary amount of white space, (blanks and/or tabs), may occur
# before the keyword, as well as before and after the operand. Keyword
# processing is not case sensitive. Examples of valid entries are:
#
#	Braille-Driver	pm	# Papenmeier braille displays.
#	braille-device	serial:ttyS0	# The first serial device.
#	SPEECH-DRIVER	fv	# The Festival Text to Speech System.

# The default settings given within the following descriptions assume no
# special build options (see "./configure --help" in the top-level
# directory of the source tree.


############################
# Generic Braille Settings #
############################

# The braille-driver directive specifies the two-letter driver
# identification code of the driver for the braille display.
# If not specified, autodetection will be performed.
# If more than one driver, separated by commas, is specified,
# then autodetection will be performed amongst them.
# (can be overridden with the -b [--braille-driver=] option)
#braille-driver	auto	# autodetect
#braille-driver	al	# Alva
#braille-driver	at	# Albatross
#braille-driver	ba	# BrlAPI
#braille-driver	bc	# BrailComm
#braille-driver	bd	# Braudi
#braille-driver	bg	# B2G
#braille-driver	bl	# BrailleLite
#braille-driver	bm	# Baum
#braille-driver	bn	# BrailleNote
#braille-driver	cb	# CombiBraille
#braille-driver	ce	# Cebra
#braille-driver	cn	# Canute
#braille-driver	ec	# EcoBraille
#braille-driver	eu	# EuroBraille
#braille-driver	fs	# FreedomScientific
#braille-driver	hd	# Hedo
#braille-driver	hm	# HIMS
#braille-driver	ht	# HandyTech
#braille-driver	hw	# HumanWare
#braille-driver	ic	# Inceptor
#braille-driver	ir	# Iris
#braille-driver	lb	# Libbraille
#braille-driver	lt	# LogText
#braille-driver	mb	# MultiBraille
#braille-driver	md	# MDV
#braille-driver	mm	# BrailleMemo
#braille-driver	mn	# MiniBraille
#braille-driver	mt	# Metec
#braille-driver	np	# NinePoint
#braille-driver	pg	# Pegasus
#braille-driver	pm	# Papenmeier
#braille-driver	sk	# Seika
#braille-driver	tn	# TechniBraille
#braille-driver	ts	# TSI
#braille-driver	tt	# TTY
#braille-driver	vd	# VideoBraille
#braille-driver	vo	# Voyager, BraillePen/EasyLink
#braille-driver	vr	# Virtual
#braille-driver	vs	# VisioBraille
#braille-driver	xw	# XWindow

# The braille-device directive specifies the device to which the braille
# display is connected. The generic syntax is type:device. The device
# type is optional, and, for backward compatibility, defaults to serial.
# The following devices are supported (brackets indicate optionality):
#    serial:path (relative paths are anchored at "/dev")
#    usb:[serial-number]
#    bluetooth:address
# If not specified, "usb:,bluetooth:" will be used.
# If more than one device, separated by commas, is specified,
# then each of them will be probed in turn.
# (can be overridden with the -d [--braille-device=] option)
#braille-device	serial:ttyS0	# First serial device.
#braille-device	usb:		# First USB device matching braille driver.
#braille-device	usb:nnnnn	# Specific USB device by serial number.
#braille-device	bluetooth:xx:xx:xx:xx:xx:xx	# Specific bluetooth device by address.
#
# NOTE: If the device is connected via a serial-to-USB adapter then setting
# braille-device to usb: will not work. In this case it needs to identify the
# virtual serial device which the kernel has created for the adapter, i.e. to
# something like serial:ttyUSB0 (see the kernel messages on device plug to get
# the actual device name).

# The release-device directive specifies whether or not the device to which the
# braille display is connected is to be released when the current screen or
# window can't be read by BRLTTY. If not specified, "on" will be used on Windows
# platforms and "off" will be used on all other platforms.
# (can be overridden with the -r [--release-device] option)
#release-device	on	# Release the device.
#release-device	off	# Don't release the device.

# The text-table directive specifies which text table to use. Relative paths
# are anchored at "/etc/brltty/Text". If not specified, locale-based
# autoselection with fallback to "en-nabcc" will be performed.
# (can be overridden with the -t [--text-table=] option)
#text-table	auto	# locale-based autoselection
#text-table	ar	# Arabic (generic)
#text-table	as	# Assamese
#text-table	awa	# Awadhi
#text-table	bg	# Bulgarian
#text-table	bh	# Bihari
#text-table	bn	# Bengali
#text-table	bo	# Tibetan
#text-table	bra	# Braj
#text-table	brf	# Braille Ready Format (for viewing .brf files within an editor or pager)
#text-table	cs	# Czech
#text-table	cy	# Welsh
#text-table	da	# Danish
#text-table	da-1252	# Danish (Svend Thougaard, 2002-11-18)
#text-table	da-lt	# Danish (LogText)
#text-table	de	# German
#text-table	dra	# Dravidian
#text-table	el	# Greek
#text-table	en	# English
#text-table	en_CA	# English (Canada)
#text-table	en_GB	# English (United Kingdom)
#text-table	en_US	# English (United States)
#text-table	en-nabcc	# English (North American Braille Computer Code)
#text-table	eo	# Esperanto
#text-table	es	# Spanish
#text-table	et	# Estonian
#text-table	fi	# Finnish
#text-table	fr	# French
#text-table	fr_CA	# French (Canada)
#text-table	fr_FR	# French (France)
#text-table	fr-2007	# French (unified 2007)
#text-table	fr-cbifs	# French (Code Braille Informatique Français Standard)
#text-table	fr-vs	# French (VisioBraille)
#text-table	ga	# Irish
#text-table	gd	# Gaelic
#text-table	gon	# Gondi
#text-table	gu	# Gujarati
#text-table	he	# Hebrew
#text-table	hi	# Hindi
#text-table	hr	# Croatian
#text-table	hu	# Hungarian
#text-table	hy	# Armenian
#text-table	is	# Icelandic
#text-table	it	# Italian
#text-table	kha	# Khasi
#text-table	kn	# Kannada
#text-table	kok	# Konkani
#text-table	kru	# Kurukh
#text-table	lt	# Lituanian
#text-table	lv	# Latvian
#text-table	mg	# Malagasy
#text-table	mi	# Maori
#text-table	ml	# Malayalam
#text-table	mni	# Manipuri
#text-table	mr	# Marathi
#text-table	mt	# Maltese
#text-table	mun	# Munda
#text-table	mwr	# Marwari
#text-table	ne	# Nepali
#text-table	new	# Newari
#text-table	nl	# Dutch
#text-table	nl_BE	# Dutch (Belgium)
#text-table	nl_NL	# Dutch (Netherlands)
#text-table	no	# Norwegian
#text-table	no-generic	# Norwegian (with support for other languages)
#text-table	no-oup	# Norwegian (Offentlig utvalg for punktskrift)
#text-table	nwc	# Newari (old)
#text-table	or	# Oriya
#text-table	pa	# Panjabi
#text-table	pi	# Pali
#text-table	pl	# Polish
#text-table	pt	# Portuguese
#text-table	ro	# Romanian
#text-table	ru	# Russian
#text-table	se	# Sami (Northern)
#text-table	sa	# Sanskrit
#text-table	sat	# Santali
#text-table	sd	# Sindhi
#text-table	sk	# Slovak
#text-table	sl	# Slovenian
#text-table	sv	# Swedish
#text-table	sv-1989	# Swedish (1989 standard)
#text-table	sv-1996	# Swedish (1996 standard)
#text-table	sw	# Swahili
#text-table	ta	# Tamil
#text-table	te	# Telugu
#text-table	tr	# Turkish
#text-table	uk	# Ukrainian
#text-table	vi	# Vietnamese

# The attributes-table directive specifies which attributes table to use.
# Relative paths are anchored at "/etc/brltty/Attributes". If not specified,
# "left_right" will be used.
# (can be overridden with the -a [--attributes-table=] option)
#attributes-table	left_right	# foreground colour in the left column and background colour in the right column
#attributes-table	invleft_right	# inverse foreground colour in the left column and background colour in the right column
#attributes-table	upper_lower	# foreground colour in the upper square and background colour in the lower square

# The contraction-table directive specifies which contraction table to use.
# Relative paths are anchored at "/etc/brltty/Contraction". If not specified, no
# contraction table will be available.
# (can be overridden with the -c [--contraction-table=] option)
#contraction-table	af	# Afrikaans (contracted)
#contraction-table	am	# Amharic (uncontracted)
#contraction-table	de-g0	# German (uncontracted)
#contraction-table	de-g1	# German (basic contractions)
#contraction-table	de-g2	# German (contracted - 1998 standard)
#contraction-table	de-1998	# German (contracted - 1998 standard)
#contraction-table	de-2015	# German (contracted - 2015 standard)
#contraction-table	en-ueb-g2	# English (Unified English Braille, grade 2)
#contraction-table	en-us-g2	# English (US, grade 2)
#contraction-table	es	# Spanish (grade 2)
#contraction-table	fr-g1	# French (uncontracted)
#contraction-table	fr-g2	# French (contracted)
#contraction-table	ha	# Hausa (contracted)
#contraction-table	id	# Indonesian (contracted)
#contraction-table	ja	# Japanese (uncontracted)
#contraction-table	ko-g1	# Korean (grade 1)
#contraction-table	ko-g2	# Korean (grade 2)
#contraction-table	ko	# Korean (uncontracted)
#contraction-table	lt	# Lithuanian (uncontracted)
#contraction-table	mg	# Malagasy (contracted)
#contraction-table	mun	# Munda (contracted)
#contraction-table	nl	# Dutch (contracted)
#contraction-table	ny	# Chichewa (contracted)
#contraction-table	ipa	# International Phonetic Alphabet
#contraction-table	pt	# Portuguese (grade 2)
#contraction-table	si	# Sinhalese (uncontracted)
#contraction-table	sw	# Swahili (contracted)
#contraction-table	th	# Thai (contracted)
contraction-table	zh-tw	# Chinese (Taiwan, uncontracted)
#contraction-table	zh-tw-ucb	# Chinese (Taiwan, Unique Chinese Braille)
#contraction-table	zu	# Zulu (contracted)


#############################
# Braille Driver Parameters #
#############################

# The braille-parameters directive passes non-generic parameters through
# to the braille driver.
# (can be overridden with the -B [--braille-parameters=] option)
#braille-parameters driver:parameter=setting,...

# Alva Braille Driver Parameters
#braille-parameters al:RotatedCells=no # [no,yes]
#braille-parameters al:SecondaryRoutingKeyEmulation=no # [no,yes]

# BrlAPI Braille Driver Parameters
#braille-parameters ba:Auth=/etc/brlapi.key
#braille-parameters ba:Host=:0

# BrailleLite Braille Driver Parameters
#braille-parameters bl:BaudRate=9600 # [300,600,1200,2400,4800,9600,19200,38400]
#braille-parameters bl:KbEmu=yes # [yes,no]

# Baum Braille Driver Parameters
#braille-parameters bm:Protocol=default # [default,escape,hid1,hid2,ht,pb]
#braille-parameters bm:VarioKeys=no # [no,yes]

# EuroBraille Braille Driver Parameters
#braille-parameters eu:Protocol= # [auto,azerbraille,clio,eurobraille,notebraille,pupibraille,scriba,esys,esytime,iris,esysiris]

# HandyTech Braille Driver Parameters
#braille-parameters ht:SetTime=no # [no,yes]

# Iris Braille Driver Parameters
#braille-parameters ir:Embedded= # [no,yes]
#braille-parameters ir:LatchDelay=10 # [0-100] (tenths of a second)
#braille-parameters ir:Protocol= # [eurobraille,native]

# Libbraille Braille Driver Parameters
#braille-parameters lb:Device=/dev/ttyS0 # 
#braille-parameters lb:Driver=auto # 
#braille-parameters lb:Table=us.tbl # 

# TSI Braille Driver Parameters
#braille-parameters ts:HighBaud=yes # [yes,no]
#braille-parameters ts:SetBaud=9600 # [4800,9600,19200]

# TTY Braille Driver Parameters
#braille-parameters tt:Baud=9600 # 
#braille-parameters tt:CharSet=ISO8859-1 # 
#braille-parameters tt:Columns=40 # [1-80]
#braille-parameters tt:Lines=1 # [1-3]
#braille-parameters tt:Locale= # 
#braille-parameters tt:Term=vt100 # [terminfo]

# VisioBraille Braille Driver Parameters
#braille-parameters vs:Baud=57600 # 
#braille-parameters vs:DisplaySize=40 # [20-40]
#braille-parameters vs:PromVersion=4 # [3-6]

# XWindow Braille Driver Parameters
#braille-parameters xw:Columns=40 # [1-80]
#braille-parameters xw:Font=name # []
#braille-parameters xw:Input=off # [off,on]
#braille-parameters xw:Lines=1 # [1-3]
#braille-parameters xw:Model=bare # [bare]
#braille-parameters xw:TkParms= # 


###########################
# Generic Speech Settings #
###########################

# The speech-driver directive specifies the two-letter driver
# identification code of the driver for the speech synthesizer.
# If not specified, autodetection will be performed.
# If more than one driver, separated by commas, is specified,
# then autodetection will be performed amongst them.
# (can be overridden with the -s [--speech-driver=] option)
#speech-driver	auto	# autodetect
#speech-driver	al	# Alva
#speech-driver	an	# Android (text to speech engine)
#speech-driver	bl	# BrailleLite
#speech-driver	cb	# CombiBraille
#speech-driver	en	# eSpeak-NG (text to speech engine)
#speech-driver	es	# eSpeak (text to speech engine)
#speech-driver	fl	# FestivalLite (text to speech engine)
#speech-driver	fv	# Festival (text to speech engine)
#speech-driver	gs	# GenericSay (pipes to /usr/local/bin/say)
#speech-driver	mp	# Mikropuhe (text to speech engine)
#speech-driver	sd	# SpeechDispatcher (text to speech server)
#speech-driver	sw	# Swift (text to speech engine)
#speech-driver	th	# Theta (text to speech engine)
#speech-driver	vv	# ViaVoice (text to speech engine)
#speech-driver	xs	# ExternalSpeech (executes /usr/local/bin/externalspeech)

# The quiet-if-no-braille directive fully disables the autospeak feature.
# Screen content won't be automatically spoken when braille isn't being used.
# (can be overridden with the -Q [--quiet-if-no-braille=] option)
#quiet-if-no-braille	off	# [off,on]

# The speech-input directive specifies the name of the file system object
# (FIFO, named pipe, named socket, etc) which can be used by external
# applications for text-to-speech conversion via BRLTTY's speech driver.
# Relative paths are anchored at the current working directory. If not
# specified, the file system object isn't created.
# (can be overridden with the -i [--speech-input=] option)
#speech-input	/path/to/file-system-object


############################
# Speech Driver Parameters #
############################

# The speech-parameters directive passes non-generic parameters through
# to the speech driver.
# (can be overridden with the -S [--speech-parameters=] option)
#speech-parameters driver:parameter=setting,...

# eSpeak Speech Driver Parameters
#speech-parameters es:MaxRate=450 # [80-]
#speech-parameters es:Path=
#speech-parameters es:PunctList=
#speech-parameters es:Voice=default

# eSpeak-NG Speech Driver Parameters
#speech-parameters en:MaxRate=450 # [80-]
#speech-parameters en:Path=
#speech-parameters en:PunctList=
#speech-parameters en:Voice=en

# ExternalSpeech Speech Driver Parameters
#speech-parameters xs:Socket_Path=/tmp/exs-data

# Festival Speech Driver Parameters
#speech-parameters fv:Command=festival # [/path/to/command]
#speech-parameters fv:Name= # [kevin,kal]

# FestivalLite Speech Driver Parameters
#speech-parameters fl:Pitch=100 # [50-200]

# GenericSay Speech Driver Parameters
#speech-parameters gs:Command=/usr/local/bin/say

# Mikropuhe Speech Driver Parameters
#speech-parameters mp:Name= # [/path/to/mikropuhe/name.pu5]
#speech-parameters mp:Pitch=0 # [-10-10]

# SpeechDispatcher Speech Driver Parameters
#speech-parameters sd:Language= # [two-letter language code]
#speech-parameters sd:Module= # [flite,festival,epos-generic,dtk-generic,...]
#speech-parameters sd:Port=6560 # [1-65535] # [1-65535]
#speech-parameters sd:Voice= # [male1,female1,male2,female2,male3,female3,child_male,child_female]

# Swift Speech Driver Parameters
#speech-parameters sw:Name= # [voice,/path/to/voice]

# Theta Speech Driver Parameters
#speech-parameters th:Age= # [1-99,-1--99]
#speech-parameters th:Gender= # [male,female,neuter]
#speech-parameters th:Language= # [two-letter language code]
#speech-parameters th:Name= # [voice,/path/to/voice]
#speech-parameters th:Pitch=0.0 # [-2.0-2.0]

# ViaVoice Speech Driver Parameters
#speech-parameters vv:Quality= # [fair,poor,good]
#speech-parameters vv:Mode= # [words,letters,punctuation,phonetic]
#speech-parameters vv:Synthesize= # [sentences,all]
#speech-parameters vv:Abbreviations= # [on,off]
#speech-parameters vv:Years= # [on,off]
#speech-parameters vv:Language= # [American-English, British-English, Castilian-Spanish, Mexican-Spanish, Standard-French, Canadian-French, Standard-German, Standard-Italian, Standard-Mandarin-GBK, Standard-Mandarin-PinYin, Standard-Mandarin-UCS2, Taiwanese-Mandarin-Big5, Taiwanese-Mandarin-ZhuYin, Taiwanese-Mandarin-PinYin, Taiwanese-Mandarin-UCS2, Brazilian-Portuguese, Standard-Japanese-SJIS, Standard-Japanese-UCS2, Standard-Finnish, Standard-Korean-UHC, Standard-Korean-UCS2, Standard-Cantonese-GBK, Standard-Cantonese-UCS2, HongKong-Cantonese-Big5, HongKong-Cantonese-UCS2, Standard-Dutch, Standard-Norwegian, Standard-Swedish, Standard-Danish, Standard-Thai-TIS620]
#speech-parameters vv:Voice= # [man,woman,child,patriarch,matriarch]
#speech-parameters vv:Gender= # [male,female]
#speech-parameters vv:HeadSize= # [0-100]
#speech-parameters vv:PitchBaseline= # [40-422 Hz]
#speech-parameters vv:Expressiveness= # [0-100] (pitch fluctuation)
#speech-parameters vv:Roughness= # [0-100]
#speech-parameters vv:Breathiness= # [0-100]
#speech-parameters vv:Volume= # [0-100 %]
#speech-parameters vv:Speed= # [70-1297 wpm]


#####################
# Keyboard Settings #
#####################

# The keyboard-table directive specifies which keyboard table to use. Relative paths are
# anchored at "/etc/brltty/Keyboard". If not specified, no keyboard table is used.
# (can be overridden with the -k [--keyboard-table=] option)
keyboard-table	pc	# bindings for braille keyboards
#keyboard-table	desktop	# bindings for full keyboards
#keyboard-table	keypad	# bindings for keypad-based navigation
#keyboard-table	laptop	# bindings for keyboards without a keypad
#keyboard-table	sun_type6	# bindings for Sun Type 6 keyboards

# The keyboard-properties directive specifies which keyboards to monitor.
# If not specified, all keyboards are monitored.
# (can be overridden with the -K [--keyboard-properties=] option)
#keyboard-properties	Type=any	# [any,ps2,usb,bluetooth]
#keyboard-properties	Vendor=0X0000	# [0X0000-0XFFFF]
#keyboard-properties	Product=0X0000	# [0X0000-0XFFFF]


##################
# Sound Settings #
##################

# The pcm-device directive specifies the device to use for soundcard
# digital audio. If not specified, a method- and system-dependent
# default will be used.
# (can be overridden with the -p [--pcm-device=] option)
#pcm-device	/path/to/device	# most methods
#pcm-device	pcm-handle-id	# ALSA (see second parameter of snd_pcm_open)

# The midi-device directive specifies the device to use for the Musical
# Instrument Digital Interface. If not specified, a method- and
# system-dependent default will be used.
# (can be overridden with the -m [--midi-device=] option)
#midi-device	/path/to/device	# most methods
#midi-device	client:port	# ALSA (may use number or case-sensitive substring of name)


###################
# Logging Options #
###################

# The log-file directive specifies the file to which diagnostics are written.
# Relative paths are anchored at the current working directory. If not
# specified, diagnostics are written to the system log.
# (can be overridden with the -L [--log-file=] option)
#log-file	/tmp/brltty.log

# The log-level directive specifies which event categories are to be
# logged as well as the severity threshold for uncategorized events.
# The category names and severity threshold are separated by commas.
# (can be overridden with the -l [--log-level=] option)
#log-level	notice

# Only one severity threshold may be specified. Less severe uncategorized
# events will not be logged. If not specified, "notice" will be assumed.
# The severity thresholds are:
#	emergency
#	alert
#	critical
#	error
#	warning
#	notice
#	information
#	debug

# Any number of event categories may be enabled. Prefixing a category name
# with a minus sign [-] disables it (particularly useful if "all" is used).
# The categories are:
#	all	enable all of the categories
#	ingio	generic input
#	inpkts	input packets
#	outpkts	output packets
#	brlkeys	braille device key events
#	kbdkeys	keyboard key events
#	csrtrk	cursor tracking
#	csrrtg	cursor routing
#	update	update events
#	speech	speech events
#	async	asynchronous event scheduling
#	server	BrlAPI server events
#	serial	serial I/O
#	usb	USB I/O
#	bluetooth	Bluetooth I/O
#	brldrv	braille driver events
#	spkdrv	speech driver events
#	scrdrv	screen driver events


#######################
# Preference Settings #
#######################

# The preferences-file directive specifies the file in which to save the user's
# preferences. Relative paths are usually anchored at "/var/lib/brltty"
# (can be changed via the updatable-directory directive).
# If not specified, "brltty.prefs" will be used.
# (can be overridden with the -F [--preferences-file=] option)
#preferences-file	brltty.prefs

# The override-preference directive can be used to explicitly specify the
# initial setting of any preference. More than one preference may be overridden
# by separating them by commas and/or by using this directive multiple times.
# (can be overridden with the -o [--override-preference=] option)
#override-preference preference=setting,...


##########################
# Miscellaneous Settings #
##########################

# The pid-file directive specifies the absolute path to a file that will
# contain BRLTTY's process identifier. It is removed when BRLTTY terminates.
# (can be overridden with the -P [--pid-file=] option)
#pid-file /run/brltty.pid

# The updatable-directory directive specifies the absolute path to a directory
# which contains files that can be updated (preferences, saved clipboard, etc).
# If not specified, "/var/lib/brltty" will be used.
# (can be overridden with the -U [--updatable-directory=] option)
#updatable-directory /var/lib/brltty

# The writable-directory directive specifies the absolute path to a directory
# which can be written to (creation of missing but needed resources, etc). If
# not specified, "/var/run/brltty" will be used.
# (can be overridden with the -W [--writable-directory=] option)
#writable-directory /var/run/brltty

# The drivers-directory directive specifies the absolute path to the
# directory which contains the dynamically loadable drivers. If not
# specified, /lib64/brltty will be used.
# (can be overridden with the -D [--drivers-directory=] option)
#drivers-directory /lib64/brltty

# The tables-directory directive specifies the absolute path to the directory
# which contains the text, attributes, contraction, keyboard, and input tables.
# If not specified, "/etc/brltty" will be used.
# (can be overridden with the -T [--tables-directory=] option)
#tables-directory /etc/brltty

# The start-message directive specifies the text to be shown when the braille
# driver starts and to be spoken when the speech driver starts. If not
# specified, "BRLTTY 6.1" will be used.
# (can be overridden with the -Y [--start-message=] option)
#start-message BRLTTY\s6.1

# The stop-message directive specifies the text to be shown when the braille
# driver stops. If not specified, "BRLTTY stopped" will be used.
# (can be overridden with the -Z [--stop-message=] option)
#stop-message BRLTTY\sstopped


################################################
# Application Programming Interface Parameters #
################################################

# The no-api directive disables the Application Programming Interface (API).
# (can be overridden with the -N [--no-api=] option)
#no-api	off	# [off,on]

# The api-parameters directive passes parameters to the Application
# Programming Interface.
# (can be overridden with the -A [--api-parameters=] option)
#api-parameters parameter=setting,...

#api-parameters Auth=keyfile:/etc/brlapi.key	# Require authentication key
#api-parameters Auth=user:joe		# Allow some local user
#api-parameters Auth=group:brl		# Allow some local group
#api-parameters Auth=polkit		# authenticate via Polkit
#api-parameters Host=:0			# Accept only local Unix connections
#api-parameters Host=0.0.0.0:0		# Accept any internet connection.
#api-parameters StackSize=65536


###########################
# Generic Screen Settings #
###########################

# The screen-driver directive specifies the two-letter driver
# identification code of the driver for the console screen.
# (can be overridden with the -x [--screen-driver=] option)
#screen-driver	an	# Android
#screen-driver	as	# AtSpi
#screen-driver	a2	# AtSpi2
#screen-driver	hd	# Hurd
#screen-driver	lx	# Linux
#screen-driver	pb	# PCBIOS
#screen-driver	sc	# Screen
#screen-driver	wn	# Windows


############################
# Screen Driver Parameters #
############################

# The screen-parameters directive passes non-generic parameters through
# to the screen driver.
# (can be overridden with the -X [--screen-parameters=] option)
#screen-parameters driver:parameter=setting,...

# AtSpi Screen Driver Parameters
#screen-parameters as:Type=text+terminal # [text,terminal,all]+...

# AtSpi2 Screen Driver Parameters
#screen-parameters a2:Release=yes # [yes,no]
#screen-parameters a2:Type=default # [default,all,{terminal,text}+...]

# Linux Screen Driver Parameters
#screen-parameters lx:Charset=name+... # []
#screen-parameters lx:FallbackText=text # ""
#screen-parameters lx:HFB=auto # [auto,vga,fb,0-7]
#screen-parameters lx:LogSFM=no # [no,yes]
#screen-parameters lx:Unicode=yes # [yes,no]
#screen-parameters lx:VT=0 # [0-63]

# Windows Screen Driver Parameters
#screen-parameters wn:Root=no # [no,yes]
#screen-parameters wn:FollowFocus=yes # [yes,no]




More information about the BRLTTY mailing list