[BRLTTY] how to start and stop brltty
John Covici
covici at ccs.covici.com
Mon Feb 22 00:46:09 EST 2021
hmmm, I tried starting brltty.path and systemd says its running, but
no brltty is running.
Here is what my logs say:
brltty.path has finished successfully.
░░
░░ The job identifier is 1218309.
Feb 22 00:40:24 ccs.covici.com systemd[1]: Starting BRLTTY Instance:
/etc/brltty.conf...
░░ Subject: A start job for unit brltty at -etc-brltty.conf.service has
begun execution
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ A start job for unit brltty at -etc-brltty.conf.service has begun
execution.
░░
░░ The job identifier is 1218000.
Feb 22 00:40:24 ccs.covici.com systemd[1227498]:
brltty at -etc-brltty.conf.service: Failed to determine user credentials:
No such process
Feb 22 00:40:24 ccs.covici.com systemd[1227498]:
brltty at -etc-brltty.conf.service: Failed at step USER spawning
/sbin/modprobe: No such process
░░ Subject: Process /sbin/modprobe could not be executed
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ The process /sbin/modprobe could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Feb 22 00:40:24 ccs.covici.com systemd[1227499]:
brltty at -etc-brltty.conf.service: Failed to determine user credentials:
No such process
Feb 22 00:40:24 ccs.covici.com systemd[1227499]:
brltty at -etc-brltty.conf.service: Failed at step USER spawning
/sbin/modprobe: No such process
░░ Subject: Process /sbin/modprobe could not be executed
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ The process /sbin/modprobe could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Feb 22 00:40:24 ccs.covici.com systemd[1227500]:
brltty at -etc-brltty.conf.service: Failed to determine user credentials:
No such process
Feb 22 00:40:24 ccs.covici.com systemd[1227500]:
brltty at -etc-brltty.conf.service: Failed at step USER spawning
/libexec/brltty/systemd-wrapper: No such process
░░ Subject: Process /libexec/brltty/systemd-wrapper could not be
executed
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ The process /libexec/brltty/systemd-wrapper could not be executed
and failed.
░░
░░ The error number returned by this process is ERRNO.
Feb 22 00:40:24 ccs.covici.com systemd[1]:
brltty at -etc-brltty.conf.service: Main process exited, code=exited,
status=217/USER
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ An ExecStart= process belonging to unit
brltty at -etc-brltty.conf.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 217.
Feb 22 00:40:24 ccs.covici.com systemd[1]:
brltty at -etc-brltty.conf.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ The unit brltty at -etc-brltty.conf.service has entered the 'failed'
state with result 'exit-code'.
Feb 22 00:40:24 ccs.covici.com systemd[1]: Failed to start BRLTTY
Instance: /etc/brltty.conf.
░░ Subject: A start job for unit brltty at -etc-brltty.conf.service has
failed
░░ Defined-By: systemd
░░ Support: https://gentoo.org/support/
░░
░░ A start job for unit brltty at -etc-brltty.conf.service has finished
with a failure.
░░
░░ The job identifier is 1218000 and the job result is failed.
On Sun, 21 Feb 2021 22:35:18 -0500,
Dave Mielke wrote:
>
> [quoted lines by John Covici on 2021/02/21 at 15:58 -0500]
>
> >Also, looking at the only service unit, it says RefuseManualStart=true
> >so I seem to have no way to just say systemctl start brltty
>
> Okay, I understand your question, now. If you really want to just start brltty
> then start the brltty.path unit.
>
> Just starting brltty, these days, isn't necessarily the right thing to do. This
> is because udev also starts brltty. If you don't have brltty's udev rules then
> just starting brltty is okay. If, however, you do have them then you should
> configure the general brltty to not look for USB devices. An easy way to do
> this would be to have this line in brltty.conf:
>
> braille-device bluetooth:
>
> By the way: It's often handy to check the description within a systemd unit
> file. The brltty.path unit contains this line:
>
> Description=Default BRLTTY Instance
>
> --
> I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
> Dave Mielke | 2213 Fox Crescent | WebHome: http://Mielke.cc/
> EMail: Dave at Mielke.cc | Ottawa, Ontario | Twitter: @Dave_Mielke
> Phone: +1 613 726 0014 | Canada K2A 1H7 |
>
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici at ccs.covici.com
More information about the BRLTTY
mailing list