[slint] Re: Braille Input

  • From: "Life in Six Dots" <dmarc-noreply@xxxxxxxxxxxxx> ("hello")
  • To: <slint@xxxxxxxxxxxxx>
  • Date: Sat, 26 Aug 2023 10:19:16 +0100

Hello Didier,

I think the installer was using an older version of BRLTTY and an older kernel 
version as well. If my memory serves me correctly the kernel in the installer 
was 6.1-something or other. I think there is an issue with permissions with 
BRLTTY in 6.2 and it's not TIOCSTI because if I run the command: sysctl -a I 
get this output telling me it is enabled: sysctl dev.tty.legacy_tiocsti=1

I have the same issue on Ubuntu, and Debian as well, so it's not a Slint issue.

Even if I log in as superuser (root) I don't get any input. The output to 
brltty whether on Debian, Ubuntu, or Slint is the same. I've posted it as you 
requested it but I don't think we can do anything as the issue is upstream:

BRLTTY 6.5 rev BRLTTY-6.5 [https://brltty.app/]
brltty: Log Level: none
brltty: Messages Locale: en_US.UTF-8
brltty: Messages Domain: brltty
brltty: Messages Directory: /usr/share/locale
brltty: Autospeak Threshold: none
brltty: Privilege Parameter: path=
brltty: Privilege Parameter: scfmode=
brltty: Privilege Parameter: shell=
brltty: Privilege Parameter: user=
brltty: can't isolate namespaces
brltty: executing as the invoking user: paul
brltty: can't set supplementary groups
brltty: group not joined: 0(root)
brltty: group not joined: 5(tty)
brltty: group not joined: 20(dialout)
brltty: group not joined: 29(audio)
brltty: group not joined: 102(input)
brltty: required capability not granted: cap_sys_admin (for injecting input 
characters typed on a braille device)
brltty: required capability not granted: cap_sys_tty_config (for playing alert 
tunes via the built-in PC speaker)
brltty: required capability not granted: cap_mknod (for creating needed but 
missing special device files)
brltty: Copyright © 1995-2022 by The BRLTTY Developers
brltty: BrlAPI Server: release 0.8.4
brltty:    Copyright (C) 2002-2022 by Sébastien Hinderer 
Sebastien.Hinderer@xxxxxxxxxxxx, Samuel Thibault <samuel.thibault@xxxxxxxxxxxx

I've joined the groups as a regular user but that hasn't changed anything.

Not to worry. I will just wait for it to get fixed at some point (when they 
realise there is a problem). Hopefully, in days or weeks rather than months or 
years.

Other than that, I'm enjoying Slint and the packages that are already installed.

Paul


-----Original Message-----
From: slint-bounce@xxxxxxxxxxxxx <slint-bounce@xxxxxxxxxxxxx> On Behalf Of 
Didier Spaier
Sent: Friday, August 25, 2023 3:31 PM
To: slint@xxxxxxxxxxxxx
Subject: [slint] Re: Braille Input

Hello Paul,

Caveat: I do not own a braille device and do not know how to use one.

@All: if you use input from your braille device (instead or in addition to a 
regular keyboard), feel fee to answer feel free to complete of fix what I write 
in this post.

1. I am puzzled that you had braille input during installation but not after.
If the most recent brltty version was installed from a remote repository 
(should be the case if you had an internet connection during installation) or 
you updated the system after installation you have brltty 6.6 whereas the 
installer has 6.5. I do not know if that matters but anyway to be sure please 
post the output of "brltty --version"

2. In /etc/brltty.conf there is chapter Keyboard Settings. If not done please 
check the default settings and edit them as need be (and also other settings, 
of course), then restart brltty as indicated below.

3. The way to start the daemon during the startup sequence is to make the file 
/etc/rc.d/rc.brltty executable, using sudo or as root: chmod 755 
/etc/rc.d/rc.brltty. Then you can type /etc/rc.d/rc.brltty start|stop|restart 
(we do not uses systemd services in Slint).

4. As indicated in https://slint.fr/en/HandBook.html#_use_slint_with_braille ;
you (the regular user) should be a member of the braille group. For that, as 
root or using sudo please type:  usermod -G braille -a username paul (I assume 
that you username is "paul").

4. In Slint by default brltty is started as root.  If you started brltty as 
regular user, try to kill it then start it as root. Does the issue remain?
I mention this because granting capabilities is not necessary if brltty is 
started as root.

5. Does the "no braille input" occurs in thr console or only in a graphical 
environment like Mate?

Le 25/08/2023 à 13:40, Life in Six Dots (hello) a écrit :

Hello all,>
@Didier
 
I have braille input when installing Slint on an old Intel NUC to test 
it out but after launch I don't have braille input. BUT I do have the 
command brltty-setcaps which I don't have on Ubuntu. Do you know how 
to enable the braille keyboard input on Slint?
 
The same capabilities aren't granted: sys_admin, cap_sys_tty_config, 
and cap_mknod

 

Paul
===============================================================================
The Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the subject 
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 'commands'.

==============================================================================The
 Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the subject
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 'commands'.

Other related posts: