Re: regression since 2.6.36: backlight in sony-laptop not working

From: Mattia Dongili
Date: Thu Nov 18 2010 - 06:04:52 EST


On Tue, Nov 16, 2010 at 10:52:52PM -0800, Dmitry Torokhov wrote:
> On Wed, Nov 17, 2010 at 03:33:38PM +0900, Norbert Preining wrote:
> > > - recompiled a input-kbd binary with a relaxed version check
> > > - if (EV_VERSION != version) {
> > > + if (EV_VERSION > version) {
> > > in input.c, line 104 of input-utils.
> >
> > Furthermore, although both of you referred to the fact that udev keymap
> > is working, I checked that Debian/sid uses udev kbd rules, but it
> > stopped working ...
> >
>
> Seems to be working here (I also verified that the keycodces are
> actually emitted with evtest):
>
> [root@dtor-d630 ~]# /lib/udev/keymap /dev/input/event3 0x87 wlan
> setting scancode 0x87 to key code 238
> [root@dtor-d630 ~]# /lib/udev/keymap /dev/input/event3 0x87 battery
> setting scancode 0x87 to key code 236
> [root@dtor-d630 ~]# uname -r
> 2.6.37-rc1+
> [root@dtor-d630 ~]#

ok I got the error. I'll see why the EVIOCSKEYCODE syscall is returning
-EINVAL.

--
mattia
:wq!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/