I made two patches which both address this problem. The first one is a direct workaround for this particular bluetooth HID issue where the kernel creates new native sysfs devices for those after each nap. This would even still be relevant if the kernel gets fixed to actually do send out remove events properly, as we don't really want upower to signal device removals/additions all the time.
Pro: unintrusive as it does not change behaviour for all other kinds of devices, suitable for a stable release update Con: rather hackish, and does not guard against similar problems with other device types ** Patch added: "patch V1: less intrusive, hackish" https://bugs.launchpad.net/upower/+bug/1112907/+attachment/3843896/+files/0001-linux-Work-around-unstable-sysfs-names-for-bluetooth.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1112907 Title: abort with wireless HID devices: A handler is already registered for <battery> Status in The Linux Kernel: Unknown Status in Upower: Unknown Status in “upower” package in Ubuntu: In Progress Bug description: . ProblemType: Crash DistroRelease: Ubuntu 13.04 Package: upower 0.9.19-1ubuntu4 ProcVersionSignature: Ubuntu 3.5.0-216.23-omap4 3.5.7.1 Uname: Linux 3.5.0-216-omap4 armv7l ApportVersion: 2.8-0ubuntu3 Architecture: armhf Date: Fri Feb 1 22:25:19 2013 ExecutablePath: /usr/lib/upower/upowerd InstallationDate: Installed on 2013-01-17 (15 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha armhf+omap4 (20130116) MarkForUpload: True ProcCmdline: /usr/lib/upower/upowerd ProcEnviron: Signal: 5 SourcePackage: upower StacktraceTop: dbus_g_connection_register_g_object () from /usr/lib/arm-linux-gnueabihf/libdbus-glib-1.so.2 ?? () ?? () Title: upowerd crashed with signal 5 in dbus_g_connection_register_g_object() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1112907/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

