Thread (14 messages) 14 messages, 5 authors, 2011-11-16

Re: Linux USB HID should ignore values outside Logical Minimum/Maximum range

From: Christoph Fritz <hidden>
Date: 2011-10-28 19:19:28
Also in: lkml

On Fri, 2011-10-28 at 18:23 +0200, Jiri Kosina wrote:
On Mon, 24 Oct 2011, Dmitry Torokhov wrote:
quoted
While input core does not clam or validate the values reported by the 
driver it might make sense to do so in hid-input; I am not sure how 
often these limits programmed intorrectly. Jiri i sprobably the best 
person to answer this question.
I haven't met such a device myself yet.

On the other hand I feel like just dropping the report on the floor should 
be the proper thing to do.


Christoph, how about the (untested at my side yet) patch below? It'd be 
nice if you could test with the device you are seeing the problem with and 
let me know.

I don't have this device and I'm not the person who started this thread.
It's Denilson Figueiredo de Sá [off-list ref] , just see above.

Denilson, please comment.

Thanks,
 -- Christoph


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help