public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Frühwald Szabolcs" <szab100@bytestorm.hu>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] cx88-input: leadtek tv200xp global
Date: Tue, 26 Feb 2008 11:57:23 +0100	[thread overview]
Message-ID: <47C3F093.9030902@bytestorm.hu> (raw)

hi there,

i've a leadtek tv2000xp global pci card
it's running OK (with some errors, but works) with current developement
v4l-dvb branch
i tried to enable it's IR remote control too in cx88-input.c
just copied tv2000xp expert switch entry:

case CX88_BOARD_WINFAST2000XP_EXPERT:
                 ir_codes = ir_codes_winfast;
                 ir->gpio_addr = MO_GP0_IO;
                 ir->mask_keycode = 0x8f8;
                 ir->mask_keyup = 0x100;
                 ir->polling = 1; /* ms */
                 break;

but the result of this was: IR recognized well by kernel, dev/input
device attached
but when i pressed a button on remote, it printed its character, waited
a sec and started to repeat this character forever
so, i pressed '6', out was:
6<1sec_delay>666666666666666666666666666666666666666666666666666 .... etc..
could anybody help me to correct this?
it would be cool if i could paste a patch to the mailing list to enable
this functionality for this card
i figured out the main problem is with "ir->mask_keyup=0x100", so maybe
it isn't there... but i didnt find it at 0x60,0x80 too and don't know
where could it be??

ps: I also tried to comment out this line of code (as i saw some other
entrys without this option), the repeats are stopped but when i pressed
a button more than once it's only showed up once. So, i pressed 6,
printed 6 but when i pressed 6 again, it didnt print anything. After i
pressed other button (printed once too), and pressed again 6, prints 6
again).

Thanks for your help...

bye,
Szab



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

             reply	other threads:[~2008-02-26 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26 10:57 Frühwald Szabolcs [this message]
2008-02-27  8:42 ` [linux-dvb] cx88-input: leadtek tv200xp global - ?? Frühwald Szabolcs

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=47C3F093.9030902@bytestorm.hu \
    --to=szab100@bytestorm.hu \
    --cc=linux-dvb@linuxtv.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