I use my PVR350 remote as follows:
# modprobe ivtv # version 0.3.7k
# modprobe ir-kbd-i2c # remote is accessible via /dev/input/event1
# input-kbd -f keymap 1 # load keymap (see attachment) for the remote
That way, I don't need LIRC to control MythTV since the remote produces
keyboard-like events.

However, after moving from linux-2.6.12 to .13, this no longer works,
giving the following (IIRC) error while loading the keymap:
ioctl EVIOCSKEYCODE(0,82): invalid argument
Reversing this "fix":
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5ac7ba3ff599d66ffde182676f2e4fbcac61a2fe
makes everything work again.

If more info is needed (such as input-kbd output) I can give it with a
bit of effort (full of joy after finding the above patch, I threw all my
"research" away, *sigh*).

Anyway, thanks for your ivtv work!
Gert (not subscribed)

0x003d = 116 # KEY_POWER
0x003b = 132 # KEY_FRONT
0x0001 = 79 # KEY_KP1
0x0002 = 80 # KEY_KP2
0x0003 = 81 # KEY_KP3
0x0004 = 75 # KEY_KP4
0x0005 = 76 # KEY_KP5
0x0006 = 77 # KEY_KP6
0x0007 = 71 # KEY_KP7
0x0008 = 72 # KEY_KP8
0x0009 = 73 # KEY_KP9
0x001f = 1 # KEY_ESC
0x0000 = 82 # KEY_KP0
0x000d = 50 # KEY_M
0x000b = 32 # KEY_D
0x002e = 23 # KEY_I
0x0038 = 122 # KEY_F23
0x0029 = 123 # KEY_F24
0x0010 = 106 # KEY_RIGHT
0x0011 = 105 # KEY_LEFT
0x0020 = 103 # KEY_UP
0x0021 = 108 # KEY_DOWN
0x0025 = 28 # KEY_ENTER
0x000f = 67 # KEY_F9
0x000c = 240 # KEY_UNKNOWN
0x003c = 33 # KEY_F
0x0032 = 105 # KEY_LEFT
0x0035 = 25 # KEY_P
0x0034 = 106 # KEY_RIGHT
0x0037 = 19 # KEY_R
0x0036 = 20 # KEY_T
0x0030 = 25 # KEY_P
0x001e = 44 # KEY_Z
0x0024 = 16 # KEY_Q

Reply via email to