[Bug 874181] Re: brltty daemon prevents creation of ttyUSB0 device link

Samuel thibault samuel.thibault at ens-lyon.org
Mon Nov 14 14:40:49 UTC 2011


Dave Mielke, le Mon 14 Nov 2011 09:38:57 -0500, a écrit :
> I'm going to try to figure out if we can get to the virtual serial device from 
> knowledge of which USB device is being used. If we can, that should solve the 
> problem. If anyone already knows how to do it, please let me know.

Mmm, didn't you receive my mail dated
Date: Sat, 12 Nov 2011 17:13:21 +0100
?

“
there is a /sys/bus/usb/devices/2-1.1.1/2-1.1.1:1.0/ttyUSB0
directory. Conversely, /sys/dev/char/188:0 is a symlink to
../../devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1:1.0/ttyUSB0/tty/ttyUSB0/
”

“
That however will still let brltty emit some characters to the device,
which can probably upset it.
”

and the latter is probably already a very bad thing for whatever device
is connected to the serial converter.

Samuel

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

Title:
  brltty daemon prevents creation of ttyUSB0 device link

Status in “brltty” package in Ubuntu:
  Fix Released
Status in “brltty” source package in Oneiric:
  Fix Committed

Bug description:
  Impact:
  This bug is somewhat hardware specific, affecting all users of the USB serial controller, device 10c4:ea60.

  Test case:
  With the current version of brltty in Oneiric, brltty takes over any device using the above mentioned USB serial controller, whether it is a Braille display or not. This is because one of Brltty's supported displays uses this USB serial control internally for ocmmunication. The brltty package in oneiric-proposed has the udev rule for this controller commented out, allowing other users of devices based on this controller to work properly.

  Regression potential:
  All users of the supported Seika will have to load Brltty manually, as the udev rule for their device is commented out, to allow other USB serial controller users to use their device as a proper serial device.

  Original description follows:

  After upgrading from Ubuntu 11.04 to 11.10, I no longer found a
  '/dev/ttyUSB0' for my serial-to-USB converter. The device is part  of
  a Xilinx FPGA board and is a "10c4:ea60 Cygnal Integrated Products,
  Inc. CP210x Composite Device".

  Every time I plugged in the device, dmesg showed the device coming up
  and 'brltty' did *something* to it. At this point, no device was
  present in '/dev'.

  [ 5181.130942] cp210x 1-1.4:1.0: cp210x converter detected
  [ 5181.203658] usb 1-1.4: reset full speed USB device number 5 using ehci_hcd
  [ 5181.296637] usb 1-1.4: cp210x converter now attached to ttyUSB0
  [ 5181.623749] usb 1-1.4: usbfs: interface 0 claimed by cp210x while 'brltty' sets config #1

  After removing 'brltty', the '/dev/ttyUSB0' device appears again like
  it used to.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: brltty (not installed)
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Fri Oct 14 14:39:29 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   LANGUAGE=
   LC_TIME=C
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: brltty
  UpgradeStatus: Upgraded to oneiric on 2011-10-13 (0 days ago)

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




More information about the foundations-bugs mailing list