[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667616: brltty greedily grabs serial ports, ftdi_sio loses connection

2016-10-13 0:08 GMT+02:00 Samuel Thibault <sthibault@debian.org>:
> Mariusz Gronczewski, on Thu 13 Oct 2016 00:03:18 +0200, wrote:
>> Hard to tell, server in question was installed from preseed file and
>> it was only one having that package...
> Ok, perhaps /var/log/dpkg.log or /var/log/installer/syslog would show
> the circumstances where it got installed?
> Samuel

Looks like it came from installer:

Start-Date: 2016-09-22  12:20:12
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o
APT::Keep-Fds::=6 -q -y --no-remove install grub-common
Install: gettext-base:amd64 (0.19.3-2, automatic), libpng12-0:amd64
(1.2.50-2+deb8u2, automatic), libfreetype6:amd64 (2.5.2-3+deb8u1,
automatic), grub-common:amd64 (2.02~beta2-22+deb8u1),
libasprintf0c2:amd64 (0.19.3-2, automatic), libfus
e2:amd64 (2.9.3-15+deb8u2, automatic)
End-Date: 2016-09-22  12:20:12

Start-Date: 2016-09-22  12:20:16
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o
APT::Keep-Fds::=6 -q -y --no-remove install grub-pc
Install: grub2-common:amd64 (2.02~beta2-22+deb8u1, automatic),
grub-pc-bin:amd64 (2.02~beta2-22+deb8u1, automatic), grub-pc:amd64
(2.02~beta2-22+deb8u1), ucf:amd64 (3.0030, automatic)
End-Date: 2016-09-22  12:20:17

Start-Date: 2016-09-22  12:20:25
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o
APT::Keep-Fds::=6 -q -y --no-remove install brltty
Install: libasound2-data:amd64 (1.0.28-1, automatic),
libbluetooth3:amd64 (5.23-2+b1, automatic), libbrlapi0.6:amd64
(5.2~20141018-5, automatic), brltty:amd64 (5.2~20141018-5),
libasound2:amd64 (1.0.28-1, automatic), libgpm2:amd64 (1.20.4-6.1+b2,
End-Date: 2016-09-22  12:20:26

in what circumstances installer starts brltty ?

My guess is that installer detected "braille" device (my usb<->1wire
converter was plugged into that machine during install) on install and
decided to install the package.
So the problem should go away if detection is correct.

IMO *if* braille device was detected but not used at all during
install it it should ask if package should be installed (with no as
default to not screw over automatic install). That way it would be no
difference for someone using it but would allow whoever is installing
it to catch any bugs like that.

Mariusz Gronczewski (XANi) <xani666@gmail.com>
GnuPG: 0xEA8ACE64

Reply to: