All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Will <nico@youplala.net>
To: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] [patch] support for key repeat with dib0700 ir	receiver
Date: Wed, 27 Feb 2008 11:04:27 +0000	[thread overview]
Message-ID: <1204110267.6712.17.camel@acropora> (raw)
In-Reply-To: <1203434275.6870.25.camel@tux>


On Tue, 2008-02-19 at 16:17 +0100, Filippo Argiolas wrote:
> Hi, my last messages have been almost ignored.. so I'm opening a new
> thread. Please refer to the other thread [wintv nova-t stick, dib0700
> and remote controllers] for more info. 
> 
> Here is a brief summary of the problem as far as I can understand:
> - when a keypress event is received the device stores its data somewhere
> - every 150ms dib0700_rc_query reads this data 
> - since there is nothing that resets device memory if no key is being
> pressed anymore device still stores the data from the last keypress
> event
> - to prevent having false keypresses the driver reads rc5 toggle bit
> that changes from 0 to 1 and viceversa when a new key is pressed or when
> the same key is released and pressed again. So it ignores everything
> until the toggle bit changes. The right behavior should be "repeat last
> key until toggle bit changes", but cannot be done since last data still
> stored would be considered as a repeat even if nothing is pressed.
> - this way it ignores even repeated key events (when a key is holded
> down)
> - this approach is wrong because it works just for rc5 (losing repeat
> feature..) but doesn't work for example with nec remotes that don't set
> the toggle bit and use a different system. 
> 
> The patch solves it calling dib0700_rc_setup after each poll resetting
> last key data from the device. I've also implemented repeated key
> feature (with repeat delay to avoid unwanted double hits) for rc-5 and
> nec protocols. It also contains some keymap for the remotes I've used
> for testing (a philipps compatible rc5 remote and a teac nec remote).
> They are far from being complete since I've used them just for testing.
> 
> Thanks for reading this,
> Let me know what do you think about it,

Hi all,

I believe that we could we agree that this patch
      * does not break anything,
      * does what it says it should do,
      * works fine,
      * is coded properly wrt the v4l-dvb guideline,
      * got enough feedback.

Could the powers that be merge it?

Many thanks.

Nico


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

  parent reply	other threads:[~2008-02-27 11:05 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 15:17 [linux-dvb] [patch] support for key repeat with dib0700 ir receiver Filippo Argiolas
2008-02-19 17:21 ` Nicolas Will
2008-02-19 17:30   ` Filippo Argiolas
2008-02-19 19:19   ` Nicolas Will
2008-02-19 19:30     ` Nicolas Will
2008-02-19 21:10       ` Matthew Vermeulen
2008-02-19 22:09         ` Nicolas Will
2008-02-20  7:39           ` Matthew Vermeulen
2008-02-20  7:54             ` Nicolas Will
2008-02-20 13:10               ` Matthew Vermeulen
2008-02-20  8:22         ` Filippo Argiolas
2008-02-20  8:27           ` Filippo Argiolas
2008-02-20 12:36             ` Matthew Vermeulen
2008-02-20 13:23               ` Nicolas Will
2008-02-20 13:43                 ` Matthew Vermeulen
2008-02-20 14:15                   ` Filippo Argiolas
     [not found]                     ` <1203517472.6682.37.camel@acropora>
2008-02-20 20:09                       ` Patrik Hansson
2008-02-20 22:57                     ` Matthew Vermeulen
2008-02-20 23:08                       ` Matthew Vermeulen
2008-02-20  8:22     ` Filippo Argiolas
2008-02-19 21:14 ` Patrick Boettcher
2008-02-19 21:41   ` Jonas Anden
2008-02-19 22:16     ` Nicolas Will
2008-02-19 22:29       ` Patrick Boettcher
2008-02-19 22:50         ` hermann pitton
2008-02-20  4:18           ` Supported device? Lyal Collins
2008-02-19 22:52         ` [linux-dvb] [patch] support for key repeat with dib0700 ir receiver Nicolas Will
2008-02-20  9:00         ` Jonas Anden
2008-02-20  2:05   ` Darren Salt
2008-02-20  9:27   ` Filippo Argiolas
2008-02-20  9:39     ` Nicolas Will
2008-02-20 10:06       ` Filippo Argiolas
2008-03-02 19:45     ` Filippo Argiolas
2008-03-10 22:17       ` Nicolas Will
2008-02-27 11:04 ` Nicolas Will [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-02-19 16:33 Eduard Huguet
2008-02-19 16:49 ` Filippo Argiolas
2008-02-19 17:07   ` Eduard Huguet
     [not found] <mailman.77.1203547335.926.linux-dvb@linuxtv.org>
2008-02-21  9:54 ` Eduard Huguet
2008-02-21 15:42   ` Filippo Argiolas
2008-02-22 10:56     ` Matthew Vermeulen
2008-02-22 11:07       ` Nicolas Will

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=1204110267.6712.17.camel@acropora \
    --to=nico@youplala.net \
    --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 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.