[BRLTTY] usb connection problem

payman shaykhmehdi payman.shaykhmehdi at gmail.com
Sun Nov 10 02:32:05 EST 2019


I've developed a braille driver for a braille device that is not supported
yet. The device is a cdc-usb device and driver works fine with brltty 5.6.

I've merged my modified brltty with brltty 6, but after the merge, brltty
can't connect to the device.
I've added device info in usb_adapters.c and usb_devices.c.

Here is the brltty related log :
















*brltty: USB: USBFS root candidate: usbfs: /dev/bus/usbbrltty: USB: USBFS
root: /dev/bus/usbbrltty: USB: testing device: vendor=046D
product=C534brltty: USB: testing device: vendor=03EB product=2018brltty:
USB: testing device: vendor=0424 product=EC00brltty: USB: usbfs file
opened: /dev/bus/usb/001/003 fd=18brltty: USB: setup packet: Typ:80 Req:06
Val:0100 Idx:0000 Len:00FFbrltty: USB: control input: 12 01 00 02 FF 00 01
40 24 04 00 EC 00 02 00 00 00 01brltty: USB: using actual device
descriptorbrltty: USB: testing device: vendor=0424 product=9514brltty: USB:
usbfs file opened: /dev/bus/usb/001/002 fd=18brltty: USB: setup packet:
Typ:80 Req:06 Val:0100 Idx:0000 Len:00FFbrltty: USB: control input: 12 01
00 02 09 00 02 40 24 04 14 95 00 02 00 00 00 01brltty: USB: using actual
device descriptorbrltty: USB: testing device: vendor=1D6B
product=0002brltty: USB: device not found*

The target device vid is 03eb and its pid is 2018.
I've attached the driver code (it is messy yet but it works in 5.6 :-).

Any idea what  is wrong with my driver and the new brltty?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://brltty.app/pipermail/brltty/attachments/20191110/78661672/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pactos.tar.xz
Type: application/x-xz
Size: 4668 bytes
Desc: not available
URL: <http://brltty.app/pipermail/brltty/attachments/20191110/78661672/attachment.xz>


More information about the BRLTTY mailing list