On 2016-06-25 04:14, Dave Mielke wrote:
[quoted lines by André-Abush Clause on 2016/06/24 at 20:40 +0200]

Since several weeks, I search to run BRLTTY with driver Baum.
Unfortunately, it seems that it doesn't work. Indeed, BRLTTY crashes
constantly when I using keyboard.

Are you aware that you have more than one brltty running at the same time? If you are, could you please explain what each one is to be doing so that we can better understand what's going on. If not, perhaps that's the source of your
problem.

Thank you for your reply.

Hmm... Nevertheless, I don't have multiple instances of brltty. Anyway, I don't see more than a brltty process together when this occurs.

Additional details:
- The problem doesn't occur with the BrlAPI. Eg. it works perfectly with Orca. So, the problem occurs in TTY mode only.
- In the system logs, I have the next error regularly:
`kernel: usb 1-1: usbfs: cmd failed USBDEVFS_CONTROL brltty rqt 128 rq 6 len ret 255 -110`

Please see the attached file for more infos.

Thanks again,

André
$ uname -a
    Linux archvm 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 
x86_64 GNU/Linux
$ brltty -v
    BRLTTY 5.3.1 rev BRLTTY-5.3.1-153-ge740c2ca [http://brltty.com/]
    brltty: Log Level: debug
    brltty: Working Directory: /root
    brltty: Configuration File: /etc/brltty.conf
    brltty: Updatable Directory: /var/lib/brltty
    brltty: Preferences File: brltty.prefs
    brltty: Writable Directory: /var/run/brltty
    brltty: Drivers Directory: /lib/brltty
    brltty: Tables Directory: /etc/brltty
    brltty: Text Table: fr-2007
    brltty: Attributes Table: left_right
    brltty: Contraction Table: none
    brltty: Keyboard Property: type=
    brltty: Keyboard Property: vendor=
    brltty: Keyboard Property: product=
    brltty: Keyboard Table: none
    brltty: Screen Driver: lx [Linux]
    brltty: Linux Screen Driver:
    brltty: Screen Parameter: charset=
    brltty: Screen Parameter: debugsfm=
    brltty: Screen Parameter: hfb=
    brltty: Screen Parameter: vt=
    brltty: BrlAPI Server: release 0.6.4
    brltty: API Parameter: auth=
    brltty: API Parameter: host=
    brltty: API Parameter: stacksize=
    brltty: Braille Driver: bm [Baum]
    brltty: Baum Braille Driver:
    brltty: Braille Parameter: protocol=default
    brltty: Braille Parameter: variokeys=
    brltty: Braille Device: usb:
    brltty: Old Preferences File: /etc/brltty-bm.prefs
    brltty: Speech Driver: no [NoSpeech]
    brltty: NoSpeech Speech Driver:
    brltty: Speech Input: none
$ pgrep brltty
$ date
    Sat Jun 25 04:29:41 CEST 2016
$ brltty
    BRLTTY 5.3.1 rev BRLTTY-5.3.1-153-ge740c2ca [http://brltty.com/]
$ pgrep brltty
    11284
$ killall brltty
$ pgrep brltty
    11284
$ killall brltty
$ killall brltty
$ killall brltty
$ killall brltty
$ killall brltty
$ killall brltty
    brltty: no process found
$ cat /tmp/brltty.log  | wc -l
    515
$ egrep '(error|warn|fail)' /tmp/brltty.log | wc -l
    73
$ egrep '(error|warn|fail)' /tmp/brltty.log
    2016-06-25@04:30:04.781 [brltty] USB configuration set error 16: Device or 
resource busy.
    2016-06-25@04:30:32.503 [brltty] control[console] error 5: Input/output 
error.
    2016-06-25@04:30:49.945 [brltty] USB bulk transfer error 110: Connection 
timed out.
    2016-06-25@04:30:54.990 [brltty] USB configuration set error 32: Broken 
pipe.
    2016-06-25@04:30:55.993 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:30:55.993 [brltty] braille driver initialization failed: bm 
-> usb:
    2016-06-25@04:30:55.993 [brltty] activity action failed: braille-driver: 
start
    2016-06-25@04:30:56.996 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:30:56.996 [brltty] USB language code string read error
    2016-06-25@04:30:58.000 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:30:58.000 [brltty] USB language code string read error
    2016-06-25@04:30:59.003 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:30:59.003 [brltty] USB language code string read error
    2016-06-25@04:31:06.046 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:06.046 [brltty] braille driver initialization failed: bm 
-> usb:
    2016-06-25@04:31:06.046 [brltty] activity action failed: braille-driver: 
start
    2016-06-25@04:31:07.049 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:07.050 [brltty] USB language code string read error
    2016-06-25@04:31:08.053 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:08.053 [brltty] USB language code string read error
    2016-06-25@04:31:09.056 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:09.056 [brltty] USB language code string read error
    2016-06-25@04:31:10.371 [brltty] USB configuration set error 32: Broken 
pipe.
    2016-06-25@04:31:11.373 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:11.373 [brltty] braille driver initialization failed: bm 
-> usb:
    2016-06-25@04:31:11.373 [brltty] activity action failed: braille-driver: 
start
    2016-06-25@04:31:12.376 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:12.376 [brltty] USB language code string read error
    2016-06-25@04:31:13.379 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:13.379 [brltty] USB language code string read error
    2016-06-25@04:31:14.383 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:14.383 [brltty] USB language code string read error
    2016-06-25@04:31:21.428 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:21.428 [brltty] braille driver initialization failed: bm 
-> usb:
    2016-06-25@04:31:21.428 [brltty] activity action failed: braille-driver: 
start
    2016-06-25@04:31:22.429 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:22.429 [brltty] USB language code string read error
    2016-06-25@04:31:23.433 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:23.433 [brltty] USB language code string read error
    2016-06-25@04:31:24.436 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:24.436 [brltty] USB language code string read error
    2016-06-25@04:31:30.698 [brltty] USB configuration set error 32: Broken 
pipe.
    2016-06-25@04:31:31.721 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:31.721 [brltty] braille driver initialization failed: bm 
-> usb:
    2016-06-25@04:31:31.721 [brltty] activity action failed: braille-driver: 
start
    2016-06-25@04:31:32.723 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:32.723 [brltty] USB language code string read error
    2016-06-25@04:31:33.726 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:33.726 [brltty] USB language code string read error
    2016-06-25@04:31:34.730 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:34.730 [brltty] USB language code string read error
    2016-06-25@04:31:36.786 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:36.786 [brltty] braille driver initialization failed: bm 
-> usb:
    2016-06-25@04:31:36.786 [brltty] activity action failed: braille-driver: 
start
    2016-06-25@04:31:37.790 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:37.790 [brltty] USB language code string read error
    2016-06-25@04:31:38.796 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:38.796 [brltty] USB language code string read error
    2016-06-25@04:31:39.799 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:39.799 [brltty] USB language code string read error
    2016-06-25@04:31:46.060 [brltty] USB configuration set error 32: Broken 
pipe.
    2016-06-25@04:31:47.067 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:47.067 [brltty] braille driver initialization failed: bm 
-> usb:
    2016-06-25@04:31:47.067 [brltty] activity action failed: braille-driver: 
start
    2016-06-25@04:31:48.073 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:48.073 [brltty] USB language code string read error
    2016-06-25@04:31:49.076 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:49.076 [brltty] USB language code string read error
    2016-06-25@04:31:50.083 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:50.083 [brltty] USB language code string read error
    2016-06-25@04:31:52.126 [brltty] USB control transfer error 110: Connection 
timed out.
    2016-06-25@04:31:52.126 [brltty] braille driver initialization failed: bm 
-> usb:
2016-06-25@04:31:52.126 [brltty] activity action failed: braille-driver: start
$ journalctl  --since=4:29 | grep 'kernel: usb'
    Jun 25 04:30:04 archvm kernel: usb 1-1: usbfs: interface 0 claimed by 
usbhid while 'brltty' sets config #1
    Jun 25 04:30:55 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:30:56 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:30:58 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:30:59 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:06 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:07 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:08 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:09 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:11 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:12 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:13 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:14 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:21 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:22 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:23 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:24 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:31 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:32 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:33 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:34 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:36 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:37 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:38 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:39 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:47 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:48 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:49 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:50 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
    Jun 25 04:31:52 archvm kernel: usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd 
brltty rqt 128 rq 6 len 255 ret -110
$
_______________________________________________
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