Acknowledgement sent
to Marc Lehmann <[email protected]>:
New Bug report received and forwarded. Copy sent to Nobuhiro Iwamatsu <[email protected]>.
(Sun, 27 Aug 2017 15:48:04 GMT) (full text, mbox, link).
Subject: libopenobex2: having this package installed delays xorg usb keboard/mouse hotplug by 2 minutes
Date: Sun, 27 Aug 2017 17:45:20 +0200
Package: libopenobex2
Version: 1.7.2-1
Severity: normal
Dear Maintainer,
as the subject says, having this package installed delays Xorg hotplugging
by 2 minutes (and probably others as well). That means when I unplug
my usb keyboard and/or mouse, I need to wait for ~120 seconds (the udev
timeout) to be able to use these devices again. Uninstalling this package
reduces the delay to practically instant.
The reason seems that obex-check-device seems to do something with the
keyboard/mouse, and effectively hangs until udev kills it. udev gives this
in syslog:
Aug 27 17:34:30 cerebro kernel: hid-generic 0003:0000:0538.0022: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:14.0-13.1.1/input0
...
Aug 27 17:34:30 cerebro kernel: hid-generic 0003:046A:010D.0023: input,hidraw1: USB HID v1.11 Keyboard [HID 046a:010d] on usb-0000:00:14.0-13.1.2/input0
...
Aug 27 17:35:30 cerebro systemd-udevd[890]: seq 4188 '/devices/pci0000:00/0000:00:14.0/usb2/2-13/2-13.1' is taking a long time
[two minutes later]
Aug 27 17:37:30 cerebro systemd-udevd[890]: seq 4188 '/devices/pci0000:00/0000:00:14.0/usb2/2-13/2-13.1' killed
Aug 27 17:37:30 cerebro systemd-udevd[890]: worker [9350] terminated by signal 9 (Killed)
Aug 27 17:37:30 cerebro systemd-udevd[890]: worker [9350] failed while handling '/devices/pci0000:00/0000:00:14.0/usb2/2-13/2-13.1'
Aug 27 17:37:30 cerebro mtp-probe[879]: checking bus 2, device 37: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-13/2-13.1/2-13.1.4"
Aug 27 17:37:30 cerebro mtp-probe[877]: checking bus 2, device 35: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-13/2-13.1/2-13.1.1"
Aug 27 17:37:30 cerebro mtp-probe[878]: checking bus 2, device 36: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-13/2-13.1/2-13.1.2"
Aug 27 17:37:30 cerebro mtp-probe[878]: bus: 2, device: 36 was not an MTP device
Aug 27 17:37:30 cerebro mtp-probe[877]: bus: 2, device: 35 was not an MTP device
Aug 27 17:37:30 cerebro mtp-probe[879]: bus: 2, device: 37 was not an MTP device
[from now on the device is ready to use]
-- System Information:
Debian Release: 9.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.84-040484-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages libopenobex2 depends on:
ii libc6 2.24-11+deb9u1
ii libusb-1.0-0 2:1.0.21-1
libopenobex2 recommends no packages.
libopenobex2 suggests no packages.
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.