LinHES Forums http://forum.linhes.org/ |
|
Another take on the ATI Remote Wonder... http://forum.linhes.org/viewtopic.php?f=2&t=1599 |
Page 1 of 2 |
Author: | shomann [ Tue Jun 01, 2004 1:53 pm ] |
Post subject: | Another take on the ATI Remote Wonder... |
First, hello to everyone here! I have been using MythTV since last August (as well as using Linux in general) and have been very impressed with the Knoppmyth project thus far in terms of providing a simple, easily maintained MythTV... MAJOR thanks! (Not to mention quick development, I just noticed V4.4 is available, do you guys sleep?) Anyways, I have desperately been wanting to contribute to Myth in general since I started using it, but since I lack the skillset of a programmer I have turned to something I understand a little better - layout. In specfic, I have taken the past few days mulling over a previous post: http://mysettopbox.tv/phpBB2/viewtopic. ... ati+remote in an another attempt to improve the ATI Remote Wonder's function within Knoppmyth but retain most of the standard key bindings. I will post the code later, but in my prep work, I made a fairly involved layout of the remote to make sure I covered all my bases. ![]() (I made a few tweaks to it over the past few hours, but at this point -23:47CDT 6/1 I should be finished) In doing so I realized that others might want access something where it would be easy to map out possible key combos without mucking around in MySQL more than needed: Printable blank version (PDF): http://shomann2.home.insightbb.com/sjo_remote_blank.pdf Printable color-keyed version (PDF): http://shomann2.home.insightbb.com/sjo_remote_key.pdf Printable complete version (PDF): http://shomann2.home.insightbb.com/sjo_remote_complete.pdf (In case anyone is curious I used Powerpoint to make the layout) Editable Powerpoint (Mac X version, should be compatible with XP and higher): http://shomann2.home.insightbb.com/sjo_mythtv_ati_remote.ppt You can tell by my remote setup that I tried to map as many different keys as possible to cut down on duplicates. To enter the jumppoint keys, I had to get into the jumppoint table within MySQL (to which I found webadmin an indispensible tool - its inclusion in Knoppmyth was a stroke of genius). Because I didn't care as much about the system global keys as the other post, I even mapped the Power key to Watch Recordings...yeah, I might have gotten a little nuts! Let me know what you all think, hope this helps out! |
Author: | tjc [ Tue Jun 01, 2004 2:58 pm ] |
Post subject: | |
Not having one of these I can't comment about the mappings, but the diagram is a thing of beauty! ![]() |
Author: | shomann [ Tue Jun 01, 2004 3:04 pm ] |
Post subject: | |
Thank you much! BTW yours and may rigs are nearly identical...I am running a Shuttle MN31/N micro ATX board and Corsair RAM, but otherwise... |
Author: | cesman [ Tue Jun 01, 2004 5:07 pm ] |
Post subject: | Re: Another take on the ATI Remote Wonder... |
shomann wrote: do you guys sleep?) Yes, I get an hour or two here or there...shomann wrote: its inclusion in Knoppmyth was a stroke of genius). :oops: shomann wrote: Let me know what you all think, hope this helps out! Great diagram! One thing is missing, if someone wanted to use the same bindings, they'd have to edit ati_remote.c. Perhaps you can include your modified source online?
|
Author: | shomann [ Tue Jun 01, 2004 6:19 pm ] |
Post subject: | |
Will do, will try to get it up later tonight or first thing in the morning |
Author: | Moasat [ Tue Jun 01, 2004 7:58 pm ] |
Post subject: | |
So, how exactly does one get this installed? I'm relatively new to Linux but I've got MythTV up and running. Ultimately I want to set up a separate front end and I have an ATI Remote Wonder ready to go as the remote for that front end. What do I have to do to get this installed? |
Author: | cesman [ Tue Jun 01, 2004 8:49 pm ] |
Post subject: | |
add_ati_remote The layout however is different from shomann's. |
Author: | shomann [ Tue Jun 01, 2004 9:39 pm ] |
Post subject: | |
Funny story ![]() I ended up re-building my install tonight...before saving the ati_remote.c file LOL. So I rebuilt it, someone might want to check it real quick. Source File ati_remote.c: http://shomann2.home.insightbb.com/ati_ ... i_remote.c Gatos install tar: http://shomann2.home.insightbb.com/ati_ ... -2.1.1.tgz the famous input.h file from kernel 2.4.25 http://shomann2.home.insightbb.com/ati_ ... er/input.h To install: Download the GATOS driver from Sourceforge or my page (the 2nd link) Download the custom ati_remote.c file from my page Replace the ati_remote.c in the standard installer with mine * If you have the existing ati_remote driver already loaded, you will probably want to run rmmod before the next step Run make, then make install and then modprobe Get into the mythconverg database, my prefered method it through webadmin and edit the jumppoints to correspond with my keys. You will also want to change around the 'skip' commands as I have in the keybindings database. Here is the relevent code from ati_remote.c: Code: } ati_remote_translation_table[]={
{KIND_FILTERED, 0x3d, 0x78, EV_KEY, KEY_F11, 1}, /* left ati_remote button */ {KIND_FILTERED, 0x41, 0x7c, EV_KEY, KEY_H, 1}, /* right ati_remote button */ /* ati_remote */ {KIND_ACCEL, 0x35, 0x70, EV_REL, REL_X, -1}, /* left */ {KIND_ACCEL, 0x36, 0x71, EV_REL, REL_X, 1}, /* right */ {KIND_ACCEL, 0x37, 0x72, EV_REL, REL_Y, -1}, /* up */ {KIND_ACCEL, 0x38, 0x73, EV_REL, REL_Y, 1}, /* down */ {KIND_LU, 0x39, 0x74, EV_REL, 0, 0}, /* left up */ {KIND_RU, 0x3a, 0x75, EV_REL, 0, 0}, /* right up */ {KIND_LD, 0x3c, 0x77, EV_REL, 0, 0}, /* left down */ {KIND_RD, 0x3b, 0x76, EV_REL, 0, 0}, /* right down */ /* keyboard.. */ {KIND_FILTERED, 0xe2, 0x1d, EV_KEY, KEY_LEFT, 1}, /* key left */ {KIND_FILTERED, 0xe4, 0x1f, EV_KEY, KEY_RIGHT, 1}, /* key right */ {KIND_FILTERED, 0xe7, 0x22, EV_KEY, KEY_DOWN, 1}, /* key down */ {KIND_FILTERED, 0xdf, 0x1a, EV_KEY, KEY_UP, 1}, /* key left */ {KIND_FILTERED, 0xe3, 0x1e, EV_KEY, KEY_ENTER, 1}, /* key enter */ {KIND_FILTERED, 0xd2, 0x0d, EV_KEY, KEY_1, 1}, {KIND_FILTERED, 0xd3, 0x0e, EV_KEY, KEY_2, 1}, {KIND_FILTERED, 0xd4, 0x0f, EV_KEY, KEY_3, 1}, {KIND_FILTERED, 0xd5, 0x10, EV_KEY, KEY_4, 1}, {KIND_FILTERED, 0xd6, 0x11, EV_KEY, KEY_5, 1}, {KIND_FILTERED, 0xd7, 0x12, EV_KEY, KEY_6, 1}, {KIND_FILTERED, 0xd8, 0x13, EV_KEY, KEY_7, 1}, {KIND_FILTERED, 0xd9, 0x14, EV_KEY, KEY_8, 1}, {KIND_FILTERED, 0xda, 0x15, EV_KEY, KEY_9, 1}, {KIND_FILTERED, 0xdc, 0x17, EV_KEY, KEY_0, 1}, {KIND_FILTERED, 0xdd, 0x18, EV_KEY, KEY_F3, 1}, /* key "checkbox" */ {KIND_FILTERED, 0xc5, 0x00, EV_KEY, KEY_F1, 1}, /*The A Key*/ {KIND_FILTERED, 0xc6, 0x01, EV_KEY, KEY_F6, 1}, /*The B Key*/ {KIND_FILTERED, 0xde, 0x19, EV_KEY, KEY_X, 1}, /*The C Key*/ {KIND_FILTERED, 0xe0, 0x1b, EV_KEY, KEY_E, 1}, /*The D Key*/ {KIND_FILTERED, 0xe6, 0x21, EV_KEY, KEY_HOME, 1}, /*The E Key*/ {KIND_FILTERED, 0xe8, 0x23, EV_KEY, KEY_END, 1}, /*The F Key*/ {KIND_FILTERED, 0xdb, 0x16, EV_KEY, KEY_M, 1}, /* key menu */ {KIND_FILTERED, 0xc7, 0x02, EV_KEY, KEY_F5, 1}, /* key power */ {KIND_FILTERED, 0xc8, 0x03, EV_KEY, KEY_F7, 1}, /* key TV */ {KIND_FILTERED, 0xc9, 0x04, EV_KEY, KEY_F8, 1}, /* key DVD */ {KIND_FILTERED, 0xca, 0x05, EV_KEY, KEY_F10, 1}, /* key Web */ {KIND_FILTERED, 0xcb, 0x06, EV_KEY, KEY_F2, 1}, /* key "open book" */ {KIND_FILTERED, 0xcc, 0x07, EV_KEY, KEY_F4, 1}, /* key "hand" */ {KIND_FILTERED, 0xe1, 0x1c, EV_KEY, KEY_ESC, 1}, /* key "timer" */ {KIND_FILTERED, 0xce, 0x09, EV_KEY, KEY_LEFTBRACE, 1}, {KIND_FILTERED, 0xcd, 0x08, EV_KEY, KEY_RIGHTBRACE, 1}, {KIND_FILTERED, 0xcf, 0x0a, EV_KEY, KEY_BACKSLASH, 1}, {KIND_FILTERED, 0xd1, 0x0c, EV_KEY, KEY_PAGEUP, 1}, /* next channel*/ {KIND_FILTERED, 0xd0, 0x0b, EV_KEY, KEY_PAGEDOWN, 1}, /* prev channel */ {KIND_FILTERED, 0xec, 0x27, EV_KEY, KEY_F9, 1}, /*Record Key*/ {KIND_FILTERED, 0xea, 0x25, EV_KEY, KEY_P, 1}, /* Play */ {KIND_FILTERED, 0xe9, 0x24, EV_KEY, KEY_COMMA, 1}, /*Rewind*/ {KIND_FILTERED, 0xeb, 0x26, EV_KEY, KEY_DOT, 1}, /*Fast Fwd*/ {KIND_FILTERED, 0xed, 0x28, EV_KEY, KEY_STOP, 1}, /*Record Key*/ {KIND_FILTERED, 0xee, 0x29, EV_KEY, KEY_P, 1}, /*Pause*/ {KIND_FILTERED, 0xe5, 0x20, EV_KEY, KEY_I, 1}, /* maximize */ {KIND_END, 0x00, 0x00, EV_MAX+1, 0, 0} /* END */ }; |
Author: | billytwowilly [ Sun Jun 13, 2004 7:08 am ] |
Post subject: | |
I haven't had time to look over your bindings too much, but your diagram is gorgeous. I found this take on the ati remote just before bedtime for me, but I will look at it tommorrow for sure. (I did the original take). I have to say that I REALLY like your diagram. It would be great if you could make blanks like the one above for the lola remote and the pvr-250 remote. I kinda abandoned the ati remote when my lola remote came in and I've been spending the last couple days trying to dig up the modified ati remote driver that works with the lola remote. I now have it and it looks like the guy that made it did a decent job of key bindings, so all I really need to release it is a key binding map like yours for the ati remote. I'd also like to get a map made for the pvr-250 remote because I have one of those too. Things like this are invaluable to the beginners trying out the various remotes (trust me I was a beginner at one time as well). I can provide pictures of the pvr-250 remote and the lola remote as well if you'll agree to make the blanks. Thanks, Chris |
Author: | billytwowilly [ Sun Jun 13, 2004 4:11 pm ] |
Post subject: | |
all I can think of is to bind stop to esc. It's blank now. When I get a chance I'll try out your driver. Chris |
Author: | shomann [ Tue Jun 15, 2004 9:31 am ] |
Post subject: | |
Sorry it has taken so long to respond...I was out of town this weekend. I had actually considered making some blanks for other remotes. I realize the Hauppauge remotes will be the most prevelent, but I am curious as to what others are in high use. |
Author: | billytwowilly [ Tue Jun 15, 2004 4:42 pm ] |
Post subject: | |
I have pics of the pvr-250 remote and the lola remote up on my webspace at: http://members.shaw.ca/quilley/IMG_0003.JPG <-- LOLA and http://members.shaw.ca/quilley/IMG_0007.JPG <-- PVR-250 Let me know if there is too much glare, etc. I can try a few more things to get a better picture. I know the PVR remote is used by tons of people. The lola remote is probably more specialty, but X10 keeps having these sales on it where you can pick it up for 5.90, so it will become more prevalent. Chris |
Author: | shomann [ Wed Jun 16, 2004 7:13 am ] |
Post subject: | |
Good deal. Will try to get to work on this soon. These pics should do fine. You conquered the hardest part of photography and thats keeping focus ![]() |
Author: | shomann [ Wed Jun 23, 2004 3:35 pm ] |
Post subject: | |
I still haven't gotten around to the new remotes. My apologies, work got super hectic and won't be any prettier for the next 2 weeks. I hope no one is in dire need of these and just know I haven't forgotten about it! BTW: I posted my PPT file if someone else wants to take a stab at it, they are more than welcome to. ![]() |
Author: | billytwowilly [ Wed Jun 23, 2004 5:11 pm ] |
Post subject: | |
I'm in no super rush. I might be gone for two weeks soon for work, so I probably won't be able to take a stab at filling it out for a while either. Cheers, Chris |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |