Re: [BRLTTY] Restarting brltty via .path service

2023-10-12 Thread Chevelle

Did you try
systemctl stop brltty.service
systemctl start brltty.service
Not saying that will fix the problem, but maybe it will give you some 
information.




On 10/12/23 16:14, Rob Hudson wrote:

I have a display connected via USB to serial, so brltty is invoked with 
brltty@path.service. But how do you restart that? If I try, I get:
Failed to restart brltty@path.service: Operation refused, unit 
brltty@path.service may be requested by dependency only (it is configured to 
refuse manual start/stop).
Thanks.
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty


Re: [BRLTTY] Something is missing

2023-08-27 Thread Chevelle
    On your Debian system confirm that the package brltty-x11 is 
installed, if not then install it.

If you did that already, then I'm out of ideas.


On 8/27/23 16:27, Life in Six Dots wrote:

In Debian when I press CTRL+ALT+F3 I am taken to the TTY Failsafe Terminal. I 
DO have braille input. BUT I don't have braille input in the GUI or the 
terminal when I press CTRL+ALT+T. I'm not interested in inputting characters 
per se. It's being able to control the screen reader. To switch braille tables, 
and navigate.

-Original Message-
From: Chevelle 
Sent: Sunday, August 27, 2023 3:56 PM
To: Informal discussion between users and developers of BRLTTY. ; 
Life in Six Dots 
Subject: Re: [BRLTTY] Something is missing

  Can you explain more precisely what you are doing?  Take Debian for 
example, the default console when the GUI is running is #7.  If you press 
control-alt-f3 for example you would go to #3 which should be a text console.  
Are you saying nothing is read by BRLTTY?


On 8/27/2023 8:45 AM, Life in Six Dots wrote:

Hello Adrian, I have and it makes no difference. I'm currently on
Ubuntu
22.04 MATE LTS and I can read the terminal but nothing in the GUI. On
the other systems it's the opposite. I can read the GUI but not the
terminal. I cannot fathom it. Paul

-Original Message-
From: BRLTTY  On Behalf Of Adrian van
Bloois
Sent: Sunday, August 27, 2023 1:41 PM
To: Informal discussion between users and developers of BRLTTY.

Subject: Re: [BRLTTY] Somwthing is missing

Have you tried  F7 ???
On Sun, Aug 27, 2023 at 01:21:10PM +0100, Life in Six Dots wrote:

Is there a way to switch from text mode to the GUI as I think this
might be my problem. Paul

   


From: BRLTTY  On Behalf Of Life in Six
Dots
Sent: Sunday, August 27, 2023 12:55 PM
To: 'Informal discussion between users and developers of BRLTTY.'

Subject: [BRLTTY] Somwthing is missing

   


Hello BRLTTY Developers,

   


I am still having an issue with the braille keyboard when I do a
clean install of the latest images of Debian 12, Ubuntu 22.04 LTS,
and 23.04. BUT if I install a slightly older image of Ubuntu MATE
22.04 LTS I have keyboard input.

   


I have also installed the latest image of Slint and I did have
keyboard input during the installation but not after. The kernel
version I currently have installed in 6.1.40.

   


I do have keyboard input when access the TTY failsafe terminal.

   


I personally think it has something to do with the latest builds of
BRLTTY when it is 6.4, or 6.5. I have not tried version 6.6. I have
installed these distros on different machines to ensure it wasn't
down to some funky driver issue. And tried five different braille displays.

   


I've also concluded that it is not a kernel or TIOCS issue. I hope
you will investigate this.

   


Paul

   

   


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app For general
information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Something is missing

2023-08-27 Thread Chevelle
    Can you explain more precisely what you are doing?  Take Debian for 
example, the default console when the GUI is running is #7.  If you 
press control-alt-f3 for example you would go to #3 which should be a 
text console.  Are you saying nothing is read by BRLTTY?



On 8/27/2023 8:45 AM, Life in Six Dots wrote:

Hello Adrian, I have and it makes no difference. I'm currently on Ubuntu
22.04 MATE LTS and I can read the terminal but nothing in the GUI. On the
other systems it's the opposite. I can read the GUI but not the terminal. I
cannot fathom it. Paul

-Original Message-
From: BRLTTY  On Behalf Of Adrian van Bloois
Sent: Sunday, August 27, 2023 1:41 PM
To: Informal discussion between users and developers of BRLTTY.

Subject: Re: [BRLTTY] Somwthing is missing

Have you tried  F7 ???
On Sun, Aug 27, 2023 at 01:21:10PM +0100, Life in Six Dots wrote:

Is there a way to switch from text mode to the GUI as I think this
might be my problem. Paul

  


From: BRLTTY  On Behalf Of Life in Six Dots
Sent: Sunday, August 27, 2023 12:55 PM
To: 'Informal discussion between users and developers of BRLTTY.'

Subject: [BRLTTY] Somwthing is missing

  


Hello BRLTTY Developers,

  


I am still having an issue with the braille keyboard when I do a clean
install of the latest images of Debian 12, Ubuntu 22.04 LTS, and
23.04. BUT if I install a slightly older image of Ubuntu MATE 22.04
LTS I have keyboard input.

  


I have also installed the latest image of Slint and I did have
keyboard input during the installation but not after. The kernel
version I currently have installed in 6.1.40.

  


I do have keyboard input when access the TTY failsafe terminal.

  


I personally think it has something to do with the latest builds of
BRLTTY when it is 6.4, or 6.5. I have not tried version 6.6. I have
installed these distros on different machines to ensure it wasn't down
to some funky driver issue. And tried five different braille displays.

  


I've also concluded that it is not a kernel or TIOCS issue. I hope you
will investigate this.

  


Paul

  

  


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app For general
information, go to: http://brltty.app/mailman/listinfo/brltty



___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

[BRLTTY] is documentation correct? was Re: Misssing files in BRLTTY Ubuntu

2023-08-20 Thread Chevelle
    I can't find brltty-setcaps on Debian either.  Maybe there is a 
space in the command so '-setcaps' is a parameter, I don't know.


I wonder if it was a script and the functionality was moved into the 
program, or if it isn't in Brltty 6.5.



On 8/20/2023 10:02 AM, Life in Six Dots wrote:


Hello Chevelle,

Thanks for the reply. Here is the documentation for ‘brltty-setcaps’: 
https://brltty.app/doc/Linux.html#the-brltty-setcaps-script


I know that I have to do it with root privileges, but I cannot kill 
the running process, or I won’t be able to read what is happening (I 
can’t hear speech).


The command does not exist on my system:

$ command -v brltty-setcaps

I don’t get any output.

Paul

*From:*Chevelle 
*Sent:* Sunday, August 20, 2023 2:52 PM
*To:* Informal discussion between users and developers of BRLTTY. 
; Life in Six Dots 

*Subject:* Re: [BRLTTY] Misssing files in BRLTTY Ubuntu

    I can't find where setcaps is documented.  configuration files for 
brltty are under /etc/brltty.


I think in order to execute 'brltty -setcaps' you would have to kill 
the running instance of brltty first, and then invoke it mannually.  
To do that on Ubuntu, you would have to put 'sudo' in front of the 
commands.  This probably isn't really what you want, it would be 
better to set something in a configuration file.


On 8/20/2023 9:05 AM, Life in Six Dots wrote:

Hello all,

I have found that some files are missing on Ubuntu 23.04 (BRLTTY
6.5), and as such I can’t use the command brltty-setcaps to grant
permission for cap_sys_admin, cap_sys_tty_config, cap_mknod. This
explains why I can’t use the braille keyboard to input.

Can someone with more experience than me check the build with the
.deb file as I had this issue with Debian as well.

How would I go about finding the missing files on my system? I
can’t seem to access /bin/brltty to see if the setcaps file is there.

I hope some can assist.

Paul



___

This message was sent via the BRLTTY mailing list.

To post a message, send an e-mail to:BRLTTY@brltty.app

For general information, go to:http://brltty.app/mailman/listinfo/brltty


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to:BRLTTY@brltty.app
For general information, go to:http://brltty.app/mailman/listinfo/brltty___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Misssing files in BRLTTY Ubuntu

2023-08-20 Thread Chevelle
    I can't find where setcaps is documented.  configuration files for 
brltty are under /etc/brltty.


I think in order to execute 'brltty -setcaps' you would have to kill the 
running instance of brltty first, and then invoke it mannually.  To do 
that on Ubuntu, you would have to put 'sudo' in front of the commands.  
This probably isn't really what you want, it would be better to set 
something in a configuration file.




On 8/20/2023 9:05 AM, Life in Six Dots wrote:


Hello all,

I have found that some files are missing on Ubuntu 23.04 (BRLTTY 6.5), 
and as such I can’t use the command brltty-setcaps to grant permission 
for cap_sys_admin, cap_sys_tty_config, cap_mknod. This explains why I 
can’t use the braille keyboard to input.


Can someone with more experience than me check the build with the .deb 
file as I had this issue with Debian as well.


How would I go about finding the missing files on my system? I can’t 
seem to access /bin/brltty to see if the setcaps file is there.


I hope some can assist.

Paul


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to:BRLTTY@brltty.app
For general information, go to:http://brltty.app/mailman/listinfo/brltty___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] compiling latest for Bookworm?

2023-08-15 Thread Chevelle

Ok, picked up your update from GIT, then

./configure -q

I get these warnings:

configure: WARNING: Libbraille package not found: /usr /usr/local 
/usr/local/Libbraille /usr/local/libbraille /opt/Libbraille 
/opt/libbraille /mingw /mingw/Libbraille /mingw/libbraille
configure: WARNING: Mikropuhe package not found: /usr /usr/local 
/usr/local/Mikropuhe /usr/local/mikropuhe /opt/Mikropuhe /opt/mikropuhe 
/mingw /mingw/Mikropuhe /mingw/mikropuhe
configure: WARNING: Swift package not found: /usr /usr/local 
/usr/local/Swift /usr/local/swift /opt/Swift /opt/swift /mingw 
/mingw/Swift /mingw/swift
configure: WARNING: Theta package not found: /usr /usr/local 
/usr/local/Theta /usr/local/theta /opt/Theta /opt/theta /mingw 
/mingw/Theta /mingw/theta



Are these necessary for Debian?

Thanks.

On 8/15/23 14:44, Dave Mielke wrote:

[quoted lines by Chevelle on 2023/08/15 at 14:35 -0400]


If I compile the latest release from source I find that the Python package
python-all-dev has no installation candidate.  I assume it wants
python3-all-dev.  If this is correct the developers may want to update the
file

Tools/reqpkgs.d/debian:python-all-dev

Thanks. Done. Both were actually in the list so the change was to just remove 
python-all-dev.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

[BRLTTY] compiling latest for Bookworm?

2023-08-15 Thread Chevelle

    In the documentation at https://brltty.app/download.html#current

it says there are Debian packages at 
ftp://ftp.debian.org/debian/pool/main/b/brltty/


This link seems to be broken.

If I compile the latest release from source I find that the Python 
package python-all-dev has no installation candidate.  I assume it wants 
python3-all-dev.  If this is correct the developers may want to update 
the file


Tools/reqpkgs.d/debian:python-all-dev

Thanks.




___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] 问题反馈

2023-07-22 Thread Chevelle
    Under the NVDA Braille settings there is a checkbox called 'Avoid 
Splitting Words When Possible'.  Maybe that could help if you haven't 
changed it.



On 7/20/2023 3:50 AM, ChengYing wrote:


Brltty的开发人员们你们好,我来自中国,可以称呼我程溁。是这样的,我使用的是Windows 
11的系统,平时需要使用NVDA屏幕月读器配合Metec盲文显示器查看盲文,但我发现每次只能显示38方,希望能够修复此问题或给出解决方案,非常感谢。


Hello, developers of Brltty, I am from China, you can call me Cheng 
Ying. That’s right, I’m using a Windows 11 system, and I usually need 
to use the NVDA screen monthly reader to view braille with the Metec 
braille display, but I find that it can only display 38 squares at a 
time, I hope to fix this problem or give a solution, thank you very much.



___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to:BRLTTY@brltty.app
For general information, go to:http://brltty.app/mailman/listinfo/brltty___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] testing display

2023-04-18 Thread Chevelle
You need to know what 'com' port the Alva is connected to, and that can 
change depending on what USB port your USB adapter is plugged into.


You can tap the windows key and type 'device manager' then open the 
device manager and find the 'Com And LPT ports'.  This can show you what 
you have.



    For serial connections, you can use the mode command to check if 
the 'com' port is alive.


Open a command prompt with Windows-r or however you wish, then:

mode com4:9600

If it says com4 is an illegal device name, then you know that port isn't 
working.


After you know the port is working, try installing BRLTTY.



On 4/18/2023 8:59 AM, Howard Traxler wrote:

Good morning all,

I have an ALVA 80-cell display that I'd like to use with my windows 10 
computer with NVDA and some ham radio software.  I have the choice of 
the old style serial or parallel connections.  I'd like to plug in the 
display and be able to test to see if the computer is talking to the 
display.  Wonder if someone could suggest what I might do to make such 
a test?



Thank you anybody.

Howard



___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] [OT] GUI applications not working when on text console

2023-04-18 Thread Chevelle


On 4/17/2023 11:19 PM, Nicole Fontenot (Nicki) wrote:

I am interested in how you setup metacity. I am not on Debian, but am largely 
familiar with it.
Hello,


I think I found an article that shows how to do it, but it is using a 
procedure like this.


as root or using 'sudo' enter:
apt install metacity

From a shell prompt as my ID
gsettings set org.mate.session.required-components windowmanager metacity

Then I rebooted.
It does work and seems to get rid of hung processes, although it may be 
slightly less convenient than Marco because some of the key bindings 
like alt-control-t to open the terminal aren't mapped by default.
You could fall back to Marco using the  'gsettings' command and changing 
the last argument.



On Apr 10, 2023, at 9:51 PM, Chevelle  wrote:

I set up Debian to use Metacity, which is not difficult.  If you want the 
instructions, let me know, but it isn't a good long term solution.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] [OT] GUI applications not working when on text console

2023-04-10 Thread Chevelle
    If you can kill the Marco process from another console and the 
problem clears, then you will know that is probably it.  I set up Debian 
to use Metacity, which is not difficult.  If you want the instructions, 
let me know, but it isn't a good long term solution.


If the problem happens, you can get out of it by pressing insert-space 
in ORCA, or possibly by moving the mouse pointer.



On 4/10/2023 3:55 PM, S. Massy wrote:

Hello,
Interesting idea. Might be worth trying a different window manager.
Thanks,
S.M.
On Mon, Apr 10, 2023 at 03:50:32PM -0400, Chevelle wrote:

     Are you running Mate?  Maybe it could be related to the bug where the
Marco process becomes hung, but this is just a guess.


On 4/10/2023 11:20 AM, S. Massy wrote:

Hello,
Starting in the last two years or so, I have been seeing applications
become unresponsive when I am not in X. A typical example is the spotify
client. If I set music playing and then switch to a TTY, playback will
eventually stop, usually when a new track would start. Furthermore,
trying to talk to the client via D-BUS from the console will block until
I switch back to X. All of this used to work fine until circa 2021. I
assume this is linked to some kind of security policy but I'm not sure
where to start. Has anybody any suggestions?
Thanks,
S.M.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] [OT] GUI applications not working when on text console

2023-04-10 Thread Chevelle
    Are you running Mate?  Maybe it could be related to the bug where 
the Marco process becomes hung, but this is just a guess.



On 4/10/2023 11:20 AM, S. Massy wrote:

Hello,
Starting in the last two years or so, I have been seeing applications
become unresponsive when I am not in X. A typical example is the spotify
client. If I set music playing and then switch to a TTY, playback will
eventually stop, usually when a new track would start. Furthermore,
trying to talk to the client via D-BUS from the console will block until
I switch back to X. All of this used to work fine until circa 2021. I
assume this is linked to some kind of security policy but I'm not sure
where to start. Has anybody any suggestions?
Thanks,
S.M.

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Sometimes single character input on laptop keyboard gives many copies of that character

2023-03-05 Thread Chevelle
    I assume you have a graphical desktop running since you show a 
'sudo' command. In Ubuntu and other distributions, you can turn off 
repeated keystrokes:


https://help.ubuntu.com/stable/ubuntu-help/keyboard-repeat-keys.html.en

I think there are also known bugs with terminal interaction that don't 
have to do with 'brltty'.




On 3/4/2023 1:07 AM, Nicole Fontenot (Nicki) wrote:

Hello! I hope you are well.

brltty version: 6.5
Invocation: sudo brltty -n -r -p hw:0,0
brltty.conf:
speech-driveren #espeak-ng
keyboard-table  laptop
log-file/tmp/brltty.log
screen-driver lx #Linux

When I type into my Linux tty sometimes a character I pressed gets input more 
times than I pressed it. It seems to get a little worse when I use the 
backspace key. It also seems to be worse while inside TUI like vim or weechat. 
Is there something wrong with my config? I am a new user so I may have 
mis-configured something.

Is there anything else about my setup that needs to be shared?


Best wishes,

