Re: Remote controller for Powercolor Real Angel 330
- Date: Thu, 03 Apr 2008 10:29:04 +0400
- From: "Nickolay V. Shmyrev" <nshmyrev@xxxxxxxxx>
- Subject: Re: Remote controller for Powercolor Real Angel 330
В Срд, 02/04/2008 в 18:38 -0300, Dâniel Fraga пишет: > On Wed, 02 Apr 2008 03:49:54 +0400 > "Nickolay V. Shmyrev" <nshmyrev@xxxxxxxxx> wrote: > > > > > В Втр, 01/04/2008 в 19:00 -0300, Dâniel Fraga пишет: > > > The support for Powercolor Real Angel 330 is almost complete. > > > Everything works. I just need to finish the codes for remote controller. > > > > > > I have the following: > > > > > > 1) cx88-input.c > > > > > > ir_codes = ir_codes_powercolor_real_angel; > > > ir->gpio_addr = MO_GP2_IO; > > > ir->mask_keycode = 0x7f; > > > ir->polling = 1; /* ms */ > > > > > > 2) ir-keymaps.c: > > > > > > [0x03] = KEY_1, > > > [0x05] = KEY_2, > > > [0x07] = KEY_3, > > > [0x11] = KEY_8, > > > [0x13] = KEY_9, > > > [0x71] = KEY_SWITCHVIDEOMODE, /* switch inputs */ > > > [0x41] = KEY_UP, > > > [0x43] = KEY_DOWN, > > > [0x21] = KEY_RIGHT, > > > [0x23] = KEY_LEFT, > > > [0x25] = KEY_PAUSE, > > > [0x27] = KEY_PLAY, > > > [0x17] = KEY_STOP, > > > [0x47] = KEY_FASTFORWARD, > > > [0x45] = KEY_REWIND, > > > [0x37] = KEY_RECORD, > > > [0x35] = KEY_SEARCH, /* autoscan */ > > > [0x15] = KEY_SHUFFLE, /* snapshot */ > > > [0x53] = KEY_PREVIOUS, /* previous channel */ > > > [0x15] = KEY_DIGITS, /* single, double, tripple digit */ > > > [0x57] = KEY_MODE, /* stereo/mono */ > > > [0x51] = KEY_TEXT, /* teletext */ > > > > > > All these keys work perfectly. But some keys use the same code. > > > For example, if I press "5" on the remote, I get "1" and if I press > > > "6", I get "2". > > > > > > *** > > > > > > I noticed that some keys generate more than one code... I tried > > > all ir types (RC5, PD, OTHER) without success. Does anybody have any > > > clues about that? > > > > > > Could the mask_keycode be wrong? Any hints? > > > > > > > Keymask is wrong most probably. Get the right one with RegSpy > > application from Dscaler project in Windows. > > Hi Nicholas. Thanks for the answer. > > I got Regspy running and I can monitor MO_GP2_IO. The problem > is: > > 1) when I press key "1", MO_GP2_IO changes to 0x883. Then if I press it > again (the same key "1") it changes to 0x803. And it will switch > between 883 and 803 each time I press "1" > > 2) for key "2" it alternates between 0x885 and 0x805 > > 3) for key "3" it alternates between 0x887 and 0x807 > > 4) for key "4" it alternates between 0x881 and 0x801 > > 5) for key "5" it alternates between 0x883 and 0x803 > > What exactly should I look at Regspy? Thank you! Hm, looks strange. Probably something else is not powered properly. Did you check your initial mask and gpio? Could you just share regspy output and give us a link? Also please show use the changes you've made to add your card support.
Attachment:
signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=
-- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list
- Follow-Ups:
- Re: Remote controller for Powercolor Real Angel 330
- From: Dâniel Fraga
- Re: Remote controller for Powercolor Real Angel 330
- References:
- Remote controller for Powercolor Real Angel 330
- From: Dâniel Fraga
- Re: Remote controller for Powercolor Real Angel 330
- From: Nickolay V. Shmyrev
- Re: Remote controller for Powercolor Real Angel 330
- From: Dâniel Fraga
- Remote controller for Powercolor Real Angel 330
- Prev by Date: Re: [linux-dvb] TT S-1401 problem with kernel 2.6.24 ???
- Next by Date: ATI Theatre Pro 650 support?
- Previous by thread: Re: Remote controller for Powercolor Real Angel 330
- Next by thread: Re: Remote controller for Powercolor Real Angel 330
- Index(es):