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

Mattia Dongili
2010-11-18T11:04:47Z

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!