From: Antti Palosaari <crope@iki.fi>
To: Rodrigo Tartajo <rtarty@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: rtl28xxu IR remote
Date: Sat, 08 Jun 2013 15:02:31 +0300 [thread overview]
Message-ID: <51B31D57.8000605@iki.fi> (raw)
In-Reply-To: <51B31628.2090702@iki.fi>
On 06/08/2013 02:31 PM, Antti Palosaari wrote:
> On 06/08/2013 02:22 AM, Rodrigo Tartajo wrote:
>> Hi, I just compiled and tested Antti Palosaari branch and can confirm
>> the remote works for my RTL2832U. I have updated the wiki[1] entry
>> with the steps necessary to configure the remote control. Please
>> confirm if these fixes your problem.
>>
>> Rodrigo.
>>
>> [1] http://www.linuxtv.org/wiki/index.php/RealTek_RTL2832U
>
>
> Good. I tested it quite limited set of remote controllers and even found
> one NEC remote which didn't worked - RC_MAP_MSI_DIGIVOX_II. Maybe
> timings should be adjusted or there is some other factor. I didn't cared
> to look it more as I am not very familiar with these raw remote
> protocols and real life variations.
>
> I also had no reference to adjust remote timings. I just used one RC5
> remote and calibrated timings according to that. If there is someone
> having better reference signals, then feel free to change that timing
> value to more correct.
Rodrigo,
as it was you who has defined that factor as a:
1000000000 / 38000 * 2 = 52631
I found 50800 most suitable by error and trial testing against one RC5
remote. I see 38000 is coming from IR frequency, but what is 1GHz clock
derived? And why multiply by 2? Reference clock feed to chip is 28.800
MHz and most likely these timings should be derived somehow from it. I
tried to make different calculations but didn't find any suitable...
Also what I remember, these IR leds will not return receiver carrier at
given frequency (38kHz in that case) but instead longer pulses. If there
is 0.5 sec 38 kHz modulated IR wave then IR-led will return 0.5 sec
continuous pulse. So that frequency should not matter too.
I did learning IR remote controller, which has both receiver and IR
sender, as a school project:
http://palosaari.fi/img_1305.jpg
Unfortunately that was returned to the uni and was thrown to the trash
can :S I have thought many times that board could be handy tool for
hacking support for these remote controllers...
regards
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2013-06-08 12:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 23:22 rtl28xxu IR remote Rodrigo Tartajo
2013-06-08 11:31 ` Antti Palosaari
2013-06-08 12:02 ` Antti Palosaari [this message]
2013-06-08 12:50 ` Rodrigo Tartajo
2013-06-08 13:16 ` Antti Palosaari
[not found] <51B26AF1.2000005@gmail.com>
[not found] ` <1370876006.1569.YahooMailNeo@web28901.mail.ir2.yahoo.com>
2013-06-10 15:09 ` marco caminati
2013-06-10 17:47 ` Antti Palosaari
2013-06-13 20:38 ` marco caminati
-- strict thread matches above, loose matches on Subject: below --
2013-06-05 21:23 rtl28xxu ir remote marco caminati
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=51B31D57.8000605@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=rtarty@gmail.com \
/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