Thread (5 messages) flat view 5 messages, 3 authors, 2011-10-08

Re: Race with Bluetooth hid drivers?

From: Jiri Kosina <hidden>
Date: 2011-10-08 21:23:28

On Sat, 8 Oct 2011, David Herrmann wrote:
Hi

*CC'ing Jiri*
Thanks a lot for CC, I am a bit behind in linux-input@ folder :/
quoted
quoted
From 2f91a998b1bca4b654903e41394fae19dfed1a3c Mon Sep 17 00:00:00 2001
From: David Herrmann <redacted>
Date: Tue, 20 Sep 2011 10:54:06 +0200
Subject: [PATCH] HID: wacom: Set input bits before registration

We shouldn't change the event flags of input devices after they get registered.
Otherwise, udev will not get notified of these flags and cannot setup the
devices properly.
This fixes the probing to set the input event flags on the input_mapped callback
instead of the probe function.

Reported-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: David Herrmann <redacted>
Works beautifully.
Tested-by: Bastien Nocera <hadess@hadess.net>

Jiri, Dmitry, feel free to add a
Signed-off-by: Bastien Nocera <hadess@hadess.net>
if you think this is the right fix for the problem.
Good catch, thanks guys. Applied.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help