413c:8140 [Dell Latitude D630] Bluetooth incorrectly removes input devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
Linux kernels after 3.2 introduced battery status reporting for devices such as bluetooth keyboards and mouse.
Unfortunately there is an issue when such input devices are removed:
- a battery status report is requested
- this fails, because the device is being removed (communications with it are now down)
- the failure results in a 5 second wait (the code has a 5 second timeout)
- the bluetooth hci code has a race condition: the 5 second delay means one thread definitely loses the race
- the race condition leads to devices in the sysfs tree being removed in the wrong order
- this leads to udev events being sent out with 'truncated paths'
- this leads to userspace programs like Xorg evdev ignoring the event, but then getting confused about what keyboard/mice are actually attached
- this results in bluetooth keyboard/mice not working after a suspend/resume (because on resume the input devices are first removed, and then re-added)
---
ApportVersion: 2.6.1-0ubuntu9
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
DistroRelease: Ubuntu 12.10
HibernationDevice: RESUME=
MachineType: Dell Inc. Latitude D630
MarkForUpload: True
Package: linux (not installed)
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_GB.UTF-8
SHELL=
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.95
Tags: quantal running-unity
Uname: Linux 3.8.0-4-generic i686
UpgradeStatus: Upgraded to quantal on 2012-10-23 (107 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy lpadmin netdev plugdev powerdev scanner tape video
WpaSupplicantLog:
dmi.bios.date: 06/20/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0KU184
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Latitude D630
dmi.sys.vendor: Dell Inc.
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
cat /proc/version_ signature
Ubuntu 3.8.0-4.8-generic 3.8.0-rc6