Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

From: Dmitry Torokhov
Date: Wed Feb 02 2011 - 17:04:51 EST


On Wed, Feb 02, 2011 at 04:54:50PM -0500, Mark Lord wrote:
> On 11-02-02 03:00 PM, Chase Douglas wrote:
> > On 02/02/2011 11:58 AM, Dmitry Torokhov wrote:
> >> On Wed, Feb 02, 2011 at 09:31:08AM -0500, Chase Douglas wrote:
> >>> On 01/23/2011 12:03 PM, Mark Lord wrote:
> >>>> As of the 2.6.36 kernel, the userspace commands lsinput and input-kbd
> >>>> no longer work. And if I grab newer/patched versions of those from the latest
> >>>> Ubuntu 10.10, then those newer/patched versions do not work with kernels
> >>>> *before* 2.6.36.
> >>>
> >>> I planned on taking another look at this before we release Ubuntu 11.04
> >>> at the end of April. That doesn't prevent someone else from helping out
> >>> :), but I'll make sure the utility is working again if not.
> >>>
> >>
> >> Here you go:
>
> That patch was not enough for me to get input-kbd working here on Ubuntu-10.10.
> It would still only let me map 10 keys of my 56(?) button remote.
>
> I also had to hack it to ignore the read-in map->size value when writing-out
> the new keymap.

I assumed that the fix to make RCs compatible with the pre-v2 getkeycode
will trickle into Ubuntu through staging (I will be sending a patch to
the stable team today now that it is in mainline). But if Chase wants to
also add V2 keycode hdling then here's another patch.

Thanks.

--
Dmitry