[mythtv-users] how to get Hauppauge gray remote (PVR-250) working under kernel 2.6.38

Mark Lord mythtv at rtr.ca
Tue Mar 29 02:50:25 UTC 2011


On 11-03-28 09:46 PM, Boleslaw Ciesielski wrote:
> On 03/28/2011 08:19 PM, Audio Phile wrote:
>> On Mon Mar 28 22:19:59 UTC 2011, David Krainess davidkrainess wrote:
>>
>>> I have a PVR250 working with the gray remote, you're doing exactly
>>> what I do, except...
>>
>>> modprobe ir-kbd-i2c hauppauge=1
>>
>> Thanks for the suggestion.  I tried this and it seems as though the
>> number keys and the "ok" button work, but nothing else (arrows, back,
>> power etc.).

Good.  Please note that when using the ir-kbd-i2c method
that this has NOTHING to do with LIRC at all.
In this case, that's a good thing!  :)

I use the hauppauge.conf file below, which gets applied by a boot script
using this command:

    inputkbd -f hauppauge.conf 6

Where "6" is the "event" device number for the Hauppauge card,
found by parsing the output of "lsinput".

The problem here, is that lsinput works only for kernels prior
to 2.6.36 from kernel.org.  If you are using 2.6.36 or newer,
or the Mythbuntu-10.10 kernels, then it will not work,
and neither will inputkbd.  This is due to non backward-compatible
breakage in the IR/input drivers in 2.6.36 and beyond, which Ubuntu
thoughtfully also included in their older 2.6.35-based kernels.

What kernel does your system have?

Here's the hauppauge.conf file I use; customize it to match
what your Mythtv button codes are programmed for:

0x003d = KEY_F2		# Power button
0x003b = KEY_F10	# Go button: /ulb/play_mp3.sh
0x0001 = KEY_1		# 1 button
0x0002 = KEY_2		# 2 button
0x0003 = KEY_3		# 3 button
0x0004 = KEY_4		# 4 button
0x0005 = KEY_5		# 5 button
0x0006 = KEY_6		# 6 button
0x0007 = KEY_7		# 7 button
0x0008 = KEY_8		# 8 button
0x0009 = KEY_9		# 9 button
0x001f = KEY_ESC	# Back/Exit button
0x0000 = KEY_0		# 0 button
0x000d = KEY_M		# Menu button
0x0010 = KEY_RIGHT	# Right arrow button
0x0011 = KEY_LEFT	# Left arrow button
0x0020 = KEY_UP		# Up arrow button
0x0021 = KEY_DOWN	# Down arrow button
0x0025 = KEY_ENTER	# OK button
0x000b = KEY_D		# RED button
0x002e = KEY_G		# GREEN button (signal monitor)
0x0038 = KEY_P		# YELLOW button (Pause; was F10: volume down)
0x0029 = KEY_B		# BLUE button (adjust audio sync)
0x000f = KEY_F9		# Mute button
0x000c = KEY_F9		# blank (no label) button: Mute or DVD menu
0x003c = KEY_W		# Full button
0x0032 = KEY_COMMA	# << button
0x0035 = KEY_F		# Play button
0x0034 = KEY_DOT	# >> button
0x0037 = KEY_R		# Record button
0x0036 = KEY_Y		# Stop button
0x0030 = KEY_P		# Pause button
0x0024 = KEY_HOME	# |< button (was KEY_Q)
0x001e = KEY_END	# >| button (was KEY_Z)
0x000a = KEY_TEXT
0x000e = KEY_SUBTITLE
0x0012 = KEY_PREVIOUS
0x0014 = KEY_UP
0x0015 = KEY_DOWN
0x0016 = KEY_LEFT
0x0017 = KEY_RIGHT
0x0018 = KEY_VIDEO
0x0019 = KEY_AUDIO
0x0026 = KEY_SLEEP
0x0022 = KEY_CHANNEL
0x001a = KEY_MHP
0x001b = KEY_EPG
0x001c = KEY_TV


More information about the mythtv-users mailing list