<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hello,<br>
<br>
<div class="moz-cite-prefix">Dňa 9. 12. 2022 o 19:04 Dave Mielke
napísal(a):<br>
</div>
<blockquote type="cite"
cite="mid:Y5N4mRJmITeeJMXK@beta.private.mielke.cc"><span style="white-space: pre-wrap">Yes, except that the executable doesn't know where the log file needs to be. Only the script knows that accurately.</span></blockquote>
Yes I see. The enable-api.bat script has or can be modified to know
the path to the config file.<br>
Inside this script we are calling brltty with the -I switch that
means install as a windows service.<br>
Brtty instance that installs the service should forward all its
arguments to this function except the -I flag if possible.<br>
<br>
<blockquote type="cite"
cite="mid:Y5N4mRJmITeeJMXK@beta.private.mielke.cc"><span style="white-space: pre-wrap"> Could you please run this command after you've edited in the log file path, and let me know how it looks?</span></blockquote>
Since service never successfully launches on my machine the settings
are never saved.<br>
This is the requested output.<br>
C:\Program Files (x86)\BRLTTY>reg query
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BrlApi /s<br>
<br>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BrlApi<br>
Type REG_DWORD 0x110<br>
Start REG_DWORD 0x2<br>
ErrorControl REG_DWORD 0x1<br>
ImagePath REG_EXPAND_SZ "C:/Program Files
(x86)/BRLTTY/bin/brltty.exe"<br>
DisplayName REG_SZ Braille API (BrlAPI)<br>
WOW64 REG_DWORD 0x14c<br>
ObjectName REG_SZ LocalSystem<br>
<br>
Still I am not sure this is the only problem.<br>
If I launch command prompt as administrator, I runn brltty like this
and I think brltty exits shortly after its start.<br>
Remember my run-brltty.bat is already tweaked with the correct path
to the brltty.conf file.<br>
<br>
C:\Program Files (x86)\BRLTTY>.\debug-brltty.bat<br>
Running BRLTTY. When done, close this window (for example, by using
the<br>
Alt-Space menu). The log file is: C:\Program Files
(x86)\BRLTTY\brltty.log<br>
brltty.exe: unknown log level or category: bluetooth<br>
BRLTTY 6.5 rev BRLTTY-6.5+ [<a class="moz-txt-link-freetext" href="https://brltty.app/">https://brltty.app/</a>]<br>
<br>
C:\Program Files (x86)\BRLTTY><br>
<br>
I am back on the command prompt and I can see no brltty process in
the task manager.<br>
The log of this run is attached.<br>
<br>
<br>
Greetings<br>
<br>
Peter<br>
<br>
</body>
</html>