[BRLTTY] brltty 6.4 often crashes how to debug?

高生旺 coscell at gmail.com
Sat Dec 18 21:48:02 EST 2021


Please copy attached file to /var/lib/brltty/ then restart brltty and try 
again. Thank you!

On Sat, 18 Dec 2021, Didier Spaier wrote:

> Date: Sat, 18 Dec 2021 19:46:33 +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?
> 
> What is this preferences menu you are talking about? I don't see that in your
> brltty.conf. If it is the menu of your braille display I am not able to test
> that as I do not have no braille display (and would not know how to use it).
>
> Best regards,
>
> Didier
>
> Le 17/12/2021 à 02:21, 高生旺 a écrit :
>> An important setting in preference menu: braille variant: 8 dots contracted
>> Thank your test.
>> 
>> On Thu, 16 Dec 2021, Didier Spaier wrote:
>> 
>>> Date: Thu, 16 Dec 2021 20:27:54 +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?
>>>
>>> In the attached file only these two lines are not commented:
>>>
>>> contraction-table    zh-tw    # Chinese (Taiwan, uncontracted)
>>> keyboard-table    pc    # bindings for braille keyboards
>>>
>>> Using this config file brings no issue at all.
>>> 1) start brltty as root or as regular user
>>> 2) check the process typing:
>>> ps -C brltty
>>> 3) type: brltty -V
>>> 4) type again:
>>> ps -C brltty
>>> The brltty process is still there.
>>>
>>> So, no issue here.
>>>
>>> Did you try other settings or command options than the one in the attached
>>> brltty.conf and if yes which ones exactly?
>>>
>>> Best regards,
>>> Didier
>>>
>>> Le 16/12/2021 à 11:19, 高生旺 a écrit :
>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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
> _______________________________________________
> 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 --------------
# BRLTTY Preferences File

# save-on-exit: no {no yes}
save-on-exit yes

# show-submenu-sizes: no {no yes}
show-submenu-sizes no

# show-advanced-submenus: no {no yes}
show-advanced-submenus no

# show-all-items: no {no yes}
show-all-items no

# braille-variant: computer8 {computer8 contracted6 computer6 contracted8}
braille-variant contracted6

# expand-current-word: yes {no yes}
expand-current-word no

# capitalization-mode: sign {none sign dot7}
capitalization-mode dot7

# braille-firmness: medium {minimum low medium high maximum}
braille-firmness medium

# show-screen-cursor: yes {no yes}
show-screen-cursor yes

# screen-cursor-style: underline {underline block dot7 dot8}
screen-cursor-style underline

# blinking-screen-cursor: no {no yes}
blinking-screen-cursor no

# screen-cursor-visible-time: 40
screen-cursor-visible-time 40

# screen-cursor-invisible-time: 40
screen-cursor-invisible-time 40

# show-attributes: no {no yes}
show-attributes no

# blinking-attributes: yes {no yes}
blinking-attributes yes

# attributes-visible-time: 20
attributes-visible-time 20

# attributes-invisible-time: 60
attributes-invisible-time 60

# blinking-capitals: no {no yes}
blinking-capitals no

# capitals-visible-time: 60
capitals-visible-time 60

# capitals-invisible-time: 20
capitals-invisible-time 20

# word-wrap: no {no yes}
word-wrap no

# skip-identical-lines: no {no yes}
skip-identical-lines yes

# skip-blank-braille-windows: no {no yes}
skip-blank-braille-windows yes

# skip-blank-braille-windows-mode: end {all end rest}
skip-blank-braille-windows-mode rest

# sliding-braille-window: no {no yes}
sliding-braille-window yes

# eager-sliding-braille-window: no {no yes}
eager-sliding-braille-window yes

# braille-window-overlap: 0
braille-window-overlap 0

# scrollaware-cursor-navigation: no {no yes}
scrollaware-cursor-navigation no

