brltty driver interferes with USB serial dongles

Bug #96147 reported by Andrey Yurovsky
This bug report is a duplicate of:  Bug #84139: Arduino detected as braille device. Edit Remove
6
Affects Status Importance Assigned to Milestone
brltty (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I found that USB to serial dongles such as my FTDI chipset (ftdi_sio driver) dongle no longer work in Feisty. The problem is that brltty claims them before the driver is able to, as I understand it:

[ 6786.276000] usb 1-1.4: usbfs: interface 0 claimed by ftdi_sio while 'brltty' sets config #1
[ 6786.284000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 6786.288000] ftdi_sio 1-1.4:1.0: device disconnected

Removing the brltty and brltty-x11 packages solved the problem. It seems that either this package needs to be fixed so that it doesn't interfere with these devices or it maybe shouldn't be installed by default?

Revision history for this message
Anonym25712 (anonym25712) wrote :

Same problem here with TMote Sky sensor motes (http://www.moteiv.com/products/tmotesky.php). This is what happens when I try to plug one:

[ 1442.540000] drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
[ 1442.540000] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected
[ 1442.540000] drivers/usb/serial/ftdi_sio.c: Detected FT232BM
[ 1442.540000] usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0
[ 1442.540000] usbcore: registered new interface driver ftdi_sio
[ 1442.540000] drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
[ 1442.752000] usb 1-2: usbfs: interface 0 claimed by ftdi_sio while 'brltty' sets config #1
[ 1442.756000] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 1442.756000] ftdi_sio 1-2:1.0: device disconnected

I also had to uninstall the brltty package.

Revision history for this message
Andrey Yurovsky (andrey.yurovsky) wrote :

noting package name and marking confirmed since others can reproduce it...

Revision history for this message
Samuel thibault (samuel-thibault) wrote :

Note: yes it should always be installed by default, because it is meant for blind users to be able to use their computer. Without it, they wouldn't be able to even run apt-get or synaptic... So the solution is really to remove the guilty USB ID from the hotplug/udev rule.

Revision history for this message
ward (ward-pong) wrote :

This is still a problem on Gutsy. It's highly annoying, any serial USB device (for instance USB to serial adapters, but also the Artec Group's LPC dongle) is affected by this.

Can this *please* be fixed? Is there a way to detect brltty hardware in a more intelligent way, and not just attach to anything that looks like a USB serial device?

Revision history for this message
Jelle De Loecker (skerit) wrote :

This problem isn't only on ubuntu, it's on debian as well, should a bug report be made there, too?
Shouldn't packages be checked for faults like these?

Revision history for this message
Samuel thibault (samuel-thibault) wrote : Re: [Bug 96147] Re: brltty driver interferes with USB serial dongles

Skerit, le Sat 24 Jan 2009 17:15:41 -0000, a écrit :
> *** This bug is a duplicate of bug 84139 ***
> https://bugs.launchpad.net/bugs/84139
>
> This problem isn't only on ubuntu, it's on debian as well, should a bug report be made there, too?

I don't think so: on debian brltty is _not_ installed by default, only
people having braille displays would install it. The combination of
owning both a USB serial dongle _and_ a braille display is very rare and
such people would know how to tackle it anyway.

> Shouldn't packages be checked for faults like these?

Ideally yes, but it's hard to track that automatically: you'd have to
somehow parse the source code to know which identifiers are used.

Samuel

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.