All of lore.kernel.org
 help / color / mirror / Atom feed
From: Morvan Le Meut <mlemeut@gmail.com>
To: linux-media@vger.kernel.org
Subject: (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support
Date: Tue, 08 Sep 2009 10:25:44 +0200	[thread overview]
Message-ID: <4AA61508.9040506@gmail.com> (raw)
In-Reply-To: <4AA53C05.10203@gmail.com>

Morvan Le Meut a écrit :
> Hello all
> This is an old card i bough by error ( wanted the DVB-T version ) but 
> i tried it and i see a small problem :
> The remote isn't supported. ( If it is, i wonder why my computer don't 
> see it )
>
> I found an old patch to add remote support to it here :
>
> http://tfpsly.free.fr/Files/Instant_TV_PCI_remote/saa7134_patch_for_AdsInstantTVPCI.gz 
>
> ( The webpage talking about it is 
> http://tfpsly.free.fr/francais/index.html?url=http://tfpsly.free.fr/Files/Instant_TV_PCI_remote/index.html 
> in french )
>
> But since i found out long ago that i shouldn't even think of altering 
> a source file, could someone adapt that old patch to correct this ? ( 
> should be quick, i guess )
>
> 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
>
Well, i'm trying it myself ( by hand, since the patch looks old ) :
adding
case SAA7134_BOARD_ADS_INSTANT_TV: at line 6659 in saa7134-cards.c
(before "dev->has_remote = SAA7134_REMOTE_GPIO;" )
is that correct ?
but from the diff file i should add what seems to be the remote keycode 
in saa7134-input.c
"+static IR_KEYTAB_TYPE AdsInstantTvPci_codes[IR_KEYTAB_SIZE] = {
+    // Buttons are in the top to bottom physical order
+    // Some buttons return the same raw code, so they are currently 
disabled
+    [ 127] = KEY_FINANCE,   // "release all keys" code - prevent 
repeating enlessly a key
+   
+    [ 27 ] = KEY_POWER,"
( and so on )
 Since i didn't see other keycodes for the other cards, i guess this is 
wrong, so where should i add them ?
( i barely understand what i am doing right now :p )

Thanks



  reply	other threads:[~2009-09-08  8:25 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 ` Morvan Le Meut [this message]
2009-09-08  9:51   ` (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support 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                                   ` (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=4AA61508.9040506@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.