# cursor-tracking-delay: 25 {0 25 50 100 200}
cursor-tracking-delay 25

# track-screen-scroll: no {no yes}
track-screen-scroll yes

# track-screen-pointer: no {no yes}
track-screen-pointer no

# highlight-braille-window-location: no {no yes}
highlight-braille-window-location no

# routingkey-start-selection: no {no yes}
routingkey-start-selection no

# autorelease-time: 20 {0 5 10 20 40}
autorelease-time 20

# on-first-release: yes {no yes}
on-first-release no

# long-press-time: 50
long-press-time 50

# autorepeat: yes {no yes}
autorepeat yes

# autorepeat-interval: 10
autorepeat-interval 10

# autorepeat-panning: no {no yes}
autorepeat-panning yes

# touch-navigation: no {no yes}
touch-navigation no

# touch-sensitivity: medium {minimum low medium high maximum}
touch-sensitivity medium

# braille-keyboard-enabled: yes {no yes}
braille-keyboard-enabled yes

# braille-typing-mode: text {text dots}
braille-typing-mode text

# braille-quick-space: no {no yes}
braille-quick-space no

# alerts-console-bell: no {no yes}
alerts-console-bell no

# alerts-keyboard-leds: no {no yes}
alerts-keyboard-leds no

# alert-tunes: yes {no yes}
alert-tunes yes

# tune-device: beeper {beeper pcm midi fm}
tune-device beeper

# pcm-volume: 70
pcm-volume 70

# midi-volume: 70
midi-volume 70

# midi-instrument: 0
midi-instrument 0

# fm-volume: 70
fm-volume 70

# alert-dots: no {no yes}
alert-dots no

# alert-messages: no {no yes}
alert-messages no

# speech-volume: 10
speech-volume 10

# speech-rate: 10
speech-rate 10

# speech-pitch: 10
speech-pitch 10

# speech-punctuation: some {none some all}
speech-punctuation some

# speech-uppercase-indicator: none {none cap higher}
speech-uppercase-indicator none

# speech-whitespace-indicator: none {none space}
speech-whitespace-indicator none

# say-line-mode: immediate {immediate enqueue}
say-line-mode immediate

# autospeak: no {no yes}
autospeak no

# autospeak-selected-line: yes {no yes}
autospeak-selected-line yes

# autospeak-selected-character: yes {no yes}
autospeak-selected-character yes

# autospeak-inserted-characters: yes {no yes}
autospeak-inserted-characters yes

# autospeak-deleted-characters: yes {no yes}
autospeak-deleted-characters yes

# autospeak-replaced-characters: yes {no yes}
autospeak-replaced-characters yes

# autospeak-completed-words: yes {no yes}
autospeak-completed-words yes

# autospeak-line-indent: no {no yes}
autospeak-line-indent no

# show-speech-cursor: no {no yes}
show-speech-cursor no

# speech-cursor-style: dot8 {underline block dot7 dot8}
speech-cursor-style dot8

# blinking-speech-cursor: no {no yes}
blinking-speech-cursor no

# speech-cursor-visible-time: 50
speech-cursor-visible-time 50

# speech-cursor-invisible-time: 30
speech-cursor-invisible-time 30

# time-format: 24hour {24hour 12hour}
time-format 24hour

# time-separator: colon {colon dot}
time-separator colon

# show-seconds: yes {no yes}
show-seconds yes

# date-position: no {no before after}
date-position no

# date-format: ymd {ymd mdy dmy}
date-format ymd

# date-separator: dash {dash slash dot}
date-separator dash

# status-position: none {none left right}
status-position none

# status-count: 0
status-count 0

# status-separator: none {none space block status text}
status-separator none

# status-fields[10]: end {end wxy wx wy cxy cx cy cwx cwy sn dots letter time wxya cxya generic cxy3 wxy3 cwx3 cwy3 space}
status-fields


More information about the BRLTTY mailing list