Bug 102441 - Using a battery level reporting bluetooth mouse, system freezes during resume
Summary: Using a battery level reporting bluetooth mouse, system freezes during resume
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-bluetooth@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-07 14:28 UTC by Taegil Bae
Modified: 2015-08-11 11:12 UTC (History)
0 users

See Also:
Kernel Version: 4.1+
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Taegil Bae 2015-08-07 14:28:09 UTC
I am using Thinkpad X220 with Thinkpad bluetooth laser mouse, which is capable of reporting its battery level. If the below conditions both are satified, the system freezes during resume:
1. Kernel is compiled with config "Battery level reporing for HID devices" ON
2. When suspending the system, I use bluetooth mouse capable of reporting its battery level.

If I use a bluetooth mouse incapable of battery reporting, or if I use a kernel compiled with the config OFF, there is no issue.

I cannot find any log message. System freezes immediately after screen is turned on.
Comment 1 Taegil Bae 2015-08-11 11:12:09 UTC
It seems that this issue is fixed in 4.2.0-rc6-g7a834ba.
A commit looks like to fix the issue: 
0621809e "HID: hid-input: Fix accessing freed memory during device disconnect".

Thanks.

Note You need to log in before you can comment on or make changes to this bug.