From: Heiko Baums <lists@baums-on-web.de>
To: Jarod Wilson <jarod@wilsonet.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>,
"mailing list: lirc" <lirc-list@lists.sourceforge.net>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: Terratec Cinergy 1400 DVB-T RC not working anymore
Date: Wed, 27 Apr 2011 22:28:55 +0200 [thread overview]
Message-ID: <20110427222855.2e3a3a4d@darkstar> (raw)
In-Reply-To: <91CD2A5E-418A-4217-8D9F-1B29FC9DD24D@wilsonet.com>
Am Wed, 27 Apr 2011 15:19:16 -0400
schrieb Jarod Wilson <jarod@wilsonet.com>:
> Heh, we'll get there...
I hope so.
> I meant dmesg output after pressing the button that results in the
> ir-keytable 4eb02 output... If I had to guess though, that was from
> the "1" key on your remote, and the issue here we're facing is that
> the keymap only has the last part of the scancode for lookup...
It indeed was the "1" key. But the last messages in dmesg are:
[26479.026437] ir_nec_decode: NEC decode failed at state 0 (17500us
space)
[26479.026447] ir_rc5_decode: RC5(x) decode failed at state 1 (17500us
space)
[26479.026454] ir_rc6_decode: RC6 decode failed at state 0 (17500us
space)
[26479.026460] ir_jvc_decode: JVC decode failed at state 0 (17500us
space)
[26479.026466] ir_sony_decode: Sony decode failed at state 0 (17500us
space)
I don't think they are related to the keystrokes.
> However, I think I do at least see why you have no active protocols.
> It looks like the v4l-utils ir-keytable rule is loading a new map
> (probably the terratec_cinergy_xs one), which doesn't have a specific
> protocol listed, so no protocols get enabled.
Judging by this feature request there doesn't seems to be any active
protocol for every device, not only for the cx88:
https://bugs.archlinux.org/task/23673
> Mauro, what's the expected behavior of ir-keytable when it loads a
> keymap that says "type: UNKNOWN"?
>
> Heiko, here's something to try:
>
> Make a backup copy of /etc/rc_keymaps/terratec_cinergy_xs, and then
> alter the original, so that it says "type: NEC" and prefix each of
> the scancodes with 4eb (i.e., 0x41 KEY_HOME -> 0x4eb41 KEY_HOME).
> Then load that, and see if things start actually working... (I'm
> sort of shooting in the dark here, but I think its worth a try).
It already said "type: NEC". But I ran `sed -i
"s:x14:x4eb:g" /etc/rc_keymaps/nec_terratec_cinergy_xs` so that it says
e.g. 0x4eb02 KEY_1 instead of 0x1402 KEY_1.
And now it spits out a bit more, but I'm still getting scancodes only
very randomly.
When pressing the "1" key, ir-keytable -t now gives me:
Testing events. Please, press CTRL-C to abort.
1303935368.238345: event MSC: scancode = 4eb02
1303935368.238373: event key down: KEY_1 (0x0002)
1303935368.238376: event sync
11303935368.278350: event MSC: scancode = 4eb02
1303935368.294324: event MSC: scancode = 4eb02
1303935368.390373: event MSC: scancode = 4eb02
1303935368.398335: event MSC: scancode = 4eb02
1303935368.648245: event key up: KEY_1 (0x0002)
1303935368.648258: event sync
But, like I said before, it doesn't react always. Let's say, if I press
the keys about 10 times I only get 2 or 3 scancodes, if not less.
And dmesg now says this:
[27163.270751] ir_nec_decode: NEC (Ext) scancode 0x04eb02
[27163.270759] rc_g_keycode_from_table: cx88 IR (TerraTec Cinergy
1400 : scancode 0x4eb02 keycode 0x02
[27163.270785] ir_rc5_decode: RC5(x) decode failed at state 1 (11500us
space)
[27163.270791] ir_rc6_decode: RC6 decode failed at state 0 (11500us
space)
[27163.270797] ir_jvc_decode: JVC decode failed at state 0 (11500us
space)
[27163.270802] ir_sony_decode: Sony decode failed at state 0 (11500us
space)
[27163.520656] ir_do_keyup: keyup key 0x0002
Heiko
next prev parent reply other threads:[~2011-04-27 20:32 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110423005412.12978e29@darkstar>
[not found] ` <20110424163530.2bc1b365@darkstar>
[not found] ` <BCCEA9F4-16D7-4E63-B32C-15217AA094F3@wilsonet.com>
[not found] ` <20110425201835.0fbb84ee@darkstar>
[not found] ` <A4226E90-09BE-45FE-AEEF-0EA7E9414B4B@wilsonet.com>
[not found] ` <20110425230658.22551665@darkstar>
[not found] ` <59898A0D-573E-46E9-A3B7-9054B24E69DF@wilsonet.com>
[not found] ` <20110427151621.5ac73e12@darkstar>
2011-04-27 18:28 ` Terratec Cinergy 1400 DVB-T RC not working anymore Jarod Wilson
2011-04-27 18:47 ` Heiko Baums
2011-04-27 19:19 ` Jarod Wilson
2011-04-27 19:23 ` Jarod Wilson
2011-04-27 20:28 ` Heiko Baums [this message]
2011-04-27 20:38 ` Heiko Baums
2011-05-03 15:40 ` Jarod Wilson
2011-05-03 15:47 ` Devin Heitmueller
2011-05-03 17:16 ` Jarod Wilson
2011-05-03 20:21 ` Heiko Baums
2011-05-03 20:34 ` Devin Heitmueller
2011-05-03 20:46 ` Jarod Wilson
2011-05-03 21:36 ` Heiko Baums
2011-05-03 21:52 ` Devin Heitmueller
2011-05-04 4:27 ` Jarod Wilson
2011-05-25 20:41 ` Jarod Wilson
2011-06-22 7:29 ` Heiko Baums
2011-05-03 20:16 ` Heiko Baums
2011-04-27 14:06 Heiko Baums
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=20110427222855.2e3a3a4d@darkstar \
--to=lists@baums-on-web.de \
--cc=jarod@wilsonet.com \
--cc=linux-media@vger.kernel.org \
--cc=lirc-list@lists.sourceforge.net \
--cc=mchehab@redhat.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