[BRLTTY] BRLTTY as ordinary user

Sebastian Humenda shumenda at gmx.de
Sat Jan 23 09:51:40 EST 2021


Hi

I am trying to run BRLTTY as ordinary user. I followed the documentation from
<http://brltty.app/doc/Linux.html> and have succeeded so far that I have
speech and braille working. Two minor issues remain, automatic bluetooth
detection of my HandyTech bluetooth display (works fine via USB) and keyboard
(uinput) device creation. For bluetooth I have added BRLTTY to the bluetooth
group. I checked and ran the following:

$ sudo getcap /opt/brltty.u/bin/brltty
/opt/brltty.u/bin/brltty = cap_chown,cap_dac_override,cap_fowner,cap_setgid,cap_sys_module,cap_sys_admin,cap_sys_tty_config,cap_mknod+p
# It shows cap_mknod+p instead of cap_mknod, not sure whether this is a problem
$ sudo chown brltty /run/brltty
$ sudo chgrp brltty /run/brltty
$ LC_ALL=C sudo -u brltty /opt/brltty.u/bin/brltty -l 7

The log file is attached.

I also tried to do some more testing in a clean chroot environment. There I
configured BRLTTY with --prefix=/home/myuser/brl and got issues during make
install:

/usr/bin/install -c -m 644 ./../brltty.pc /home/myuser/brl/lib/pkgconfig/brltty.pc
../getrevid -p "revision_identifier=" ../ >>/home/myuser/brl/lib/pkgconfig/brltty.pc
getrevid: unrecognized source repository type: ../
getrevid: revision identifier not known
make[1]: *** [Makefile:1183: install-pkgconfig-file] Error 3
make[1]: Leaving directory '/src/foreign/brltty/Programs'
make: *** [Makefile:48: install] Error 2

Thanks!
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brltty-2021-01-23.log.xz
Type: application/x-xz
Size: 6924 bytes
Desc: not available
URL: <http://brltty.app/pipermail/brltty/attachments/20210123/08c440a7/attachment.xz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://brltty.app/pipermail/brltty/attachments/20210123/08c440a7/attachment.sig>


More information about the BRLTTY mailing list