From: Antti Palosaari <crope@iki.fi>
To: Stuart <mailing-lists@enginuities.com>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Patch for DigitalNow TinyTwin remote.
Date: Thu, 02 Apr 2009 01:38:28 +0300 [thread overview]
Message-ID: <49D3ECE4.4030008@iki.fi> (raw)
In-Reply-To: <200904020043.48389.mailing-lists@enginuities.com>
Hei Stuart,
Mainly I need your signed-off-by tag, please reply with tag.
http://kerneltrap.org/taxonomy/term/245
Signed-off-by: forename surname <email@address>
See comments below,
Stuart wrote:
>> But the reason I pressure you is that merge window for 2.6.30 is open
>> only few days. After that we cannot put new code / functionality until
>> 2.6.31 opens and it is very many months from that day.
>>
>> 1.) I suggest that you make very small patch adding basic support for
>> TinyTwin remote (mainly add device IDs to same places as TwinHan).
>
> There are two patches in my last email which I believe achieve this. One simply
> removes the if statement so that the AzureWave IR tables are assigned for the
> TinyTwin. The other adds the TinyTwin to the HID ignore list so that there are
> no repeat key presses. I've included them at the end of this email as well.
>
>> 2.) Make other patch *later* that fix repeating issue. This one can be
>> added to the 2.6.30 later (there many release candidates in next
>> months) as bug fix.
>
> I've been looking through usb sniffs when plugging the TinyTwin in and can't see
> much that's different. There's a slight difference in the first 4 bytes of each
> packet sent for the firmware, for example the first packet for each:
>
> Linux: 00 51 00 00
> Windows: 38 51 00 c0
I think demodulator address field (0x38) is not valid - it is just don't
care in that case.
> The IR table download is also sent slightly differently, in Linux it's:
>
> 21 .. 00 9a 56 00 00 01 00
>
> from
>
> struct req_t req = {WRITE_MEMORY, 0, 0, 0, 0, 1, NULL};
> req.addr = 0x9a56
>
> While Windows is:
>
> 21 .. 38 9a 56 4e 80 01 00
>
> which would be
>
> struct req_t req = {WRITE_MEMORY, AF9015_I2C_DEMOD, 0, 4e, 80, 1, NULL};
> req.addr = 0x9a56
yes, but same here.
> I'm not sure what req.mbox = 0x4e or req.addr_len = 0x80 mean.
hmm, not sure if mbox have meaning. I doubt no meaning, if I remember
correctly it is also used only by demodulator. Same probably for
addr_len. But I check those later.
> There are also a few addresses either different or missing (0xd508, 0xd73a,
> 0xaeff, ...) in various . I'm not sure if any of them could have anything to do
> with how the IR behaves...
I doubt no.
> I'll try and check these to see if they make any difference when I get a chance.
Thank. You have done rather much work for this :)
>
> Regards,
>
> Stuart
>
> af9015-b0ba0a6dfca1_tinytwin_remote.patch:
This patch is fine, I will apply it when got your signed-off-by.
> kernel-2.6.29_tinytwin_remote_patch.diff:
> --- orig/drivers/hid/hid-core.c 2009-03-24 10:12:14.000000000 +1100
> +++ new/drivers/hid/hid-core.c 2009-03-31 15:08:13.000000000 +1100
> --- orig/drivers/hid/hid-ids.h 2009-03-24 10:12:14.000000000 +1100
> +++ new/drivers/hid/hid-ids.h 2009-03-31 15:09:05.000000000 +1100
I don't like to touch other than dvb-modules :o I will not apply this to
my tree / pull-request until whole repeating issue is clear. Why it
comes and why it does not occur every machine.
regards
Antti
--
http://palosaari.fi/
_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
next prev parent reply other threads:[~2009-04-01 22:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-13 18:06 [linux-dvb] Patch for DigitalNow TinyTwin remote Stuart
2009-03-16 21:36 ` Antti Palosaari
2009-03-17 3:10 ` Stuart
2009-03-27 15:20 ` Antti Palosaari
[not found] ` <49D13111.9020300@iki.fi>
2009-03-31 14:04 ` Stuart
[not found] ` <49D23920.5010903@iki.fi>
[not found] ` <49D24315.8020107@iki.fi>
2009-04-01 13:43 ` Stuart
2009-04-01 22:38 ` Antti Palosaari [this message]
2009-04-02 1:17 ` Stuart
2009-04-02 8:33 ` Antti Palosaari
2009-04-22 7:25 ` Stuart
2009-04-22 18:18 ` Antti Palosaari
2009-04-26 15:08 ` Stuart
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=49D3ECE4.4030008@iki.fi \
--to=crope@iki.fi \
--cc=linux-dvb@linuxtv.org \
--cc=linux-media@vger.kernel.org \
--cc=mailing-lists@enginuities.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