[BRLTTY] Compiling brailleback with brltty 5.4

payman shaykhmehdi payman.shaykhmehdi at gmail.com
Mon Nov 14 04:17:04 EST 2016


On Sun, Nov 13, 2016 at 4:43 PM, Dave Mielke <dave at mielke.cc> wrote:

>
> Did you configure with cfg-android? In that script, you'll see that the
> braille
> drivers need to be explicitly listed. My guess is that you didn't list
> yours in
> cfg-android.
> <http://mielke.cc/mailman/listinfo/brltty>
>

You were right, I hadn't added my driver to that list. I have done that,
but now I have problems with usb communication. I have two type of usb
devices, HID and CDC. with HID device, brltty can't open the device at all.
with CDC device, it can open the device and figure out some information
about it, but again driver initialization fails.

Here is a portion of brltty log for HID device :

> 11-14 11:34:15.547 D/brltty  (20566): activity state change:
> braille-driver: 6[starting]
> 11-14 11:34:15.547 D/brltty  (20566): checking braille device:
> usb:vendorIdentifier=0X03EB+productIdentifier=0X2013+serialNumber=null
> 11-14 11:34:15.547 D/brltty  (20566): checking for braille driver: pa
> 11-14 11:34:15.547 D/brltty  (20566): initializing braille driver: pa ->
> usb:vendorIdentifier=0X03EB+productIdentifier=0X2013+serialNumber=null
> 11-14 11:34:15.557 W/brltty  (20566): USB: testing device: vendor=03EB
> product=2013
> 11-14 11:34:15.557 W/brltty  (20566): USB: opening device connection
> 11-14 11:34:15.577 W/brltty  (20566): USB: using actual device descriptor
> 11-14 11:34:15.577 W/brltty  (20566): USB: device not found:
> vendorIdentifier=0X03EB+productIdentifier=0X2013+serialNumber=null
> 11-14 11:34:15.577 D/brltty  (20566): braille driver initialization
> failed: pa -> usb:vendorIdentifier=0X03EB+productIdentifier=0X2013+serialNumber=null
>
> 11-14 11:34:15.577 D/brltty  (20566): braille driver not found
>


and for CDC device :

11-14 11:58:10.757 D/brltty  (23418): activity state change:
> braille-driver: 6[starting]
> 11-14 11:58:10.757 D/brltty  (23418): checking braille device:
> usb:vendorIdentifier=0X03EB+productIdentifier=0X2018+serialNumber=00001
> 11-14 11:58:10.757 D/brltty  (23418): checking for braille driver: pa
> 11-14 11:58:10.757 D/brltty  (23418): initializing braille driver: pa ->
> usb:vendorIdentifier=0X03EB+productIdentifier=0X2018+serialNumber=00001
> 11-14 11:58:10.767 W/brltty  (23418): USB: testing device: vendor=03EB
> product=2018
> 11-14 11:58:10.767 W/brltty  (23418): USB: opening device connection
> 11-14 11:58:11.807 W/brltty  (23418): USB: using actual device descriptor
> 11-14 11:58:11.807 W/brltty  (23418): USB: USB language: 409
> 11-14 11:58:11.807 I/brltty  (23418): USB: Manufacturer Name: HP InfoTech
> S.R.L.
> 11-14 11:58:11.807 I/brltty  (23418): USB: Product Description:
> CodeVisionAVR USB Device
> 11-14 11:58:11.807 I/brltty  (23418): USB: Serial Number: 00001
> 11-14 11:58:11.817 D/brltty  (23418): program exit event added:
> sorted-usb-serial-adapters
> 11-14 11:58:11.817 W/brltty  (23418): USB: ept=81 dir=in xfr=int pkt=16
> ivl=63ms
> 11-14 11:58:11.817 E/brltty  (23418): usbClearHalt error 38: Function not
> implemented.
> 11-14 11:58:11.817 E/brltty  (23418): usbSubmitRequest error 38: Function
> not implemented.
> 11-14 11:58:11.817 W/brltty  (23418): USB: serial adapter: CDC_ACM
> 11-14 11:58:11.817 W/brltty  (23418): USB: CDC ACM line coding: Baud:9600
> Data:8 Stop:1 Parity:none
> 11-14 11:58:11.817 W/brltty  (23418): USB: CDC ACM line coding: Baud:57600
> Data:8 Stop:1 Parity:none
> 11-14 11:58:11.817 W/brltty  (23418): USB: ept=83 dir=in xfr=blk pkt=32
> ivl=0ms
> 11-14 11:58:11.827 D/brltty  (23418): braille driver initialization
> failed: pa -> usb:vendorIdentifier=0X03EB+productIdentifier=0X2018+serialNumber=00001
>
> 11-14 11:58:11.827 D/brltty  (23418): braille driver not found
>

I have added my devices info to $(BRLTTY-ROOT)/Android/
Application/res/xml/usb_devices.xml .Is there any other configuration
required for usb devices?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20161114/c5cb55ea/attachment.html>


More information about the BRLTTY mailing list