Nicole F.
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] brlapi problems with the Canute

2023-02-02 Thread Chevelle
    Are you using the BRLTTY 6.5 from December 19?  I thought the 
Python warnings went away with that one.




On 2/1/2023 3:47 PM, Stefan Moisei wrote:

Hi Samuel,
thanks for your reply.
"
What is telling you this? Is that NVDA, or is that a simple python
program that you run?"
"
nvda. I can't install standalone brlapi due to 3.
"
Honestly I haven't followed. What the message seems to be saying is that
you need the *32bit* version of python.
"
right. And that is exactly what I did, I installed python 3.8 and 3.11 
32 bit, bbut they are not detected by the installer.


-- Original Message --
From: "Samuel Thibault" 
To: "Stefan Moisei" ; "Informal discussion between 
users and developers of BRLTTY." 

Sent: 31.01.2023 23:07:28
Subject: Re: [BRLTTY] brlapi problems with the Canute


Hello,

Stefan Moisei, le sam. 28 janv. 2023 19:42:39 +, a ecrit:

 1. I made it work in brltty, it works in the windows console.
 2. I tried the brlapi from NVDA  (I think it is 0.8) after net 
start brlapi and

 got this:

 brlapi.OperationError: 
 for get display size, get driver name, write text etc..


What is telling you this? Is that NVDA, or is that a simple python
program that you run?

 3. I tried a standalone brlapi included in the brltty kit, but it 
refuses to
 install, claming I don't have 32 bit python, even though I tried 
3.8 and 3.11.

 WWhat version should I use?


Honestly I haven't followed. What the message seems to be saying is that
you need the *32bit* version of python.

 4.  I also thought of using the java bindings, since I saw in the 
source that

 they exist, but could not find binaries.


I have no idea what the proper way is to build java bindings on windows.

Samuel


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Brltty on windows

2022-12-22 Thread Chevelle
    It almost sounds like the older version of BRLTTY is still 
installed.  You could go to Add/Remove Programs and remove BRLTTY and do 
a clean reinstall.



On 12/22/2022 5:04 PM, Dave Mielke wrote:

[quoted lines by Dietmar Segbert on 2022/12/22 at 08:32 +0100]


brlap is enabled and run-brltty works in a window.

You shouldn't be doing both since that'd mean two brltty processes trying to 
control the same braille device. If you're using enable-brlapi then check 
service.log, and if you're using run-brltty or debug-brltty then check 
brltty.log.


On the combibralle is the text "no windows in foreground".

That confirms that one of the brltty processes is communicating successfully 
with the braille device. That message - no windows in foreground - would have 
to do with how the Windows screen driver is seeing things.


If i start the Brlapi-0.8.4.win-amd64.exe in the "python" directory under
../brltty/ a setup starts and did not find the python 32 bit version and
did not compile something.

Unless you're actually using BrlAPI via its Python bindings, that shouldn't 
matter.


python 3.8.7 32bit ist installed. It is to find under the C:\Users\...
python\python38\.

I think it'd be unlikely that something at the system level would be looking 
there.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Beta build for brltty on Windows.

2022-12-20 Thread Chevelle
You can bring up the Device Manager in Windows and find Ports COM and 
LPT.  This will show you what ports Windows thinks are active.  Hit the 
Windows key and start typing Device.




On 12/20/2022 1:18 PM, Pawel Loba wrote:
I checked the contents of brltty.conf file and it states Alva on 
ComPort2 as it should be. And yes, under Linux on the same machine 
Alva is connected to ttyS1.


On 12/20/2022 11:50 AM, Dave Mielke wrote:

[quoted lines by Pawel Loba on 2022/12/20 at 06:33 -0500]


All of the variants:

    screen-parameters wn:root=yes
    screen-parameters wn:followFocus=no

    screen-parameters wn:root=no
    screen-parameters wn:followFocus=yes

    screen-parameters wn:root=no
    screen-parameters wn:followFocus=no

    screen-parameters wn:root=yes
    screen-parameters wn:followFocus=yes
made no difference. I believe that BRLTTy is active, howver the 
display does

not refresh.
It's possible that you're specifying (in brltty.conf) the wrong 
serial port, especially since the numbering is different on Linux 
versus on Windows. For example, ttyS1 on Linux would be COM2 on 
Windows. If your computer only has one serial port then the 
likelihood is that it's ttS0 on Linux and COM1 on Windows.



___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Trying to install

2022-12-19 Thread Chevelle
    Maybe you can open a command prompt and run run-brltty.bat or 
debug-brltty.bat.  These should be in the Brltty directory.


When I try that it goes into a loopp saying it can't open the serial 
port, but my system may have a problem with the USB to serial converter 
driver, I'm not sure.


If you can do that you should get a 'brltty.log' file in the same 
directory.  Brltty should be able to work in the command prompt window 
without using NVDA.  If you can get that far at least you know BRLTTY is 
working.





On 12/19/2022 10:17 AM, Pawel Loba wrote:

Hello,
Just to let you know.
I just downloaded and installed brltty-win-6.5-203-libusb-1.0 on my 
Windows 10 system. Part of the installation was to select a Braille 
display (Alva in my case) and a com port (com port 1 in my case).


There was no error messages shown on the screen but my Alva 480 did 
not come up at all.


Next, I tried to use my Alva 480 with NVDA and Narrator and in both 
cases I got no errors reported but my unit did not start up.


On the same system, there is no issues running this unit in Slint 15 
and Devuan in the VMware player virtual machine.


Thank you,

Pawel



On 12/18/2022 12:14 PM, Dave Mielke wrote:

[quoted lines by Howard Traxler on 2022/12/16 at 18:09 -0600]

I have downloaded and installed BRLTTY. I've connected my Alva 380 
via com1 to my windows 10 computer running NVDA.
You might have problems with brltty itself so, to avoid that, please 
upgrade the new beta code (which identifies as 6.5-203).


BRLTTY shows up in the Braille choices in NVDA, but I get an error 
(could not load the BRLTTY display) when I choose it.
Someone else will need to help you with this one as I don't use 
Windows, so also not NVDA. Perhasp you could ask the NVDA people to 
let you know what this error means and possible ways to resolve it. 
For example, perhaps they're trying to start brltty in an older way 
which we no longer support.


Also, maybe there's a way that you can capture an NVDA debug log 
which contains more details.


I'm wondering if there is a way to tell if it's actually running and 
if it's ready for the next steps to make it work?
You could try the Windows command (without the quotes) "sc query 
brlapi". It's output should contain a line that starts with the word 
"state", which should be "running".


Another Windows command you might try (the quotes are required) is: 
tasklist -fi "imagename eq brltty.exe"



___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] trying to install

2022-12-16 Thread Chevelle
Several of us have tried to get it working on Windows, but there seems 
to be a couple problems.  If it doesn't work, you may want to wait until 
they can come out with an update or a suggested procedure.



On 12/15/22 23:47, Howard Traxler wrote:

Would like to install BRLTTY to use with NVDA and ALVA display.

In configuration, I find that parallel is not supported, so I chose 
com1.  Set up anva ABT80 to S1, 96,n,8,1.  Got the cord hooked up:  
The manual said I need a nul modem?


How can I tell if I have a match and things are working as they 
should?  Thank you for any help.

Howard


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] I can not run Tieman Braille Voyager with Brltty on Windows 10

2022-11-29 Thread Chevelle

    Last time I tried it on Windows 10, 64-bit it didn't work.

    When I ran the 'Brlapi-0.8.4.win32.exe' it failed with a message 
that Python version -32 isn't found in the Windows registry, so the 
installation fails.


Dave said he would look into it when his computer is repaired.



On 11/29/2022 11:29 AM, Martin Beran wrote:

Hello,
I am afraid my following e-mail from Saturday evening did not arrive 
so I am trying to send it again:



is it possible to run the Tieman Braille Voyager with Brltty on 32bit 
version of Windows 10 Home and NVDA?

I have tried so hard but without success.
I tried to install a very old driver from manufacturer, then installed 
Brltty with libusb win32 filter, after that I uninstalled original 
driver, in Brltty Configurator I chose Voyager but the result is the 
same in all cases:
when I am trying to set up my braille display as Brltty in NVDA 
configuration I get an error that tells me Brltty can not be loaded.
I do not know an english text of this error because I am using the 
Czech version of Windows and NVDA.

My Tieman Braille Voyager is conected via USB.
ALL USB drivers of my PC seem to be installed correctly - USB scanner 
and printer seem to work OK.


Thank You very much,

Martin Beran.
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] brltty 6.5 nvda python

2022-10-26 Thread Chevelle
    When I ran the 'Brlapi-0.8.4.win32.exe' it fails with a message 
that Python version -32 isn't found in the Windows registry, so the 
installation fails.



On 10/26/2022 2:39 PM, Dave Mielke wrote:

[quoted lines by Dietmar Segbert on 2022/10/26 at 15:38 +0200]

J>which version of python must to be used to build the *.dll.

I think brltty 6.5 was built with Python 3.8, but I won't be sure till I get 
that computer back.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] brltty 6.5 nvda python

2022-10-25 Thread Chevelle
    Yes, I can wait, I think there was somebody else trying to use the 
Windows build also.  When  you get something, ready let us know and we 
can try it out.


Thanks.


On 10/25/2022 5:58 PM, Dave Mielke wrote:

[quoted lines by Chevelle on 2022/10/24 at 21:01 -0400]


when I run the batch files they look for brltty.conf in //etc/brltty.conf.

Okay, that's a different problem. It's because the configuration directory, 
i.e. /etc/, isn't adjusted to be part of a relocatable build. This seemed 
reasonable (way back whenever) for a Linux system, but, really, I can see now 
that it's wrong. I can fix it for the next release. If you need a Windows build 
before then then are you able to wait a week (or more) for the computer that 
runs my Windows VM to be fixed?


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] brltty 6.5 nvda python

2022-10-24 Thread Chevelle
    Ok, I understand now it is valid Windows syntax, but when I run the 
batch files they look for brltty.conf in //etc/brltty.conf.


I was trying to figure out why that is:  First I ran 'brlttycnf.exe'.  
Then 'run-brltty.bat'.


I get this log

2022-10-24@20:50:48.125 BRLTTY 6.5 rev BRLTTY-6.5+ [https://brltty.app/]
2022-10-24@20:50:48.145 Log Level: info
2022-10-24@20:50:48.145 Messages Locale: en_US
2022-10-24@20:50:48.145 Messages Domain: brltty
2022-10-24@20:50:48.145 Messages Directory: 
C:/user/brltty-win-6.5-0-libusb-1.0/brltty-win-6.5-0-libusb-1.0/bin/../share/locale
2022-10-24@20:50:48.145 Working Directory: 
C:\user\brltty-win-6.5-0-libusb-1.0\brltty-win-6.5-0-libusb-1.0

2022-10-24@20:50:48.145 Configuration File: //etc/brltty.conf
2022-10-24@20:50:48.145 Preferences File: brltty.prefs

On 10/24/2022 4:05 PM, Dave Mielke wrote:

[quoted lines by Chevelle on 2022/10/24 at 15:26 -0400]


It is interesting that the batch files in the Windows release contain this
line.

set programFolder=%~dp0

It doesn't seem to be valid Windows syntax.  It doesn't appear to work on my
system.

Yes, it's valid. It means the directory component of the path to the script.


Maybe what is intended is to get the current install directory.

Perhaps it could say:

set programFolder=%CD%

'CD' would be the current directory.

No, that wouldn't be acceptabe. For example, it wouldn't work right if your 
current directory was somewhere else and you were invoking the script via its 
absolute path.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] brltty 6.5 nvda python

2022-10-24 Thread Chevelle

Thanks.

I found some of the Python source.

It is interesting that the batch files in the Windows release contain 
this line.


set programFolder=%~dp0

It doesn't seem to be valid Windows syntax.  It doesn't appear to work 
on my system.


Maybe what is intended is to get the current install directory.

Perhaps it could say:

set programFolder=%CD%

'CD' would be the current directory.

I'm sure Dave knows what is intended.


On 10/23/2022 5:34 PM, Samuel Thibault wrote:

Hello,

Chevelle, le mer. 12 oct. 2022 16:45:33 -0400, a ecrit:

     Where would I find the python source code used to create the Windows
driver?

It's within the brltty source code, ./Build/mk-windows, which calls
./Windows/mkwin.

Samuel

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] brltty 6.5 nvda python

2022-10-12 Thread Chevelle
    Where would I find the python source code used to create the 
Windows driver?  I downloaded brltty-win-6.5-0-libusb-1.0.  It appears 
the windows installer Brlapi-0.8.4.win32.exe. tries to install a DLL 
created with Python, but I don't know what is in that code.  I suspect 
there is an easier way to do this, but I don't know for sure.



On 10/11/2022 3:27 PM, Samuel Thibault wrote:

Hello,

Dietmar Segbert, le mar. 11 oct. 2022 18:39:00 +0200, a ecrit:

I have now installed python 32bit version 3.8.10 installer for windows,
which is the last installerpackage.

But there is no success. I become the same error, that there is no entry
in the registry for the python version.

I'm getting the same, I have no idea what is going wrong. Possibly NVDA
people will have an idea since they use it.

Samuel
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Using BRLTTY with touch screen input?

2022-07-13 Thread Chevelle
    The subject of this message talks about touch screen input. Most 
Braille displays have keys you can press to input Braille characters.  
I'm not sure Linux supports touch screen input on the console.  You 
probably need to have a GUI running, such as Mate desktop, along with    
      if you want to get touch gestures like Android does.  Somebody 
correct me if I'm wrong.  If you have an Android phone and a Braille 
display you could try using BRLTTY on that to see how it works.


The Linux on phone support is mostly at a phase where it is useful only 
to developers at this point because a lot of the Linux support is in an 
Alpha state for any given hardware.  I think Ubuntu Touch now has full 
support for a Pixel 3a, hopefully a lot more devices will follow.


See 
https://tuxphones.com/google-pixel-3a-full-stable-ubports-linux-ubuntu-touch-feature-support/



On 7/11/2022 5:01 PM, Rich Morin wrote:

Summary

I have some persistent notions about adding touch screen input (TSI) to 
Linux-based cell phones.  The motivation is to provide cheap, portable, and 
flexible communication and computing power to blind and visually impaired 
users.  I'd like some clues about whether and how to use BRLTTY as part of the 
stack.

Discussion

I gather that BRLTTY can accept braille input and feed it to the Linux console 
and that it also has some screen review and speech output capability.  Assuming 
that another subsystem is capable of detecting touch screen input, here are 
some obvious (if naive) questions:

- Is BRLTTY ever used with input-only devices (e.g., braille keyboards)?
- Is the speech output adequate to support convenient user interaction?
- What BRLTTY interface(s) would be the best (e.g., easiest) to use?
- What data formats does BRLTTY accept (e.g., ASCII, Braille, Unicode)?
- Is there a preferred software interface for control functions?
- What other software subsystems should I consider incorporating?

The lowest level user interface I have in mind for the device would be the 
Linux console.  Ideally, it would support a variety of higher-level programs.

The Stack

Here is a terse summary of the sort of stack I have in mind...

Hardware - Several billion Android cell phones have been sold.  Many of these 
cannot run current versions of Android.  So, they are cheaply and readily 
available.

OS - There are several Linux variants which run on cell phones.  postmarketOS, 
based on Alpine Linux, concentrates on older Android devices.

TSI - This subsystem would be structured as a graph of lightweight processes 
(i.e., Actors) and implemented using Elixir and assorted libraries.

BRLTTY - This would accept input, hand it off to the console, and provide user 
feedback in the form of generated speech.

??? - higher-level programs (e.g., menu systems, note takers, shells, terminal 
switches, text editors)

Comments?  Clues?  Suggestions?

-r

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Convert from 6-dot braille coding to human-readable text

2021-01-06 Thread Chevelle
NFBtrans had a back translation function.  It wasn't hard to compile on 
Linux, but it is old software now.



On 1/5/2021 3:34 AM, Xuebing Wang wrote:

Hi community,

I am trying to convert from 6-dot braille coding to human-readable
text (e.g. ascii), any suggestions on if there are any current
solutions or source codes that I can leverage? Thanks.

Xuebing Wang
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] [OT] How to integrate BSI into a Linux cell phone?

2020-08-18 Thread Chevelle

The Orbit Writer is new, so I have no experience with it.


http://www.orbitresearch.com/product/orbit-writer/

There is also a Podcast at  this link discussing it, which I haven't 
listened to yet.


http://www.dr-carter.com/


On 8/17/2020 11:13 PM, Rich wrote:

On Aug 17, 2020, at 16:47, Chevelle  wrote:

 Braille screen input would be fine, but the first challenge would be to get
Linux installed and have some accessible applications.

Agreed.  I've been working on that problem, mostly by assembling a 
machine-readable
list of plausible applications and some scripts to perform the installations.  
I've
been concentrating on Debian, so Mobian would be a drop-in, but reworking 
things to
support Alpine Linux shouldn't be all that hard.

In any case, braille screen input is a larger and longer-term effort, but I 
wanted
to get some feedback on it before diving in...


