X and input event layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to get my remote control to be picked up as a keyboard in X.
The remote control is accessible on /dev/input/event3.

/dev/input/event3
   bustype : BUS_I2C
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "i2c IR (PV951)"
   phys    : "i2c-2//ir0"
   bits ev : EV_SYN EV_KEY EV_REP

I tried to add the following to my XF86Config file:

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "Device" "/dev/input/event3"
EndSection

but when I run xev and press buttons on my remote control no events are
generated.

Whenever I press a button on the control something like the following
appears in messages (press the 6 button):
i2c IR (PV951): unknown key: key=0x06 raw=0x06 down=1
i2c IR (PV951): unknown key: key=0x06 raw=0x06 down=0

How can I use this remote control in X?
I'm running XFree86 4.3.0 with Linux 2.6.4 on a modifed Fedora Core 1
install. The remote came with my TV card (PV951).

Can anyone help me?

Thanks,

Mark Phalan

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux