2013-02-06 19:04:36 |
KarlRelton |
bug |
|
|
added bug |
2013-02-06 19:07:02 |
KarlRelton |
attachment added |
|
lspci log https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1117608/+attachment/3517643/+files/lspci.log |
|
2013-02-06 19:07:57 |
KarlRelton |
bug watch added |
|
http://bugzilla.kernel.org/show_bug.cgi?id=52471 |
|
2013-02-06 19:10:00 |
KarlRelton |
bug watch added |
|
http://bugzilla.kernel.org/show_bug.cgi?id=50541 |
|
2013-02-06 19:30:10 |
Brad Figg |
linux (Ubuntu): status |
New |
Incomplete |
|
2013-02-07 19:19:29 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2013-02-07 21:39:29 |
KarlRelton |
tags |
|
apport-collected quantal running-unity |
|
2013-02-07 21:39:31 |
KarlRelton |
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) |
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/controlC0: karl 2108 F.... pulseaudio
DistroRelease: Ubuntu 12.10
HibernationDevice: RESUME=UUID=a82d4a59-432d-4d4b-9d27-557f669eb637
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_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/usr/bin/tcsh
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-4-generic root=UUID=84c73eda-43e4-429c-8428-0a37de7b6de5 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.8.0-4.8-generic 3.8.0-rc6
RelatedPackageVersions:
linux-restricted-modules-3.8.0-4-generic N/A
linux-backports-modules-3.8.0-4-generic N/A
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.:bvrA12:bd06/20/2008:svnDellInc.:pnLatitudeD630:pvr:rvnDellInc.:rn0KU184:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D630
dmi.sys.vendor: Dell Inc. |
|
2013-02-07 21:39:37 |
KarlRelton |
attachment added |
|
AlsaInfo.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519729/+files/AlsaInfo.txt |
|
2013-02-07 21:39:39 |
KarlRelton |
attachment added |
|
BootDmesg.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519730/+files/BootDmesg.txt |
|
2013-02-07 21:39:41 |
KarlRelton |
attachment added |
|
CRDA.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519731/+files/CRDA.txt |
|
2013-02-07 21:39:44 |
KarlRelton |
attachment added |
|
CurrentDmesg.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519732/+files/CurrentDmesg.txt |
|
2013-02-07 21:39:46 |
KarlRelton |
attachment added |
|
IwConfig.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519733/+files/IwConfig.txt |
|
2013-02-07 21:39:47 |
KarlRelton |
attachment added |
|
Lspci.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519734/+files/Lspci.txt |
|
2013-02-07 21:39:48 |
KarlRelton |
attachment added |
|
Lsusb.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519735/+files/Lsusb.txt |
|
2013-02-07 21:39:49 |
KarlRelton |
attachment added |
|
ProcCpuinfo.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519736/+files/ProcCpuinfo.txt |
|
2013-02-07 21:39:50 |
KarlRelton |
attachment added |
|
ProcInterrupts.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519737/+files/ProcInterrupts.txt |
|
2013-02-07 21:39:51 |
KarlRelton |
attachment added |
|
ProcModules.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519738/+files/ProcModules.txt |
|
2013-02-07 21:39:53 |
KarlRelton |
attachment added |
|
PulseList.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519739/+files/PulseList.txt |
|
2013-02-07 21:39:55 |
KarlRelton |
attachment added |
|
RfKill.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519740/+files/RfKill.txt |
|
2013-02-07 21:39:57 |
KarlRelton |
attachment added |
|
UdevDb.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519741/+files/UdevDb.txt |
|
2013-02-07 21:40:00 |
KarlRelton |
attachment added |
|
UdevLog.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519742/+files/UdevLog.txt |
|
2013-02-07 21:40:05 |
KarlRelton |
attachment added |
|
WifiSyslog.txt https://bugs.launchpad.net/bugs/1117608/+attachment/3519743/+files/WifiSyslog.txt |
|
2013-02-07 21:42:03 |
KarlRelton |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2013-02-07 21:43:54 |
KarlRelton |
attachment added |
|
udevadm monitor report https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1117608/+attachment/3519764/+files/um_3.8_debug_k.log |
|
2013-02-07 21:50:49 |
KarlRelton |
attachment added |
|
kern.log snippet with added printk in code https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1117608/+attachment/3519765/+files/kern_3.8_with_debug_snippet.log |
|
2013-08-05 02:48:42 |
penalvch |
tags |
apport-collected quantal running-unity |
apport-collected bios-outdated-a19 needs-upstream-testing quantal regression-potential running-unity |
|
2013-08-05 02:48:50 |
penalvch |
attachment removed |
lspci log https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1117608/+attachment/3517643/+files/lspci.log |
|
|
2013-08-05 02:50:05 |
penalvch |
summary |
bluetooth incorrectly removes input devices |
413c:8140 [Dell Latitude D630] Bluetooth incorrectly removes input devices |
|
2013-08-05 02:52:25 |
penalvch |
linux (Ubuntu): status |
Confirmed |
Incomplete |
|