Bug 35022
Summary: | hid_magicmouse broken | ||
---|---|---|---|
Product: | Drivers | Reporter: | Jérémy Lal (kapouer) |
Component: | Input Devices | Assignee: | Jiri Kosina (jikos) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | florian, jikos, kapouer, maciej.rutecki, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.39-rc6 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 32012 |
Description
Jérémy Lal
2011-05-13 14:47:58 UTC
Disabling the failing test makes the mouse work again. Maybe that could help diagnose the problem. ret = hdev->hid_output_raw_report(hdev, feature, sizeof(feature), HID_FEATURE_REPORT); - if (ret != sizeof(feature)) { - hid_err(hdev, "unable to request touch data (%d)\n", ret); - goto err_stop_hw; - } + // if (ret != sizeof(feature)) { + // hid_err(hdev, "unable to request touch data (%d)\n", ret); + // goto err_stop_hw; + // } I doubt this is a bug in magicmouse driver itself, since on 2.6.38 the code is the same and used to work. It could be a bug in hid_output_raw_report... Other bluetooth device like my cell phone connects and provides services without troubles. Please see thread "35022: hid-magicmouse broken" on linux-input mailinglist: http://www.spinics.net/lists/linux-input/index.html#15297 Fixed by commit 23746a66d7d9e73402c68ef00d708796b97ebd72 in Linus' tree. A patch referencing a commit referencing this bug report has been merged in v3.0-rc4: commit c3a4924565e2eecf2539871abd123d35be6d76d5 Author: Jiri Kosina <jkosina@suse.cz> Date: Thu Jun 16 12:21:34 2011 +0200 Revert "HID: magicmouse: ignore 'ivalid report id' while switching modes" A patch referencing this bug report has been merged in Linux v3.1-rc10: commit 35d851df23b093ee027f827fed2213ae5e88fc7a Author: Jiri Kosina <jkosina@suse.cz> Date: Thu Aug 25 14:21:37 2011 +0200 HID: magicmouse: ignore 'ivalid report id' while switching modes, v2 |