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, no idea what to try.
Date: Thu, 10 Sep 2009 17:22:50 +0200 [thread overview]
Message-ID: <4AA919CA.20701@gmail.com> (raw)
In-Reply-To: <4AA8BB20.4040701@gmail.com>
from cx88-input.c
case CX88_BOARD_ADSTECH_DVB_T_PCI:
ir_codes = ir_codes_adstech_dvb_t_pci;
ir->gpio_addr = MO_GP1_IO;
ir->mask_keycode = 0xbf;
ir->mask_keyup = 0x40;
ir->polling = 50; /* ms */
break;
I'm not sure how much of the adstech instant tv dvb-t pci can be copied
for the non dvb-t one but could the solution be something along the
lines of that "ir->gpio_addr" thing ? or is that specific to the cx88
driver ?
Morvan Le Meut a écrit :
> Still rambling about it :)
> i was just comparing the instant TV dvb-t pci keymap with what i got
> for the instant tv pci :
> dvb-t
> { 0x4d, KEY_0 },
> { 0x57, KEY_1 },
> { 0x4f, KEY_2 },
> { 0x53, KEY_3 },
> { 0x56, KEY_4 },
> { 0x4e, KEY_5 },
> { 0x5e, KEY_6 },
> { 0x54, KEY_7 },
> { 0x4c, KEY_8 },
> { 0x5c, KEY_9 },
> pci
> { 0xd, KEY_0 },
> { 0x17, KEY_1 },
> { 0xf, KEY_2 },
> { 0x13, KEY_3 },
> { 0x16, KEY_4 },
> { 0xe, KEY_5 },
> { 0x1e, KEY_6 },
> { 0x14, KEY_7 },
> { 0xc, KEY_8 },
> { 0x1c, KEY_9 },
> if manufacturers are half as lazy as i am, and since the remote is the
> same ( or at least looks the same ), it looks like i am indeed missing
> part of the gpio. ( no mark, got the output with ir_debug=1 )
> now for the rest of the keys :
> dvb-t
> { 0x5b, KEY_POWER },
> { 0x5f, KEY_MUTE },
> { 0x55, KEY_GOTO },
> { 0x5d, KEY_SEARCH },
> { 0x17, KEY_EPG }, /* Guide */
> { 0x1f, KEY_MENU },
> { 0x0f, KEY_UP },
> { 0x46, KEY_DOWN },
> { 0x16, KEY_LEFT },
> { 0x1e, KEY_RIGHT },
> { 0x0e, KEY_SELECT }, /* Enter */
> { 0x5a, KEY_INFO },
> { 0x52, KEY_EXIT },
> { 0x59, KEY_PREVIOUS },
> { 0x51, KEY_NEXT },
> { 0x58, KEY_REWIND },
> { 0x50, KEY_FORWARD },
> { 0x44, KEY_PLAYPAUSE },
> { 0x07, KEY_STOP },
> { 0x1b, KEY_RECORD },
> { 0x13, KEY_TUNER }, /* Live */
> { 0x0a, KEY_A },
> { 0x12, KEY_B },
> { 0x03, KEY_PROG1 }, /* 1 */
> { 0x01, KEY_PROG2 }, /* 2 */
> { 0x00, KEY_PROG3 }, /* 3 */
> { 0x06, KEY_DVD },
> { 0x48, KEY_AUX }, /* Photo */
> { 0x40, KEY_VIDEO },
> { 0x19, KEY_AUDIO }, /* Music */
> { 0x0b, KEY_CHANNELUP },
> { 0x08, KEY_CHANNELDOWN },
> { 0x15, KEY_VOLUMEUP },
> { 0x1c, KEY_VOLUMEDOWN },
> pci
> { 0x1b, KEY_POWER },
> { 0x1f, KEY_MUTE },
> { 0x15, KEY_GOTO },
> { 0x1d, KEY_SEARCH },
> { 0x17, KEY_EPG }, /* Guide */
> { 0x1f, KEY_MENU },
> { 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 },
> { 0x12, KEY_B },
> { 0x03, KEY_PROG1 }, /* 1 */
> { 0x01, KEY_PROG2 }, /* 2 */
> { 0x00, KEY_PROG3 }, /* 3 */
> { 0x06, KEY_DVD },
> { 0x8, KEY_AUX }, /* Photo */
> { 0x0, KEY_VIDEO },
> { 0x19, KEY_AUDIO }, /* Music */
> { 0x0b, KEY_CHANNELUP },
> { 0x08, KEY_CHANNELDOWN },
> { 0x15, KEY_VOLUMEUP },
> { 0x1c, KEY_VOLUMEDOWN },
>
> as you can see, for most of the keycodes, i am missing 0x40, which
> mean i am missing one bit.
>
> And i don't even know where i should start looking to solve that problem.
>
> thanks for any help/solution.
>
next prev parent reply other threads:[~2009-09-10 15:22 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 ` Morvan Le Meut [this message]
2009-09-11 7:54 ` (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support, no idea what to try Morvan Le Meut
2009-09-12 8:14 ` (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support, giving up Morvan Le Meut
2009-09-13 4:15 ` 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=4AA919CA.20701@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.