[Bug 1958224] Re: brltty claiming cp210x devices on 22.04

Walter 1958224 at bugs.launchpad.net
Sun Oct 1 09:22:32 UTC 2023


Ah, I was looking in /etc/udev. But it was in /lib/udev:

This is the offending rule that selects my generic device:

----

# Device: 1A86:7523
# Baum [NLS eReader Zoomax (20 cells)]
ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"

----

When looking at http://www.linux-usb.org/usb.ids I see:

1a86  QinHeng Electronics
	5512  CH341 in EPP/MEM/I2C mode, EPP/I2C adapter
	5523  CH341 in serial mode, usb to serial port converter
	5584  CH341 in parallel mode, usb to printer port converter
	7522  CH340 serial converter
	7523  CH340 serial converter
	752d  CH345 MIDI adapter
	7584  CH340S
	e008  HID-based serial adapter

Generic indeed.

----

# wget http://www.linux-usb.org/usb.ids

# TAB=$'\t'; lastcode=; lastrest=; sed -e '/^[[:blank:]]*#/d;/^$/d'
usb.ids | while IFS=' ' read -r code rest; do if test "${code#$TAB}" =
"$code"; then lastcode=$code; lastrest=$rest; else echo
"$lastcode:${code#$TAB} $rest ($lastrest)"; fi; done > usb.ids.full

# head -n3 usb.ids.full

0001:7778 Counterfeit flash drive [Kingston] (Fry's Electronics)
0002:0002 passport00 (Ingram)
0002:7007 HPRT XT300 (Ingram)

# cat /lib/udev/rules.d/85-brltty.rules | sed -e
'/^ENV{PRODUCT}/!d;s/[^"]*"//;s#/\*.*##;s#/#:#;s/^\(...\):/0\1:/;s/:\(...\)$/:0\1/;s/:\(..\)$/:00\1/;s/:\(.\)$/:000\1/'
| head -n3

0403:de58
0403:de59
0403:f208

# cat /lib/udev/rules.d/85-brltty.rules | sed -e
'/^ENV{PRODUCT}/!d;s/[^"]*"//;s#/\*.*##;s#/#:#;s/^\(...\):/0\1:/;s/:\(...\)$/:0\1/;s/:\(..\)$/:00\1/;s/:\(.\)$/:000\1/'
| while read id; do grep "^$id" usb.ids.full ; done

0403:f208 Papenmeier Braille-Display (Future Technology Devices International, Ltd)
0452:0100 Control Panel for Leica TCS SP5 (Mitsubishi Electronics America, Inc.)
045e:930a ISOUSB.SYS Intel 82930 Isochronous IO Test Board (Microsoft Corp.)
0798:0001 Braille Voyager (Optelec)
0798:0640 BC640 (Optelec)
0798:0680 BC680 (Optelec)
1209:abc0 Omzlo controller (Generic)
16c0:05e1 Free shared USB VID/PID pair for CDC devices (Van Ooijen Technische Informatica)
1a86:7523 CH340 serial converter (QinHeng Electronics)
1c71:c004 Braille Note Apex (braille terminal mode) (Humanware Inc)

----

Of those devices found in usb.ids, I only see the first and last as
definite Braille devices. The others.. not so sure.

Do with this info what you want.

Cheers,
Walter

-- 
You received this bug notification because you are a member of
Accessibility, which is subscribed to brltty in Ubuntu.
https://bugs.launchpad.net/bugs/1958224

Title:
  brltty claiming cp210x devices on 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/1958224/+subscriptions




More information about the Ubuntu-accessibility-bugs mailing list