Re: [PATCH] Input: reserve 2 events code because of HID

2018-10-04 Thread Benjamin Tissoires
Oops, looks like this one fell through the cracks. On Sat, Sep 8, 2018 at 3:44 AM Peter Hutterer wrote: > > On Fri, Sep 07, 2018 at 10:51:15AM +0200, Benjamin Tissoires wrote: > > From: Benjamin Tissoires > > > > Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when > > a

Re: [PATCH] Input: reserve 2 events code because of HID

2018-10-04 Thread Benjamin Tissoires
Oops, looks like this one fell through the cracks. On Sat, Sep 8, 2018 at 3:44 AM Peter Hutterer wrote: > > On Fri, Sep 07, 2018 at 10:51:15AM +0200, Benjamin Tissoires wrote: > > From: Benjamin Tissoires > > > > Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when > > a

Re: [PATCH] Input: reserve 2 events code because of HID

2018-09-07 Thread Peter Hutterer
On Fri, Sep 07, 2018 at 10:51:15AM +0200, Benjamin Tissoires wrote: > From: Benjamin Tissoires > > Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when > a duplicate is found") from the v4.18 kernel, HID used to shift the > event codes if a duplicate usage was found. This

Re: [PATCH] Input: reserve 2 events code because of HID

2018-09-07 Thread Peter Hutterer
On Fri, Sep 07, 2018 at 10:51:15AM +0200, Benjamin Tissoires wrote: > From: Benjamin Tissoires > > Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when > a duplicate is found") from the v4.18 kernel, HID used to shift the > event codes if a duplicate usage was found. This

Re: [PATCH] Input: reserve 2 events code because of HID

2018-09-07 Thread Dmitry Torokhov
On Fri, Sep 07, 2018 at 10:51:15AM +0200, Benjamin Tissoires wrote: > From: Benjamin Tissoires > > Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when > a duplicate is found") from the v4.18 kernel, HID used to shift the > event codes if a duplicate usage was found. This

Re: [PATCH] Input: reserve 2 events code because of HID

2018-09-07 Thread Dmitry Torokhov
On Fri, Sep 07, 2018 at 10:51:15AM +0200, Benjamin Tissoires wrote: > From: Benjamin Tissoires > > Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when > a duplicate is found") from the v4.18 kernel, HID used to shift the > event codes if a duplicate usage was found. This

[PATCH] Input: reserve 2 events code because of HID

2018-09-07 Thread Benjamin Tissoires
From: Benjamin Tissoires Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when a duplicate is found") from the v4.18 kernel, HID used to shift the event codes if a duplicate usage was found. This ended up in a situation where a device would export a ton of ABS_MISC+n event

[PATCH] Input: reserve 2 events code because of HID

2018-09-07 Thread Benjamin Tissoires
From: Benjamin Tissoires Prior to commit 190d7f02ce8e ("HID: input: do not increment usages when a duplicate is found") from the v4.18 kernel, HID used to shift the event codes if a duplicate usage was found. This ended up in a situation where a device would export a ton of ABS_MISC+n event