I realise this is thread necromancy, but this is one of only two places on the Internet that I found hints on how to get a HP Mediasmart TV remote working with an RC6 MCE eHome IR USB receiver.
The "CodeMatchValue" and "CodeSetNumMask" seem critical to make this work. The "CodeSetNum<x>" values didn't appear to affect anything when set to 8,0,0,0 or the stock 1,2,3,4.
and generated a full range mapping table to identify the buttons in use, and to map them to custom keys. Every single button works and are mappable. This is what I ended up with, posting it here for posterity (and maybe help someone else trying to use this remote, mine is HP P/N: 5189-3683 (MediasmartTV, CBL, DVD, AVR, AUX), with a MCE receiver):
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da]
"RemoteName"="RC6 based MCE remote"
"EnableDebounce"=dword:00000001
"EnableVendorPassThrough"=dword:00000001
"DecoderID"=dword:00000001
"CodeSetID"=dword:00000000
"CodeBitLen"=dword:00000020
"CodeSetNum0"=dword:00000001
"CodeSetNum1"=dword:00000002
"CodeSetNum2"=dword:00000003
"CodeSetNum3"=dword:00000004
"CodeSetNumMask"=dword:00005000
"CodeSetNumShiftBits"=dword:0000000c
"CodeMatchMask"=dword:ffff0f00
"CodeMatchValue"=dword:80110200
"DataMask"=dword:000000ff
"DataShiftBits"=dword:00000000
"ReportLength"=dword:00000003
"ReportDescriptor"=hex:05,0c,09,01,a1,01,85,01,19,00,2a,3c,02,15,00,26,3c,02,\
95,01,75,10,81,00,c0,06,bc,ff,09,88,a1,01,85,02,19,01,29,ff,15,00,25,01,95,\
01,75,08,81,00,c0,05,01,09,80,a1,01,85,03,19,01,29,ff,15,01,25,ff,95,01,75,\
08,81,00,c0,05,01,09,06,a1,01,85,04,05,07,19,e0,29,e8,75,01,95,08,81,02,19,\
00,29,90,26,ff,00,75,08,95,01,81,00,c0
"ReportMappingTable"=hex:\
00,00,00,00,04,00,27,\ ; [0] -> 0
01,00,00,00,04,00,1e,\ ; [1] -> 1
02,00,00,00,04,00,1f,\ ; [2] -> 2
03,00,00,00,04,00,20,\ ; [3] -> 3
04,00,00,00,04,00,21,\ ; [4] -> 4
05,00,00,00,04,00,22,\ ; [5] -> 5
06,00,00,00,04,00,23,\ ; [6] -> 6
07,00,00,00,04,00,24,\ ; [7] -> 7
08,00,00,00,04,00,25,\ ; [8] -> 8
09,00,00,00,04,00,26,\ ; [9] -> 9
0a,00,00,00,04,00,0f,\ ; [Last] -> L
0b,00,00,00,04,00,10,\ ; [Media] -> M
0c,00,00,00,04,00,16,\ ; [Power] -> S
0e,00,00,00,04,00,04,\ ;
0d,00,00,00,04,00,41,\ ; [Mute] -> F8
0e,00,00,00,04,00,07,\ ;
0f,00,00,00,04,00,08,\ ;
10,00,00,00,04,00,43,\ ; [Vol+] -> F10
11,00,00,00,04,00,42,\ ; [Vol-] -> F9
12,00,00,00,04,00,0b,\ ;
13,00,00,00,04,00,0c,\ ;
14,00,00,00,04,00,0d,\ ;
15,00,00,00,04,00,0e,\ ;
16,00,00,00,04,00,0f,\ ;
17,00,00,00,04,00,1f,\ ;
18,00,00,00,04,00,11,\ ;
19,00,00,00,04,00,1e,\ ;
1a,00,00,00,04,00,13,\ ;
1b,00,00,00,04,00,52,\ ;
1c,00,00,00,04,00,51,\ ;
1d,00,00,00,04,00,50,\ ;
1e,00,00,00,04,00,4b,\ ; [Ch+] -> PageUp
1f,00,00,00,04,00,4e,\ ; [Ch-] -> PageDn
20,00,00,00,04,01,09,\ ; [Skip >|] -> Ctrl-F
21,00,00,00,04,01,05,\ ; [Replay |<] -> Ctrl-B
22,00,00,00,04,00,1b,\ ;
23,00,00,00,04,00,1c,\ ;
24,00,00,00,04,00,1d,\ ;
25,00,00,00,04,00,1e,\ ;
26,00,00,00,04,00,1f,\ ;
27,00,00,00,04,00,1e,\ ;
28,00,00,00,04,03,09,\ ; [Fast Forward >>] -> Ctrl-Shift-F
29,00,00,00,04,03,05,\ ; [Rewind <<] -> Ctrl-Shift-B
2a,00,00,00,04,00,21,\ ;
2b,00,00,00,04,00,04,\ ;
2c,00,00,00,04,03,13,\ ; [Play] -> Ctrl-Shift-P
2d,00,00,00,04,00,1e,\ ;
2e,00,00,00,04,00,24,\ ;
2f,00,00,00,04,00,25,\ ;
30,00,00,00,04,01,13,\ ; [Pause] -> Ctrl-P
31,00,00,00,04,03,16,\ ; [Stop] -> Ctrl-Shift-S
32,00,00,00,04,00,26,\ ;
33,00,00,00,04,00,27,\ ;
34,00,00,00,04,01,04,\ ;
35,00,00,00,04,00,04,\ ;
36,00,00,00,04,01,1f,\ ;
37,00,00,00,04,00,14,\ ; [Record] -> Q
38,00,00,00,04,01,18,\ ;
39,00,00,00,04,01,19,\ ;
3a,00,00,00,04,01,1a,\ ;
3b,00,00,00,04,01,1b,\ ;
3c,00,00,00,04,01,1c,\ ;
3d,00,00,00,04,01,1d,\ ;
3e,00,00,00,04,01,1e,\ ;
3f,00,00,00,04,01,1f,\ ;
40,00,00,00,04,00,1f,\ ;
41,00,00,00,04,01,21,\ ;
42,00,00,00,04,00,05,\ ;
43,00,00,00,04,00,1f,\ ;
44,00,00,00,04,01,24,\ ;
45,00,00,00,04,01,25,\ ;
46,00,00,00,04,01,26,\ ;
47,00,00,00,04,01,27,\ ;
48,00,00,00,04,02,04,\ ;
49,00,00,00,04,02,05,\ ;
4a,00,00,00,04,00,05,\ ;
4b,00,00,00,04,02,07,\ ;
4c,00,00,00,04,02,08,\ ;
4d,00,00,00,04,02,09,\ ;
4e,00,00,00,04,02,0a,\ ;
4f,00,00,00,04,02,0b,\ ;
50,00,00,00,04,02,0c,\ ;
51,00,00,00,04,02,0d,\ ;
52,00,00,00,04,02,0e,\ ;
53,00,00,00,04,02,0f,\ ;
54,00,00,00,04,00,3f,\ ; [Settings] -> F6
55,00,00,00,04,00,2a,\ ; [Back] -> Backspace
56,00,00,00,04,00,29,\ ; [Clear] -> Escape
57,00,00,00,04,02,13,\ ;
58,00,00,00,04,00,52,\ ; [Up] -> Up
59,00,00,00,04,00,51,\ ; [Down] -> Down
5a,00,00,00,04,00,50,\ ; [Left] -> Left
5b,00,00,00,04,00,4f,\ ; [Right] -> Right
5c,00,00,00,04,00,28,\ ; [OK] -> Enter
5d,00,00,00,04,02,19,\ ;
5e,00,00,00,04,02,1a,\ ;
5f,00,00,00,04,02,1b,\ ;
60,00,00,00,04,02,1c,\ ;
61,00,00,00,04,02,1d,\ ;
62,00,00,00,04,02,1e,\ ;
63,00,00,00,04,02,1f,\ ;
64,00,00,00,04,00,21,\ ;
65,00,00,00,04,02,21,\ ;
66,00,00,00,04,00,06,\ ;
67,00,00,00,04,00,22,\ ;
68,00,00,00,04,02,24,\ ;
69,00,00,00,04,02,25,\ ;
6a,00,00,00,04,02,26,\ ;
6b,00,00,00,04,02,27,\ ;
6c,00,00,00,04,03,04,\ ;
6d,00,00,00,04,03,05,\ ;
6e,00,00,00,04,00,07,\ ;
6f,00,00,00,04,03,07,\ ;
70,00,00,00,04,03,08,\ ;
71,00,00,00,04,03,09,\ ;
72,00,00,00,04,03,0a,\ ;
73,00,00,00,04,03,0b,\ ;
74,00,00,00,04,03,0c,\ ;
75,00,00,00,04,03,0d,\ ;
76,00,00,00,04,03,0e,\ ;
77,00,00,00,04,03,0f,\ ;
78,00,00,00,04,00,21,\ ;
79,00,00,00,04,03,11,\ ;
7a,00,00,00,04,00,23,\ ;
7b,00,00,00,04,03,13,\ ;
7c,00,00,00,04,03,14,\ ;
7d,00,00,00,04,00,05,\ ;
7e,00,00,00,04,00,24,\ ;
7f,00,00,00,04,03,17,\ ;
80,00,00,00,04,03,18,\ ;
81,00,00,00,04,01,07,\ ; [Info] -> Ctrl-D
83,00,00,00,04,03,1b,\ ;
84,00,00,00,04,03,1c,\ ;
85,00,00,00,04,03,1d,\ ;
86,00,00,00,04,03,1e,\ ;
87,00,00,00,04,03,1f,\ ;
88,00,00,00,04,00,25,\ ;
89,00,00,00,04,03,21,\ ;
8a,00,00,00,04,00,06,\ ;
8b,00,00,00,04,05,16,\ ; [Source] -> Ctrl-Alt-S
8c,00,00,00,04,00,21,\ ;
8d,00,00,00,04,03,25,\ ;
8e,00,00,00,04,03,26,\ ;
8f,00,00,00,04,03,27,\ ;
90,00,00,00,04,04,04,\ ;
91,00,00,00,04,04,05,\ ;
92,00,00,00,04,00,17,\ ; [Live TV] -> T
93,00,00,00,04,04,07,\ ;
94,00,00,00,04,04,08,\ ;
95,00,00,00,04,04,09,\ ;
96,00,00,00,04,04,0a,\ ;
97,00,00,00,04,04,0b,\ ;
98,00,00,00,04,04,0c,\ ;
99,00,00,00,04,04,0d,\ ;
9a,00,00,00,04,04,0e,\ ;
9b,00,00,00,04,04,0f,\ ;
9c,00,00,00,04,00,07,\ ;
9d,00,00,00,04,04,11,\ ;
9e,00,00,00,04,04,12,\ ;
9f,00,00,00,04,07,16,\ ; [Last Source] -> Ctrl-Alt-Shift-S
a0,00,00,00,04,00,12,\ ; [Recorded TV] -> O
a1,00,00,00,04,05,28,\ ; [Windows/MCE] -> Ctrl-Alt-Enter
a2,00,00,00,04,03,20,\ ; [#] -> Ctrl-Shift-3
a3,00,00,00,04,00,40,\ ; [Screen] -> F7
a4,00,00,00,04,04,18,\ ;
a5,00,00,00,04,04,19,\ ;
a6,00,00,00,04,04,1a,\ ;
a7,00,00,00,04,04,1b,\ ;
a8,00,00,00,04,01,16,\ ; [Sleep] -> Ctrl-S
a9,00,00,00,04,04,1d,\ ;
aa,00,00,00,04,04,1e,\ ;
ab,00,00,00,04,04,1f,\ ;
ac,00,00,00,04,03,25,\ ; [- *] -> Ctrl-Shift-8
ad,00,00,00,04,03,25,\ ;
ae,00,00,00,04,00,09,\ ;
af,00,00,00,04,00,0a,\ ;
b0,00,00,00,04,04,24,\ ;
b1,00,00,00,04,04,25,\ ;
b2,00,00,00,04,04,26,\ ;
b3,00,00,00,04,04,27,\ ;
b4,00,00,00,04,05,04,\ ;
b5,00,00,00,04,05,05,\ ;
b6,00,00,00,04,00,09,\ ;
b7,00,00,00,04,05,07,\ ;
b8,00,00,00,04,05,08,\ ;
b9,00,00,00,04,05,09,\ ;
ba,00,00,00,04,05,0a,\ ;
bb,00,00,00,04,05,0b,\ ;
bc,00,00,00,04,05,0c,\ ;
bd,00,00,00,04,05,0d,\ ;
be,00,00,00,04,05,0e,\ ;
bf,00,00,00,04,05,0f,\ ;
c0,00,00,00,04,00,05,\ ;
c1,00,00,00,04,05,11,\ ;
c2,00,00,00,04,05,12,\ ;
c3,00,00,00,04,05,13,\ ;
c4,00,00,00,04,05,14,\ ;
c5,00,00,00,04,00,07,\ ;
c6,00,00,00,04,00,24,\ ;
c7,00,00,00,04,05,17,\ ;
c8,00,00,00,04,05,18,\ ;
c9,00,00,00,04,05,19,\ ;
ca,00,00,00,04,05,1a,\ ;
cb,00,00,00,04,05,1b,\ ;
cc,00,00,00,04,00,06,\ ; [Guide] -> C
cd,00,00,00,04,05,1d,\ ;
ce,00,00,00,04,05,1e,\ ;
cf,00,00,00,04,05,1f,\ ;
d0,00,00,00,04,00,26,\ ;
d1,00,00,00,04,05,21,\ ;
d2,00,00,00,04,00,0b,\ ;
d3,00,00,00,04,00,06,\ ;
d4,00,00,00,04,05,24,\ ;
d5,00,00,00,04,05,25,\ ;
d6,00,00,00,04,05,26,\ ;
d7,00,00,00,04,05,27,\ ;
d8,00,00,00,04,06,04,\ ;
d9,00,00,00,04,06,05,\ ;
da,00,00,00,04,00,0a,\ ;
db,00,00,00,04,06,07,\ ;
dc,00,00,00,04,06,08,\ ;
dd,00,00,00,04,06,09,\ ;
de,00,00,00,04,06,0a,\ ;
df,00,00,00,04,06,0b,\ ;
e0,00,00,00,04,06,0c,\ ;
e1,00,00,00,04,00,1d,\ ; [Enter] -> Z
e2,00,00,00,04,06,0e,\ ;
e3,00,00,00,04,06,0f,\ ;
e4,00,00,00,04,00,2b,\ ; [CC/Red] -> Tab
e5,00,00,00,04,03,0f,\ ; [Aspect/Green] -> Ctrl-Shift-L
e6,00,00,00,04,01,1c,\ ; [SAP/Yellow] -> Ctrl-Y
e7,00,00,00,04,00,1a,\ ; [Fav/Blue] -> W
e8,00,00,00,04,06,14,\ ;
e9,00,00,00,04,00,08,\ ;
ea,00,00,00,04,00,25,\ ;
eb,00,00,00,04,06,17,\ ;
ec,00,00,00,04,06,18,\ ;
ed,00,00,00,04,06,19,\ ;
ee,00,00,00,04,06,1a,\ ;
ef,00,00,00,04,06,1b,\ ;
f0,00,00,00,04,06,1c,\ ;
f1,00,00,00,04,06,1d,\ ;
f2,00,00,00,04,06,1e,\ ;
f3,00,00,00,04,06,1f,\ ;
f4,00,00,00,04,00,27,\ ;
f5,00,00,00,04,06,21,\ ;
f6,00,00,00,04,00,0c,\ ;
f7,00,00,00,04,00,24,\ ;
f8,00,00,00,04,06,24,\ ;
f9,00,00,00,04,06,25,\ ;
fa,00,00,00,04,06,26,\ ;
fb,00,00,00,04,06,27,\ ;
fc,00,00,00,04,07,04,\ ;
fd,00,00,00,04,07,05,\ ;
fe,00,00,00,04,00,0b,\ ;
ff,00,00,00,04,07,07,\ ;