Mailing List archive

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

[vdr] Re: keymap for MD4688 (Was: [Info] Remote control plugin: keymapfor remote control MBO-81095)



Oliver Endriss wrote:
> FYI, I added a keymap for the MBO-81095 remote control to the DVB CVS
> (a 10-in-1 remote control currently sold by PLUS).
> 
> If you select code 562 and use the keymap mbo_81095-code_562.rc5,
> you can use all 31 keys with the remote control plugin.
> 
> Oliver
> 
> 
> 

Below you find a keymap for the Medion MD4688 sold by Aldi some weeks
ago (and is still available in my favourite Aldi). If you select code
235 for VCR and 175 for DSAT and the attached small patch for
av7110_ir.c you get an unambiguous key mapping for all keys.

If anyone finds RC modes for this remote and RC5 code which let you use
all keys without the driver hack, I'll be glad to hear about it.

For completeness I also attached the remote.conf entries I use here.

Wolfgang

The keymap:

0x00 KEY_0
0x01 KEY_1
0x02 KEY_2
0x03 KEY_3
0x04 KEY_4
0x05 KEY_5
0x06 KEY_6
0x07 KEY_7
0x08 KEY_8
0x09 KEY_9
0x0A KEY_DIGITS
0x0C KEY_POWER
0x0D KEY_MUTE
0x0E KEY_GREEN
0x0F KEY_F3
0x10 KEY_VOLUMEUP
0x11 KEY_VOLUMEDOWN
0x12 KEY_UP
0x13 KEY_DOWN
0x14 KEY_RIGHT
0x15 KEY_LEFT
0x20 KEY_CHANNELUP
0x21 KEY_CHANNELDOWN
0x22 KEY_AB
0x26 KEY_YELLOW
0x27 KEY_EXIT
0x29 KEY_F2
0x2A KEY_OK
0x2B KEY_MENU
0x2D KEY_RED
0x2E KEY_F4
0x35 KEY_BLUE
0x38 KEY_AUX
0x3C KEY_F5
0x3F KEY_F1
0x69 KEY_PAUSE
0x72 KEY_REWIND
0x74 KEY_FASTFORWARD
0x75 KEY_PLAY
0x76 KEY_STOP
0x77 KEY_RECORD

The patch:

vdr:/usr/src/DVB/driver/av7110 # diff -u av7110_ir.c.orig av7110_ir.c
--- av7110_ir.c.orig    Fri Aug 22 16:35:23 2003
+++ av7110_ir.c Fri Aug 22 16:43:51 2003
@@ -77,9 +77,9 @@
                data = ircom & 0xff;
                addr = (ircom >> 8) & 0xff;
        } else {
-               /* RC5: 5 bits device address, 6 bits data */
-               data = ircom & 0x3f;
-               addr = (ircom >> 6) & 0x1f;
+               /* RC5: 3 bits device address, 8 bits data */
+               data = ircom;
+               addr = (ircom >> 8) & 0x07;
        }

        keycode = key_map[data];

remote.conf:
remote-event0.Up         0000000100010067
remote-event0.Down       000000010001006C
remote-event0.Menu       000000010001008B
remote-event0.Ok         0000000100010160
remote-event0.Back       00000001000100AE
remote-event0.Left       0000000100010069
remote-event0.Right      000000010001006A
remote-event0.Red        000000010001018E
remote-event0.Green      000000010001018F
remote-event0.Yellow     0000000100010190
remote-event0.Blue       0000000100010191
remote-event0.0          000000010001000B
remote-event0.1          0000000100010002
remote-event0.2          0000000100010003
remote-event0.3          0000000100010004
remote-event0.4          0000000100010005
remote-event0.5          0000000100010006
remote-event0.6          0000000100010007
remote-event0.7          0000000100010008
remote-event0.8          0000000100010009
remote-event0.9          000000010001000A
remote-event0.Play       0000000100010197
remote-event0.Pause      0000000100010077
remote-event0.Stop       0000000100010080
remote-event0.Record     00000001000100A7
remote-event0.FastFwd    000000010001019B
remote-event0.FastRew    00000001000100A8
remote-event0.Power      0000000100010074
remote-event0.Channel+   0000000100010192
remote-event0.Channel-   0000000100010193
remote-event0.Volume+    0000000100010073
remote-event0.Volume-    0000000100010072
remote-event0.Mute       0000000100010071
remote-event0.Schedule   000000010001003B
remote-event0.Channels   000000010001019E
remote-event0.Timers     000000010001003C
remote-event0.Recordings 0000000100010196
remote-event0.Setup      000000010001003D
remote-event0.Commands   0000000100010186





-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index