Many Braille displays already have keys that allow Braille input.  If I remember
correctly, some company is selling a $99 Braille keyboard that has Bluetooth.

Typically, braille displays are extremely expensive.  I'd love to have a link 
to the
$99 braille keyboard, if someone has it.


I would think your time would be better spent on making a Linux distribution
accessible, on phones. ...  This site shows Linux projects for use on phones.

https://many.tuxphones.com/

Thanks for the link!  I notice that most of the listings are for postmarketOS,
echoing their devices page (https://wiki.postmarketos.org/wiki/Devices).  My
suspicion is that postmarketOS is the best candidate for a base distribution,
but clearly this is subject to change at any time.

All of which brings me to a question of social engineering.  What is the best
way to build momentum for a blind-accessible Linux distribution for phones?  If
each interested person has a different phone and uses a different version of
Linux, the community will be so fragmented that nothing will come together.

So, my tendency is to start with a particular base distribution or two (e.g.,
postmarketOS, Mobian) and start adding packages.  However, another possible
focal point is the PinePhone, which supports a slew of OSes.  So, I don't know.

-r

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] [OT] How to integrate BSI into a Linux cell phone?

2020-08-17 Thread Chevelle
    Braille screen input would be fine, but the first challenge would 
be to get Linux installed and have some accessible applications. I find 
it hard to imagine using Braille Screen Input for any serious work.  
Many Braille displays already have keys that allow Braille input.  If I 
remember correctly, some company is selling a $99 Braille keyboard that 
has Blue tooth.  I would think your time would be better spent on making 
a Linux distribution accessible, on phones.


I don't want to discourage you.

This site shows Linux projects for use on phones.

https://many.tuxphones.com/


On 8/12/2020 11:39 AM, Rich wrote:

Although this question is somewhat off-topic, I'm hoping that some folks here
will find it interesting enough to give me a bit of slack.  Anyway, here goes...

Background

I'm a sighted, semi-retired, volunteer developer who is very interested in the
possibility of re-purposing Android cell phones as blind-accessible computing
and communication devices.  There are a number of projects working on re-using
the billions of aging cell phones that are out there.  Some, such as LineageOS,
start with an open source version of Android.  Others, such as postmarketOS and
Mobian, start with a more vanilla flavor of Linux (e.g., Alpine, Debian).

Although the first approach makes tons of Android software available, most of
this is GUI-based, so accessibility will generally be a challenge.  Basing the
system on Linux allows a wealth of CLI-based software to be used and helps to
anchor the resulting system more closely in the open source community.

Challenges

One of the biggest challenges, I suspect, will be providing an accessible form
of text input.  Most screen-based keyboards for cell phones aren't suitable,
a physical keyboard would add cost and bulk, and voice recognition (without the
support of cloud computing) still seems to be beyond the phone's capabilities.

So, I've been speculating about how to support Braille Screen Input (BSI) on a
Linux-based cell phone.  BSI is available on Android, Fire OS, and iOS (please
let me know if I'm missing any others!), but I haven't found any indication that
anyone is working on supporting it for any form of Linux.

I think I have a handle on how to architect the front end of the code, using a
set of Actors (lightweight processes) running on a foundation of Elixir, Erlang,
and OTP.  However, I'm totally out of my depth when it comes to interfacing the
code to other apps, the window system, and the rest of the OS.

Should I be looking into D-Bus, GTK, Qt, or what?  Also, are there any ways the
code could leverage BRLTTY, Emacspeak, Orca, etc?  How would typical blind users
want a BSI subsystem to act in this context?  I'm really confused here, so I'm
asking for advice, comments, and so forth.

-r

P.S.  There is at least one physical keyboard which isn't totally out of the
question for use with a cell phone.  It's a folding keyboard/touchpad combo that
supports both Bluetooth and USB.  It's about 6" x 3.8" x 0.5" when folded up and
12" x 3.8" x 0.25" when unfolded:

Foldable Bluetooth Keyboard, Jelly Comb Dual Mode Bluetooth & USB
Wired Rechargable Portable Mini BT Wireless Keyboard with Touchpad Mouse
for Android, Windows, PC, Tablet-Black
https://www.amazon.com/gp/product/B07S9XZDGY

  
___

This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Windows First Run

2019-10-09 Thread Chevelle
    Yes, Dave, the batch files could presumably be written in Visual 
BASIC.  The example seems to contain a couple lines of VBS code.  I 
think it was intended as a drop-in solution for existing batch files.


I haven't done much with VBS.


On 10/8/2019 10:39 PM, Dave Mielke wrote:

[quoted lines by Chevelle on 2019/10/08 at 20:58 -0400]


Yes, possibly when you zip the files and move it to another system, the
security properties get changed.

Perhaps, but, to my knowledge, the .zip file isn't being made with any special
security properties.


There is a description of how to create a batch file that elevates itself at
this URL.

https://stackoverflow.com/questions/6811372/how-to-code-a-bat-file-to-always-run-as-admin-mode

The explanation of that code says that it creates a .vbs script which elevates
the privilegs and then reruns the original .bat script. Mightn't it be better,
then, to just rewrite each of the three .bat scruots as .vbs scripts?


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Windows First Run

2019-10-08 Thread Chevelle
The log file should be in the same directory where the run-debug.bat 
is.  It is called debug.log.


If you notice an error about not connecting to a named pipe, it probably 
means it needs elevated privileges.



On 10/7/2019 6:51 PM, Oriana Neulinger wrote:
Sorry if this creates a new thread, i couldn't figure out how to reply 
to a thread presented in "digest mode".


Further experiments:

1) On 6.0, running the app "brltty in debug mode" caused a command 
prompt to open and run, but we were unable to set any choices, it got 
stuck in a loop in not finding a usb device (pebkac issue, later 
solved), but we were unable to find the log afterward. Still, if we 
can hack this bat, it might provide some kind of solution, since the 
program was at least found.


2) Downloaded and installed 5.6. There is still no app to run BRLTTY 
in the apps menu, and the command prompt still doesn't recognize the 
command. After successfully completing the setup of the alva's new 
serial-to-usb converter (whoops) and correctly setting the 
configurator app we tried the debugging app again and after the 
command prompt displayed a whole lot of...


serial: output: (hex)
output packet: sent: (hex)

...the alva changed it's display from the alva boot-up message to the 
letter "t" regardless of active window and cursor position.


Hey, a mote of success.

We still couldn't find the log file though.

3) conclusion: Unless the debugging application is a totally different 
binary, i think i might be able to walk her through creating a script 
to put in her startup menu, but now it seems we have a new problem 
*sweatdrop*


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Windows First Run

2019-10-08 Thread Chevelle
    Yes, possibly when you zip the files and move it to another system, 
the security properties get changed.  There is a description of how to 
create a batch file that elevates itself at this URL.


https://stackoverflow.com/questions/6811372/how-to-code-a-bat-file-to-always-run-as-admin-mode

I did it as an experiment, and it will install, but as they point out, 
it might get flagged by virus scanners because it was a technique that 
viruses use.


It is also possible to use Windows elevate programs in the batch file.

After Brltty is installed and NVDA is configured to work with it, it 
only works at the login screen.  After that it stops working. Oddly it 
also works if the User Account Control Dialogue comes up.  I'm not sure 
if this is an NVDA issue.


This is a sample batch file:

set "params=%*"
cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del 
"%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul 
|| (  echo Set UAC = CreateObject^("Shell.Application"^) : 
UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", 
"runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B )

@echo off
"%~dp0bin\brltty" -I
if NOT %ERRORLEVEL% == 0  exit /B %ERRORLEVEL%
net start BrlAPI



On 10/6/2019 11:57 PM, Dave Mielke wrote:

[quoted lines by Chevelle on 2019/10/06 at 20:34 -0400]


I still don't have it working.  The message

BRLTTY 6.0 rev unknown comes up if you run 'brltty' manually.  n.  I don't know 
if that is harmless or not.

Not withstanding my previous explanation, I just built the latest brltty code
on a Windows 10 system using its mkwin script in the usual way. I get the
following output when I cd to the directory where the install.bat script is and
type install:

BRLTTY 6.0 rev BRLTTY-6.0-76-gbb47e22eM [http://brltty.app/]
brltty.exe: service installed: BrlAPI
The Braille API (BrlAPI) service is starting.
The Braille API (BrlAPI) service was started successfully.

So, two things:

First: The revision isn't unknown - it's displayed correctly on the banner
line.

Second: It isn't reporting that the service name is invalid. The BrlAPI service
is being installed and started successfully.

I suppose that my account on this system could have been defined in "the right
way", whatever that is, but I've no idea what to look for.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Windows First Run

2019-10-06 Thread Chevelle
    I don't have Windows 7 any more.  I think one problem with Windows 
10 is that the device driver fails to install even if you log in as 
administrator.  I got around it by using run command prompt as 
Administrator.  Maybe that should be added to the README file.  For 
example, one way is to tap the windows key, then type comm to find 
Command Prompt.  Then tap the applications key and arrow up and down to 
Run As Administrator and press enter.  Make sure you hear the chime and 
the User Account control Dialogue comes up, and answer yes.  Then run 
the install.bat file.


There is another common method to change the permissions on the Brltty 
directory, but I didn't try that.



I still don't have it working.  The message

BRLTTY 6.0 rev unknown comes up if you run 'brltty' manually.  n.  I don't know 
if that is harmless or not.
I may try more experiments later this week.


On 10/6/2019 5:27 PM, Dave Mielke wrote:

[quoted lines by Chevelle on 2019/10/06 at 17:01 -0400]


     I had an older version, perhaps 5.2 working on Windows 7. Since the other
person was asking about it, I decided to try it on Windows 10.

We need to separate the two issues. One issue is what works on Windows 7 versus
what works on Windows 10, and the other is does any of this change when using
an older release of brltty versus when using a newer one. I'd appreciate it if
these two transitions could be tested separately rather than both at once.


If you look at the README file it says

"This is an unofficial build of BRLTTY 6.0 which also includes a few fixes
for Windows"

Yes, there are a coulpe of special patchdes for the Windows build, but the
build is official. The wording about it being an unofficial build is old and
will be fixed.


When I run the install.bat, I get these errors:

BRLTTY 6.0 rev unknown [http://brltty.app/]
brltty.exe: OpenSCManager error 5: Access is denied.
The service name is invalid.
The first error comes from the batch file running "brltty -I".

As mentioned above, we need to know if it works with 5.2 on Windows 10 and/or
if it fails with 6.0 on Windows 7. In other words, did Windows introduce a new
restriction or did we introduce a bug.


___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Re: [BRLTTY] Windows First Run

2019-10-05 Thread Chevelle

Search for brltty.exe and see if it was installed.

There is also a file called run-debug.bat which should produce a log 
file.  I suspect that the 6.0 release doesn't work on Windows 10, but 
somebody may have better results.






On 10/4/2019 6:32 PM, Oriana Neulinger wrote:

Hi,

I'm trying to help my friend set up an ALVA 544 on her windows 10 PC. 
We are using a serial-to-usb converter cable from the same brand 
that's worked for a user on the NVDA forums. However, despite 
installing BRLTTY twice, i guess the path didn't get set, as her 
Windows returns the error message "is not recognized as an internal or 
external command" when she tries to use the command prompt to run the 
program. I cannot find any troubleshooting information for this stage 
of the process, can anyone suggest a next step?


Thank you,
Oriana

___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.app
For general information, go to: http://brltty.app/mailman/listinfo/brltty