LinHES Forums
http://forum.linhes.org/

ATI Remote (yet another new thread)
http://forum.linhes.org/viewtopic.php?f=2&t=5668
Page 1 of 1

Author:  jpummill2 [ Sun Aug 14, 2005 2:23 pm ]
Post subject:  ATI Remote (yet another new thread)

Hi All,

I am used to using my ATI remote with KnoppMyth v4.x,

I just installed R5A16 and am working through some issues.

1) No ESC key on remote.
2) Remote is very sensitive now (no it doesn't get it's feelings hurt). If I touch a key on the remote, it shows up 3 or 4 times on the screen.

I know that these things have been talked about in previous posts such as:
http://mysettopbox.tv/phpBB2/viewtopic. ... ati+remote
and
http://mysettopbox.tv/phpBB2/viewtopic.php?t=1599
and
http://mysettopbox.tv/phpBB2/viewtopic. ... ati+escape

I am just curious about a couple of things.

1) Why did the layout change when the remote was added to the kernel in R5?

2) I am trying to fix the remote the old way by editing the ati_remote.c file but it doesn't even exist on the machine. I do have an ati_remote.ko file. Is this what is created when I compile the ati_remote.c file - when I find it?

3) Can I just take the old ati_remote.c file from KnoppMyth 4.x and recompile it in R5A16?

4) Should I be looking more at using the xmodmap route instead of editing and recompiling ati_remote.c to fix the ati_remote keymaps?

5) Has anyone successfully removed the remote sensitivity yet? If so, was it done by editing the FILTER_TIME attribute in the ati_remote.c file. If this was the case, what was the new value for FILTER_TIME?

Thanks to everyone who takes time to read through this. I am very greatful for any assistance.

Thanks again,
jpummill

Author:  cesman [ Sun Aug 14, 2005 2:39 pm ]
Post subject: 

1) Default layout (someone want to provide me with a new one?).
2) Did you untar the kernel?
3) I don't know.
4) Your call.
5) Should be fixed soon.

Author:  Luthair [ Sun Aug 14, 2005 4:44 pm ]
Post subject: 

This is what I use:
Code:
        /* "special" keys */
        {KIND_FILTERED, 0xdd, 0x18, EV_KEY, KEY_O, 1},    /* "check" */
        {KIND_FILTERED, 0xdb, 0x16, EV_KEY, KEY_M, 1},       /* "menu" */
        {KIND_FILTERED, 0xc7, 0x02, EV_KEY, KEY_ESC, 1},      /* Power */
        {KIND_FILTERED, 0xc8, 0x03, EV_KEY, KEY_F7, 1},      /* TV */
        {KIND_FILTERED, 0xc9, 0x04, EV_KEY, KEY_F8, 1},      /* DVD */
        {KIND_FILTERED, 0xca, 0x05, EV_KEY, KEY_F6, 1},        /* WEB */
        {KIND_FILTERED, 0xcb, 0x06, EV_KEY, KEY_I, 1},  /* "book" */
        {KIND_FILTERED, 0xcc, 0x07, EV_KEY, KEY_U, 1},       /* "hand" */
        {KIND_FILTERED, 0xe1, 0x1c, EV_KEY, KEY_HOME, 1},     /* "timer" */
        {KIND_FILTERED, 0xe5, 0x20, EV_KEY, KEY_END, 1},      /* "max" */
        {KIND_FILTERED, 0xe2, 0x1d, EV_KEY, KEY_LEFT, 1},       /* left */
        {KIND_FILTERED, 0xe4, 0x1f, EV_KEY, KEY_RIGHT, 1},      /* right */
        {KIND_FILTERED, 0xe7, 0x22, EV_KEY, KEY_DOWN, 1},       /* down */
        {KIND_FILTERED, 0xdf, 0x1a, EV_KEY, KEY_UP, 1},         /* up */
        {KIND_FILTERED, 0xe3, 0x1e, EV_KEY, KEY_ENTER, 1},      /* "OK" */
        {KIND_FILTERED, 0xce, 0x09, EV_KEY, KEY_LEFTBRACE, 1}, /* VOL + */
        {KIND_FILTERED, 0xcd, 0x08, EV_KEY, KEY_RIGHTBRACE, 1},   /* VOL - */
        {KIND_FILTERED, 0xcf, 0x0a, EV_KEY, KEY_BACKSLASH, 1},       /* MUTE  */
        {KIND_FILTERED, 0xd1, 0x0c, EV_KEY, KEY_SLASH, 1},  /* CH + */
        {KIND_FILTERED, 0xd0, 0x0b, EV_KEY, KEY_H, 1},/* CH - */
        {KIND_FILTERED, 0xec, 0x27, EV_KEY, KEY_R, 1},     /* ( o) red */
        {KIND_FILTERED, 0xea, 0x25, EV_KEY, KEY_P, 1},     /* ( >) */
        {KIND_FILTERED, 0xe9, 0x24, EV_KEY, KEY_COMMA, 1},     /* (<<) */
        {KIND_FILTERED, 0xeb, 0x26, EV_KEY, KEY_DOT, 1},    /* (>>) */
        {KIND_FILTERED, 0xed, 0x28, EV_KEY, KEY_S, 1},       /* ([]) */
        {KIND_FILTERED, 0xee, 0x29, EV_KEY, KEY_P, 1},      /* ('') */
        {KIND_FILTERED, 0xf0, 0x2b, EV_KEY, KEY_PREVIOUS, 1},   /* (<-) */
        {KIND_FILTERED, 0xef, 0x2a, EV_KEY, KEY_NEXT, 1},       /* (>+) */
        {KIND_FILTERED, 0xf2, 0x2D, EV_KEY, KEY_INFO, 1},       /* PLAYING */
        {KIND_FILTERED, 0xf3, 0x2E, EV_KEY, KEY_HOME, 1},       /* TOP */
        {KIND_FILTERED, 0xf4, 0x2F, EV_KEY, KEY_END, 1},        /* END */
        {KIND_FILTERED, 0xf5, 0x30, EV_KEY, KEY_SELECT, 1},     /* SELECT */


For the sensitivity this line needs to be changed, I haven't gotten around to playing with it but I assume if you lower the divsor from 20 it will lower the repeat rate of button presses.

Unfortunately this setup requires a ~/.mplayer/input.conf as the standard (knopp)myth controls aren't the same as in mplayer.

Code:
[ volume -1
] volume +1
\ mute
, speed_incr -0.1
. speed_incr +0.1
s speed_set 1.0
c switch_audio

Author:  jpummill2 [ Sun Aug 14, 2005 4:55 pm ]
Post subject: 

Ok, thanks for the replies,

I have now untar'd the kernel sources and found ati_remote.c
I will compare the file against the ati_remote.c from KnoppMyth v4.x and let everyone know if I find any differences (though I think someone has already done this in a previous post).

Thanks again,
jpummill

Author:  derge [ Tue Jul 18, 2006 11:12 pm ]
Post subject:  Looks like this is a bug in "recent" kernels

Looks like people are working on it and hopefully it will be fixed soon.


http://lkml.org/lkml/2006/7/2/101

http://lkml.org/lkml/2006/7/5/6

http://lkml.org/lkml/2006/6/27/504

http://lkml.org/lkml/2006/6/27/499

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/