bt devices lost with no way to recover them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Confirmed
|
Medium
|
|||
linux (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
I use a bluetooth keyboard and mouse since... years.
Lately, I've seen weird disconnections occurring but have never been able to diagnose them properly so I lived with it and reconnect. Sometimes once a day, sometimes 3 or 4 times.
Since yesterday though, things are worse: I can't manage to reconnect neither the mouse nor the keyboard at all.
I found bug #1075487 with many comments leading me to think the problem is known, understood and that even some patches may apply.
https:/
> This bug is because of kernel upstream bug https:/
> All the info is in that bug report, including 2 patches to fix it.
> In short form, the (doomed to fail by timeout) battery status reporting injects a 5 second delay in keyboard device removal. Due to races in the kernel bluetooth code, this leads the code to remove devices from sysfs in the wrong order. This in turn leads to udev events being sent out with truncated device paths.
> This in turn causes Xorg evdev to receive the 'remove' events, but ignore them because they cannot match them up.
> When the keyboard re-connects, Xorg then sees the 'add' events matching a keyboard it thinks it already has, so ignores them ... so your keyboard doesn't work (or mouse too, if bluetooth as well!).
I found evidence of:
- the faulty battery status report,
- Xorg now refusing to accept the bt devices when reconnecting.
Needless to say, having to hard reboot because no more input devices are available is painful.
Finally, this (no way to reconnect) started this morning or may be yesterday (I can't confirm it was caused by the last kernel update but this sounds 90% likely).
Feel free to contact me for more testing or information.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.8.0-18-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Wed Apr 17 15:14:37 2013
InstallationDate: Installed on 2011-06-23 (663 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64+mac (20110427.1)
MachineType: System manufacturer System Product Name
MarkForUpload: True
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.105
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to raring on 2013-03-17 (31 days ago)
dmi.bios.date: 12/05/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1003
dmi.board.
dmi.board.name: P6T DELUXE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
description: | updated |
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
tags: | added: kernel-bug-exists-upstream |
tags: | added: nexus7 |
This change was made by a bot.