[linux-dvb] WinTV NovaT remote keys - num keys only

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

 



Simon Baxter wrote:
> Hi group.
> 
> I have a Hauppauge WinTV NovaT card with the wired IR recevier and 
> remote control.
> 
> I can only get some of the remote keys to work, specifically the number 
> keys.
> 
> when I've modprobed cx88-dvb, I "tail -f /dev/input/event0" and hit some 
> keys - I only get a response on the number keys.
> 
> Similarly if I run VDR with the -P'remote -i /dev/input/event0' plugin 
> it can only recognise number keys, not anything else.
> 
> 
> Am I doing something wrong?  Can anyone shed any light on this?
> 
> 
> Thanks
> 
> Simon
> 

Posted some days ago by Mika Kesniken, but I've not yet tried it.
http://weeti.usr.fi/beef/ir-common.c.new_hauppauge_remote.diff

Someone also posted this other patch a while ago that I tried and got 
the same results you are having....
--- Desktop/ir-common_1.c       2005-02-22 14:07:01.000000000 +-0100
+++ Desktop/ir-common.c 2005-04-05 09:18:59.000000000 +-0100
@@ -20,13 +20,12 @@
   *  along with this program; if not, write to the Free Software
   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 
02111-1307  USA
   */

  #include <linux/module.h>
  #include <linux/moduleparam.h>
-#include <linux/version.h>
  #include <media/ir-common.h>

  /* 
-------------------------------------------------------------------------- 
*/

  MODULE_AUTHOR("Gerd Knorr <kraxel@xxxxxxxxxxx> [SuSE Labs]");
  MODULE_LICENSE("GPL");
@@ -182,24 +181,36 @@
         [ 0x04 ] = KEY_KP4,             // 4
         [ 0x05 ] = KEY_KP5,             // 5
         [ 0x06 ] = KEY_KP6,             // 6
         [ 0x07 ] = KEY_KP7,             // 7
         [ 0x08 ] = KEY_KP8,             // 8
         [ 0x09 ] = KEY_KP9,             // 9
+       [ 0x0a ] = KEY_TEXT,            // keypad asterisk as well
         [ 0x0b ] = KEY_RED,             // red button
-       [ 0x0c ] = KEY_OPTION,          // black key without text
+       [ 0x0c ] = KEY_RADIO,           // radio
         [ 0x0d ] = KEY_MENU,            // menu
+       [ 0x0e ] = KEY_SUBTITLE,        // also the # key
         [ 0x0f ] = KEY_MUTE,            // mute
         [ 0x10 ] = KEY_VOLUMEUP,        // volume +
         [ 0x11 ] = KEY_VOLUMEDOWN,      // volume -
-       [ 0x1e ] = KEY_NEXT,            // skip >|
+       [ 0x12 ] = KEY_PREVIOUS,        // previous channel
+       [ 0x14 ] = KEY_UP,              // up
+       [ 0x15 ] = KEY_DOWN,            // down
+       [ 0x16 ] = KEY_LEFT,            // left
+       [ 0x17 ] = KEY_RIGHT,           // right
+       [ 0x18 ] = KEY_VIDEO,           // Videos
+       [ 0x19 ] = KEY_AUDIO,           // Music
+       [ 0x1a ] = KEY_MHP,             // Pictures - presume this means 
"Multimedia Home Platform"- no "PICTURES" key in input.h
+       [ 0x1b ] = KEY_EPG,             // Guide
+       [ 0x1c ] = KEY_TV,              // TV
+       [ 0x1e ] = KEY_NEXTSONG,        // skip >|
         [ 0x1f ] = KEY_EXIT,            // back/exit
         [ 0x20 ] = KEY_CHANNELUP,       // channel / program +
         [ 0x21 ] = KEY_CHANNELDOWN,     // channel / program -
         [ 0x22 ] = KEY_CHANNEL,         // source (old black remote)
-       [ 0x24 ] = KEY_PREVIOUS,        // replay |<
+       [ 0x24 ] = KEY_PREVIOUSSONG,    // replay |<
         [ 0x25 ] = KEY_ENTER,           // OK
         [ 0x26 ] = KEY_SLEEP,           // minimize (old black remote)
         [ 0x29 ] = KEY_BLUE,            // blue key
         [ 0x2e ] = KEY_GREEN,           // green button
         [ 0x30 ] = KEY_PAUSE,           // pause
         [ 0x32 ] = KEY_REWIND,          // backward <<

Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM Mainframes and Sun Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux for all Computing Tasks



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux