From: Morvan Le Meut <mlemeut@gmail.com>
To: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support, giving up.
Date: Sat, 12 Sep 2009 10:14:37 +0200 [thread overview]
Message-ID: <4AAB586D.6080906@gmail.com> (raw)
In-Reply-To: <4AAA0247.8020004@gmail.com>
Since i don't know where to look, i finally decided to use a basic
incorrect keymap :
/* ADS Tech Instant TV PCI Remote */
static struct ir_scancode ir_codes_adstech_pci[] = {
/* too many repeating codes : incorrect gpio ?. */
{ 0x1f, KEY_MUTE },
{ 0x1d, KEY_SEARCH },
{ 0x17, KEY_EPG }, /* Guide */
{ 0x0f, KEY_UP },
{ 0x6, KEY_DOWN },
{ 0x16, KEY_LEFT },
{ 0x1e, KEY_RIGHT },
{ 0x0e, KEY_SELECT }, /* Enter */
{ 0x1a, KEY_INFO },
{ 0x12, KEY_EXIT },
{ 0x19, KEY_PREVIOUS },
{ 0x11, KEY_NEXT },
{ 0x18, KEY_REWIND },
{ 0x10, KEY_FORWARD },
{ 0x4, KEY_PLAYPAUSE },
{ 0x07, KEY_STOP },
{ 0x1b, KEY_RECORD },
{ 0x13, KEY_TUNER }, /* Live */
{ 0x0a, KEY_A },
{ 0x03, KEY_PROG1 }, /* 1 */
{ 0x01, KEY_PROG2 }, /* 2 */
{ 0x0, KEY_VIDEO },
{ 0x0b, KEY_CHANNELUP },
{ 0x08, KEY_CHANNELDOWN },
{ 0x15, KEY_VOLUMEUP },
{ 0x1c, KEY_VOLUMEDOWN },
};
struct ir_scancode_table ir_codes_adstech_pci_table = {
.scan = ir_codes_adstech_pci,
.size = ARRAY_SIZE(ir_codes_adstech_pci),
};
EXPORT_SYMBOL_GPL(ir_codes_adstech_pci_table);
No numbers in favor of arrows and ch+/- Vol+/- . Well 246 will be arrows
and 5 select, 7 and 8 are undefined, 9 become vol-, 1 epg and 3 is tuner.
If someone, one day, wants to find that missig bit, i'll be happy to
help. ( Strange anyway : it's as if there was a 0x7f mask even when i
specify a 0xff one )
Feel free to write a patch.
Morvan Le Meut a écrit :
> um .. help, please ?
> how can i make the driver read 1011011 instead of 011011 when i press
> Power instead of record on the remote ?
>
> thanks
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2009-09-12 8:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-07 16:59 ADS-Tech Instant TV PCI Morvan Le Meut
2009-09-08 8:25 ` (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support Morvan Le Meut
2009-09-08 9:51 ` Samuel Rakitnican
2009-09-08 10:04 ` Morvan Le Meut
2009-09-08 10:38 ` Morvan Le Meut
2009-09-08 16:18 ` Morvan Le Meut
2009-09-08 17:31 ` Samuel Rakitnican
2009-09-08 17:35 ` Morvan Le Meut
2009-09-08 17:46 ` Morvan Le Meut
2009-09-08 18:25 ` Morvan Le Meut
2009-09-09 8:31 ` Morvan Le Meut
2009-09-09 9:03 ` Morvan Le Meut
2009-09-09 9:04 ` semiRocket
2009-09-09 9:15 ` Morvan Le Meut
2009-09-09 9:33 ` Morvan Le Meut
2009-09-09 14:57 ` Morvan Le Meut
[not found] ` <op.uzzz96se6dn9rq@crni>
2009-09-09 17:09 ` Morvan Le Meut
2009-09-09 21:00 ` Morvan Le Meut
2009-09-10 8:38 ` Morvan Le Meut
2009-09-10 15:22 ` (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support, no idea what to try Morvan Le Meut
2009-09-11 7:54 ` Morvan Le Meut
2009-09-12 8:14 ` Morvan Le Meut [this message]
2009-09-13 4:15 ` (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support, giving up hermann pitton
2009-09-13 21:59 ` Morvan Le Meut
2009-09-13 22:41 ` hermann pitton
2009-09-14 7:33 ` Morvan Le Meut
2009-11-18 9:55 ` Morvan Le Meut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AAB586D.6080906@gmail.com \
--to=mlemeut@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox