diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2013-03-05 17:09:00 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-03-07 16:06:55 +0100 |
commit | dcd9006b1b053c7b1cebe81333261d4fd492ffeb (patch) | |
tree | ddadde1a9ac345c393dd5abc332602b335859fbc /drivers/scsi/53c700.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
download | linux-dcd9006b1b053c7b1cebe81333261d4fd492ffeb.tar.xz linux-dcd9006b1b053c7b1cebe81333261d4fd492ffeb.zip |
HID: logitech-dj: do not directly call hid_output_raw_report() during probe
hid_output_raw_report() makes a direct call to usb_control_msg(). However,
some USB3 boards have shown that the usb device is not ready during the
.probe(). This blocks the entire usb device, and the paired mice, keyboards
are not functional. The dmesg output is the following:
[ 11.912287] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-2/input2
[ 11.912537] logitech-djreceiver 0003:046D:C52B.0003: logi_dj_probe:logi_dj_recv_query_paired_devices error:-32
[ 11.912636] logitech-djreceiver: probe of 0003:046D:C52B.0003 failed with error -32
Relying on the scheduled call to usbhid_submit_report() fixes the problem.
related bugs:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1072082
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1039143
https://bugzilla.redhat.com/show_bug.cgi?id=840391
https://bugzilla.kernel.org/show_bug.cgi?id=49781
Reported-and-tested-by: Bob Bowles <bobjohnbowles@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi/53c700.c')
0 files changed, 0 insertions, 0 deletions