Here is a snippet of kern.log after a resume, with printk added to hidp_session() and hidp_get_raw_report().
When the connection is taken down, hidp_session() exists its main loop (prints 'out of loop' message). It then does a hid_destroy_device() ... which invokes sysfs removal of the input device. BUT that invokes a battery lookup (in power_supply code), which calls back hidp_get_raw_report ... which stalls and waits for its 5 second timeout. Only then does hidp_session finally complete. Notice the 5 second time jump in this log snippet. ** 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1117608 Title: bluetooth incorrectly removes input devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1117608/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
