[BRLTTY] [workaround] brltty crashing on windows with NVDA

2017-04-06 Thread Samuel Thibault
Hello,

It seems to be related with the auto-release of the device.  If you
don't use another screen reader with its own driver, you can modify
c:\Program Files\BRLTTY\etc\brltty.conf to work around the issue: in
that file, you can either

- find the line containing 

#release-device off

and remove the # sign there

- or just put

release-device off

at the end of the file.

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


Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Samuel Thibault
Felix Grützmacher - Help Tech Elektronik GmbH, on jeu. 06 avril 2017 16:26:43 
+0200, wrote:
> I'm trying to find out if Microsoft may have
> patched the version of BRLTTY that's downloaded automatically when they
> install Braille support.

The source seems to be downloadable on

https://3rdpartysource.microsoft.com/download/Redistributed%20OSS/5.4/brltty-5.4.zip

It seems to correspond to git 8d46edbf16 + a cherry-pick of 738c1d8b76
(which was submitted by microsoft at the time).

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

Re: [BRLTTY] compile for android

2017-04-06 Thread Dave Mielke
[quoted lines by mattias on 2017/04/06 at 18:22 +0200]

>i have only access to the builtin linux system for windows

I have no experience with it, but, from what I hear, it's more or less a Ubuntu 
system.

>so are it possible to compile?

You should be able to because our Android builds are done on Linux. You'll need 
to install Google's Android SDK (software development environment) and NDK 
(native development environment). The file README.Android contains a section on 
how to do it.

-- 
Dave Mielke   | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: d...@mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


[BRLTTY] compile for android

2017-04-06 Thread mattias

i have only access to the builtin linux system for windows

so are it possible to compile?

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


Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Felix Grützmacher - Help Tech Elektronik GmbH
Hello,
the problem occurred in both. I'm trying to find out if Microsoft may have
patched the version of BRLTTY that's downloaded automatically when they
install Braille support.
I'll also find out if it's just the machine I'm testing on that causes the
issue.
Kind regards,
Felix Grützmacher


Mit freundlichen Grüßen/Best regards

Felix Grützmacher
Softwareentwickler

Handy Tech Elektronik GmbH
Brunnenstraße 10
72160 Horb
Germany

Tel: +49 (0)7451 5546-37
Fax: +49 (0)7451 5546-67
E-Mail: felix.gruetzmac...@handytech.de  
Internet: www.handytech.de

Sitz der Gesellschaft: Horb-Nordstetten - Handelsregister Stuttgart HRB
440471 - Geschäftsführer: Dipl.-Ing. Siegfried Kipke - USt-IdNr.: DE 213 128
795
headquarter: Horb-Nordstetten · company registration office: Stuttgart HRB
440471 · owner / manager: Dipl.-Ing. Siegfried Kipke · USt-IdNr.: DE 213 128
795

Werden Sie Teil unserer Handy Tech Internetgemeinde und bleiben Sie immer
informiert!
Join the Handy Tech web-community and stay up to date!
Facebook: Deutsch, English, Youtube, Twitter, RSS-Feed: Deutsch, English


-Ursprüngliche Nachricht-
Von: BRLTTY [mailto:brltty-boun...@brltty.com] Im Auftrag von Dave Mielke
Gesendet: Donnerstag, 6. April 2017 15:52
An: Informal discussion between users and developers of BRLTTY.
Betreff: Re: [BRLTTY] Testing on Windows

[quoted lines by Felix Grützmacher - Help Tech Elektronik GmbH on 2017/04/06
at 14:01 +0200]

>short version: it works for me!
>We'll find out what they're doing and let you know.

Which version doesn't work for you? The one I recently built for you to test
with? What about our official 5.4 release?

-- 
Dave Mielke   | 2213 Fox Crescent | The Bible is the very Word of
God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: d...@mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com For general
information, go to: http://brltty.com/mailman/listinfo/brltty

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


Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Dave Mielke
[quoted lines by Felix Grützmacher - Help Tech Elektronik GmbH on 2017/04/06 at 
14:01 +0200]

>short version: it works for me!
>We'll find out what they're doing and let you know.

Which version doesn't work for you? The one I recently built for you to 
test with? What about our official 5.4 release?

-- 
Dave Mielke   | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: d...@mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty


Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Mario Lang
Felix Grützmacher - Help Tech Elektronik GmbH
 writes:

> short version: it works for me!

Good to know!

> We'll find out what they're doing and let you know.

Thanks.

I hear the Narrator add-on identifies itself as 5.4M.  That raises a few
questions.  If anyone can figure out the URL of the actual
download, that would be highly appreciated for analysis.

> -Ursprüngliche Nachricht-
> Von: BRLTTY [mailto:brltty-boun...@brltty.com] Im Auftrag von Mario Lang
> Gesendet: Donnerstag, 6. April 2017 11:30
> An: 'Informal discussion between users and developers of BRLTTY.'
> Betreff: Re: [BRLTTY] Testing on Windows
>
> Felix Gr tzmacher - Help Tech Elektronik GmbH 
>  writes:
>
>> I just tested Easy Braille (ID 0x44) with the following result:
>> 2017-04-06@10:17:55.937 USB: testing device: vendor=1FE4 product=0044
>> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0300 
>> Idx: Len:00FF
>> 2017-04-06@10:17:55.937 USB: control input: 04 03 09 04
>> 2017-04-06@10:17:55.937 USB: USB language: 409
>> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0301 
>> Idx:0409 Len:00FF
>> 2017-04-06@10:17:55.937 USB: control input: 36 03 48 00 61 00 6E 00 64 
>> 00 79 00 20 00 54 00 65 00 63 00 68 00 20 00 45 00 6C 00 65 00 6B 00 
>> 74 00 72 00 6F 00 6E 00 69 00 6B 00 20 00 47 00 6D 00 62 00 48 00
>> 2017-04-06@10:17:55.937 USB: Manufacturer Name: Handy Tech Elektronik 
>> GmbH
>> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0302 
>> Idx:0409 Len:00FF
>> 2017-04-06@10:17:55.937 USB: control input: 1A 03 45 00 61 00 73 00 79 
>> 00 20 00 42 00 72 00 61 00 69 00 6C 00 6C 00 65 00
>> 2017-04-06@10:17:55.937 USB: Product Description: Easy Braille
>> 2017-04-06@10:17:55.937 USB: setting configuration: 1
>> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0200 
>> Idx: Len:00FF
>> 2017-04-06@10:17:55.947 USB: control input: 09 02 29 00 01 01 00 80 32 
>> 09 04 00 00 02 03 00 00 00 09 21 10 01 00 01 22 46 20 07 05 81 03 3C 
>> 00 0A 07 05 02 03 3C 00 0A
>> 2017-04-06@10:17:55.947 USB: claiming interface: 0
>> 2017-04-06@10:17:55.947 program exit event added: 
>> sorted-usb-serial-adapters
>> 2017-04-06@10:17:55.947 USB: setup packet: Typ:81 Req:06 Val:2200 
>> Idx: Len:0720
>> 2017-04-06@10:17:55.947 USB: control input: 06 A0 FF 09 01 A1 01 09 01 
>> 15 00 25 FF 75 08 95 3C 81 00 09 02 15 00 25 FF 75 08 95 3C 91 00 C0
>> 2017-04-06@10:17:55.947 HID report not found: 01
>> 2017-04-06@10:17:55.947 USB: releasing interface: 0
>> 2017-04-06@10:17:55.947 braille driver initialization failed: ht -> USB:
>>
>> So this failed but for seemingly different reasons.
>> Hope this helps, and if there's any other way I can assist, please let me 
>> know.
>
> I am confused, esp. since I just learnt that I know someone who is 
> successfully running an AB4 with BRLTTY and Narrator (one of your resellers, 
> actually, I guess you know whom I'm talking about).
>
> So while the error above is another riddle, I too now think that you are 
> testing with a device which is different from what we originally had to 
> implement support for.  Or your libusb is corrupting packets.  Or
> something similarily strange.   To repeat, I know an AB4 user who is
> successfully using it on Windows with the BRLTTY version that is being 
> offered by Microsoft for download.  So, back to the drawing table:
> It would be very nice to know if your AB4 works on Linux.
>
> --
> CYa,
>   ? | Blog:   GitHub: 
>   .''`. | Twitter: @blindbird23FaceBook: disyled
>  : :' : | SoundCloud:   `. `'  | YouTube: 
> 
>`-
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com For general 
> information, go to: http://brltty.com/mailman/listinfo/brltty
>
> ___
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY@brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Blog:   GitHub: 
  .''`. | Twitter: @blindbird23FaceBook: disyled
 : :' : | SoundCloud: 
 `. `'  | YouTube: 
   `-
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Felix Grützmacher - Help Tech Elektronik GmbH
Hello again,
short version: it works for me!
We'll find out what they're doing and let you know.
Kind regards,
Felix

Mit freundlichen Grüßen/Best regards

Felix Grützmacher
Softwareentwickler

Handy Tech Elektronik GmbH
Brunnenstraße 10
72160 Horb
Germany

Tel: +49 (0)7451 5546-37
Fax: +49 (0)7451 5546-67
E-Mail: felix.gruetzmac...@handytech.de  
Internet: www.handytech.de

Sitz der Gesellschaft: Horb-Nordstetten - Handelsregister Stuttgart HRB 440471 
- Geschäftsführer: Dipl.-Ing. Siegfried Kipke - USt-IdNr.: DE 213 128 795
headquarter: Horb-Nordstetten · company registration office: Stuttgart HRB 
440471 · owner / manager: Dipl.-Ing. Siegfried Kipke · USt-IdNr.: DE 213 128 795

Werden Sie Teil unserer Handy Tech Internetgemeinde und bleiben Sie immer 
informiert!
Join the Handy Tech web-community and stay up to date!
Facebook: Deutsch, English, Youtube, Twitter, RSS-Feed: Deutsch, English


-Ursprüngliche Nachricht-
Von: BRLTTY [mailto:brltty-boun...@brltty.com] Im Auftrag von Mario Lang
Gesendet: Donnerstag, 6. April 2017 11:30
An: 'Informal discussion between users and developers of BRLTTY.'
Betreff: Re: [BRLTTY] Testing on Windows

Felix Gr tzmacher - Help Tech Elektronik GmbH  
writes:

> I just tested Easy Braille (ID 0x44) with the following result:
> 2017-04-06@10:17:55.937 USB: testing device: vendor=1FE4 product=0044
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0300 
> Idx: Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 04 03 09 04
> 2017-04-06@10:17:55.937 USB: USB language: 409
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0301 
> Idx:0409 Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 36 03 48 00 61 00 6E 00 64 
> 00 79 00 20 00 54 00 65 00 63 00 68 00 20 00 45 00 6C 00 65 00 6B 00 
> 74 00 72 00 6F 00 6E 00 69 00 6B 00 20 00 47 00 6D 00 62 00 48 00
> 2017-04-06@10:17:55.937 USB: Manufacturer Name: Handy Tech Elektronik 
> GmbH
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0302 
> Idx:0409 Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 1A 03 45 00 61 00 73 00 79 
> 00 20 00 42 00 72 00 61 00 69 00 6C 00 6C 00 65 00
> 2017-04-06@10:17:55.937 USB: Product Description: Easy Braille
> 2017-04-06@10:17:55.937 USB: setting configuration: 1
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0200 
> Idx: Len:00FF
> 2017-04-06@10:17:55.947 USB: control input: 09 02 29 00 01 01 00 80 32 
> 09 04 00 00 02 03 00 00 00 09 21 10 01 00 01 22 46 20 07 05 81 03 3C 
> 00 0A 07 05 02 03 3C 00 0A
> 2017-04-06@10:17:55.947 USB: claiming interface: 0
> 2017-04-06@10:17:55.947 program exit event added: 
> sorted-usb-serial-adapters
> 2017-04-06@10:17:55.947 USB: setup packet: Typ:81 Req:06 Val:2200 
> Idx: Len:0720
> 2017-04-06@10:17:55.947 USB: control input: 06 A0 FF 09 01 A1 01 09 01 
> 15 00 25 FF 75 08 95 3C 81 00 09 02 15 00 25 FF 75 08 95 3C 91 00 C0
> 2017-04-06@10:17:55.947 HID report not found: 01
> 2017-04-06@10:17:55.947 USB: releasing interface: 0
> 2017-04-06@10:17:55.947 braille driver initialization failed: ht -> USB:
>
> So this failed but for seemingly different reasons.
> Hope this helps, and if there's any other way I can assist, please let me 
> know.

I am confused, esp. since I just learnt that I know someone who is successfully 
running an AB4 with BRLTTY and Narrator (one of your resellers, actually, I 
guess you know whom I'm talking about).

So while the error above is another riddle, I too now think that you are 
testing with a device which is different from what we originally had to 
implement support for.  Or your libusb is corrupting packets.  Or
something similarily strange.   To repeat, I know an AB4 user who is
successfully using it on Windows with the BRLTTY version that is being offered 
by Microsoft for download.  So, back to the drawing table:
It would be very nice to know if your AB4 works on Linux.

--
CYa,
  ? | Blog:   GitHub: 
  .''`. | Twitter: @blindbird23FaceBook: disyled
 : :' : | SoundCloud:   `. `'  | YouTube: 

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

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

Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Felix Grützmacher - Help Tech Elektronik GmbH
Hello Mario,
currently installing that exact version from Microsoft as we speak, and then 
we'll test with AB4 and EBR.
If this works for us as well then we know that your driver is working on 
Windows under the right conditions, and that MS figured out those conditions. 
This is great news! Thanks for sharing!
Kind regards,
Felix

 
Mit freundlichen Grüßen/Best regards

Felix Grützmacher
Softwareentwickler

Handy Tech Elektronik GmbH
Brunnenstraße 10
72160 Horb
Germany

Tel: +49 (0)7451 5546-37
Fax: +49 (0)7451 5546-67
E-Mail: felix.gruetzmac...@handytech.de  
Internet: www.handytech.de

Sitz der Gesellschaft: Horb-Nordstetten - Handelsregister Stuttgart HRB 440471 
- Geschäftsführer: Dipl.-Ing. Siegfried Kipke - USt-IdNr.: DE 213 128 795
headquarter: Horb-Nordstetten · company registration office: Stuttgart HRB 
440471 · owner / manager: Dipl.-Ing. Siegfried Kipke · USt-IdNr.: DE 213 128 795

Werden Sie Teil unserer Handy Tech Internetgemeinde und bleiben Sie immer 
informiert!
Join the Handy Tech web-community and stay up to date!
Facebook: Deutsch, English, Youtube, Twitter, RSS-Feed: Deutsch, English



-Ursprüngliche Nachricht-
Von: BRLTTY [mailto:brltty-boun...@brltty.com] Im Auftrag von Mario Lang
Gesendet: Donnerstag, 6. April 2017 11:30
An: 'Informal discussion between users and developers of BRLTTY.'
Betreff: Re: [BRLTTY] Testing on Windows

Felix Gr tzmacher - Help Tech Elektronik GmbH  
writes:

> I just tested Easy Braille (ID 0x44) with the following result:
> 2017-04-06@10:17:55.937 USB: testing device: vendor=1FE4 product=0044
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0300 
> Idx: Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 04 03 09 04
> 2017-04-06@10:17:55.937 USB: USB language: 409
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0301 
> Idx:0409 Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 36 03 48 00 61 00 6E 00 64 
> 00 79 00 20 00 54 00 65 00 63 00 68 00 20 00 45 00 6C 00 65 00 6B 00 
> 74 00 72 00 6F 00 6E 00 69 00 6B 00 20 00 47 00 6D 00 62 00 48 00
> 2017-04-06@10:17:55.937 USB: Manufacturer Name: Handy Tech Elektronik 
> GmbH
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0302 
> Idx:0409 Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 1A 03 45 00 61 00 73 00 79 
> 00 20 00 42 00 72 00 61 00 69 00 6C 00 6C 00 65 00
> 2017-04-06@10:17:55.937 USB: Product Description: Easy Braille
> 2017-04-06@10:17:55.937 USB: setting configuration: 1
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0200 
> Idx: Len:00FF
> 2017-04-06@10:17:55.947 USB: control input: 09 02 29 00 01 01 00 80 32 
> 09 04 00 00 02 03 00 00 00 09 21 10 01 00 01 22 46 20 07 05 81 03 3C 
> 00 0A 07 05 02 03 3C 00 0A
> 2017-04-06@10:17:55.947 USB: claiming interface: 0
> 2017-04-06@10:17:55.947 program exit event added: 
> sorted-usb-serial-adapters
> 2017-04-06@10:17:55.947 USB: setup packet: Typ:81 Req:06 Val:2200 
> Idx: Len:0720
> 2017-04-06@10:17:55.947 USB: control input: 06 A0 FF 09 01 A1 01 09 01 
> 15 00 25 FF 75 08 95 3C 81 00 09 02 15 00 25 FF 75 08 95 3C 91 00 C0
> 2017-04-06@10:17:55.947 HID report not found: 01
> 2017-04-06@10:17:55.947 USB: releasing interface: 0
> 2017-04-06@10:17:55.947 braille driver initialization failed: ht -> USB:
>
> So this failed but for seemingly different reasons.
> Hope this helps, and if there's any other way I can assist, please let me 
> know.

I am confused, esp. since I just learnt that I know someone who is successfully 
running an AB4 with BRLTTY and Narrator (one of your resellers, actually, I 
guess you know whom I'm talking about).

So while the error above is another riddle, I too now think that you are 
testing with a device which is different from what we originally had to 
implement support for.  Or your libusb is corrupting packets.  Or
something similarily strange.   To repeat, I know an AB4 user who is
successfully using it on Windows with the BRLTTY version that is being offered 
by Microsoft for download.  So, back to the drawing table:
It would be very nice to know if your AB4 works on Linux.

--
CYa,
  ? | Blog:   GitHub: 
  .''`. | Twitter: @blindbird23FaceBook: disyled
 : :' : | SoundCloud:   `. `'  | YouTube: 

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

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

Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Mario Lang
Felix Grützmacher - Help Tech Elektronik GmbH
 writes:

> I just tested Easy Braille (ID 0x44) with the following result:
> 2017-04-06@10:17:55.937 USB: testing device: vendor=1FE4 product=0044
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0300 Idx: 
> Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 04 03 09 04
> 2017-04-06@10:17:55.937 USB: USB language: 409
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0301 Idx:0409 
> Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 36 03 48 00 61 00 6E 00 64 00 79 
> 00 20 00 54 00 65 00 63 00 68 00 20 00 45 00 6C 00 65 00 6B 00 74 00 72 00 6F 
> 00 6E 00 69 00 6B 00 20 00 47 00 6D 00 62 00 48 00
> 2017-04-06@10:17:55.937 USB: Manufacturer Name: Handy Tech Elektronik GmbH
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0302 Idx:0409 
> Len:00FF
> 2017-04-06@10:17:55.937 USB: control input: 1A 03 45 00 61 00 73 00 79 00 20 
> 00 42 00 72 00 61 00 69 00 6C 00 6C 00 65 00
> 2017-04-06@10:17:55.937 USB: Product Description: Easy Braille
> 2017-04-06@10:17:55.937 USB: setting configuration: 1
> 2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0200 Idx: 
> Len:00FF
> 2017-04-06@10:17:55.947 USB: control input: 09 02 29 00 01 01 00 80 32 09 04 
> 00 00 02 03 00 00 00 09 21 10 01 00 01 22 46 20 07 05 81 03 3C 00 0A 07 05 02 
> 03 3C 00 0A
> 2017-04-06@10:17:55.947 USB: claiming interface: 0
> 2017-04-06@10:17:55.947 program exit event added: sorted-usb-serial-adapters
> 2017-04-06@10:17:55.947 USB: setup packet: Typ:81 Req:06 Val:2200 Idx: 
> Len:0720
> 2017-04-06@10:17:55.947 USB: control input: 06 A0 FF 09 01 A1 01 09 01 15 00 
> 25 FF 75 08 95 3C 81 00 09 02 15 00 25 FF 75 08 95 3C 91 00 C0
> 2017-04-06@10:17:55.947 HID report not found: 01
> 2017-04-06@10:17:55.947 USB: releasing interface: 0
> 2017-04-06@10:17:55.947 braille driver initialization failed: ht -> USB:
>
> So this failed but for seemingly different reasons.
> Hope this helps, and if there's any other way I can assist, please let me 
> know.

I am confused, esp. since I just learnt that I know someone who is
successfully running an AB4 with BRLTTY and Narrator (one of your
resellers, actually, I guess you know whom I'm talking about).

So while the error above is another riddle, I too now think that you are
testing with a device which is different from what we originally had to
implement support for.  Or your libusb is corrupting packets.  Or
something similarily strange.   To repeat, I know an AB4 user who is
successfully using it on Windows with the BRLTTY version that is being
offered by Microsoft for download.  So, back to the drawing table:
It would be very nice to know if your AB4 works on Linux.

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Blog:   GitHub: 
  .''`. | Twitter: @blindbird23FaceBook: disyled
 : :' : | SoundCloud: 
 `. `'  | YouTube: 
   `-
___
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Re: [BRLTTY] Testing on Windows

2017-04-06 Thread Felix Grützmacher - Help Tech Elektronik GmbH
Hello,
you are right in assuming the USB architecture differs between Easy Braille and 
Active Braille. The reason is that Easy Braille has just one relevant endpoint 
for HID communication for Braille input and output, whereas AB4 and AS4 have 
keyboard input as well. So those have the Braille HID endpoint plus the HID 
keyboard endpoint.
I just tested Easy Braille (ID 0x44) with the following result:
2017-04-06@10:17:55.937 USB: testing device: vendor=1FE4 product=0044
2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0300 Idx: 
Len:00FF
2017-04-06@10:17:55.937 USB: control input: 04 03 09 04
2017-04-06@10:17:55.937 USB: USB language: 409
2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0301 Idx:0409 
Len:00FF
2017-04-06@10:17:55.937 USB: control input: 36 03 48 00 61 00 6E 00 64 00 79 00 
20 00 54 00 65 00 63 00 68 00 20 00 45 00 6C 00 65 00 6B 00 74 00 72 00 6F 00 
6E 00 69 00 6B 00 20 00 47 00 6D 00 62 00 48 00
2017-04-06@10:17:55.937 USB: Manufacturer Name: Handy Tech Elektronik GmbH
2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0302 Idx:0409 
Len:00FF
2017-04-06@10:17:55.937 USB: control input: 1A 03 45 00 61 00 73 00 79 00 20 00 
42 00 72 00 61 00 69 00 6C 00 6C 00 65 00
2017-04-06@10:17:55.937 USB: Product Description: Easy Braille
2017-04-06@10:17:55.937 USB: setting configuration: 1
2017-04-06@10:17:55.937 USB: setup packet: Typ:80 Req:06 Val:0200 Idx: 
Len:00FF
2017-04-06@10:17:55.947 USB: control input: 09 02 29 00 01 01 00 80 32 09 04 00 
00 02 03 00 00 00 09 21 10 01 00 01 22 46 20 07 05 81 03 3C 00 0A 07 05 02 03 
3C 00 0A
2017-04-06@10:17:55.947 USB: claiming interface: 0
2017-04-06@10:17:55.947 program exit event added: sorted-usb-serial-adapters
2017-04-06@10:17:55.947 USB: setup packet: Typ:81 Req:06 Val:2200 Idx: 
Len:0720
2017-04-06@10:17:55.947 USB: control input: 06 A0 FF 09 01 A1 01 09 01 15 00 25 
FF 75 08 95 3C 81 00 09 02 15 00 25 FF 75 08 95 3C 91 00 C0
2017-04-06@10:17:55.947 HID report not found: 01
2017-04-06@10:17:55.947 USB: releasing interface: 0
2017-04-06@10:17:55.947 braille driver initialization failed: ht -> USB:

So this failed but for seemingly different reasons.
Hope this helps, and if there's any other way I can assist, please let me know.
Kind regards,
Felix

Mit freundlichen Grüßen/Best regards

Felix Grützmacher
Softwareentwickler

Handy Tech Elektronik GmbH
Brunnenstraße 10
72160 Horb
Germany

Tel: +49 (0)7451 5546-37
Fax: +49 (0)7451 5546-67
E-Mail: felix.gruetzmac...@handytech.de  
Internet: www.handytech.de

Sitz der Gesellschaft: Horb-Nordstetten - Handelsregister Stuttgart HRB 440471 
- Geschäftsführer: Dipl.-Ing. Siegfried Kipke - USt-IdNr.: DE 213 128 795
headquarter: Horb-Nordstetten · company registration office: Stuttgart HRB 
440471 · owner / manager: Dipl.-Ing. Siegfried Kipke · USt-IdNr.: DE 213 128 795

Werden Sie Teil unserer Handy Tech Internetgemeinde und bleiben Sie immer 
informiert!
Join the Handy Tech web-community and stay up to date!
Facebook: Deutsch, English, Youtube, Twitter, RSS-Feed: Deutsch, English


-Ursprüngliche Nachricht-
Von: BRLTTY [mailto:brltty-boun...@brltty.com] Im Auftrag von Mario Lang
Gesendet: Donnerstag, 6. April 2017 00:21
An: 'Informal discussion between users and developers of BRLTTY.'
Betreff: Re: [BRLTTY] Testing on Windows

Felix Gr tzmacher - Handy Tech Elektronik GmbH 
 writes:

> Here is a log excerpt created from running as debug. Seems something 
> went wrong.

Basically the exact same log was already submitted by you in July 2016.
Dave analyzed it quite in detail in 
<20160712095617.gp26...@beta.private.mielke.cc>.

Reading the thread from back then (which unfortunately didn't come to a 
conclusion), I have the feeling the bug is in libusb-1.0, or at least, in how 
we use it.  Having written the support for AB4, I definitely know it worked on 
Linux, I just don't have any right now to test it.
However, I know my AS4 is working on Linux via USB.

> 2017-04-05@09:05:11.514 usbSubmitRequest error 40: Function not implemented.

I don't particularily remember ever having seen this message on Linux.
While I understand from reading the reply linked above that this is just a 
warning, I still wonder if this might be the crucial difference.
AIUI, Dave is saying this warning would force the core to communicate 
differently with the device, maybe something it doesn't do on Linux?

We basically have two different types of Handy Tech USB HID implementations in 
the driver.
The first generation (usbOperations2) was when the Easy Braille was released.
In that version, we are reading/writing from/to the device via HID reports 
(usbHidGetReport()/usbHidSetReport()).  Later on, somehwere around the Active 
Braille, this didn't work anymore.
We had to change to reading/writing HID frames from/to the USB endpoint 
directly.
Without ever having tried so, I have a feeling maybe these two different 
implementations aren't really necessary, and we should be able to impl