OSDN Git Service

[media] dib0700: Fix IR keycode handling
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 12 Jan 2011 15:17:52 +0000 (12:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:17 +0000 (11:45 -0200)
commit59aa346009c06c6697e9db008e67e4ff8c205091
treec1e87f25426cad90836d44d5b9be79d7511eb406
parent312d63e4b0ca8456c82d01a6446795f7d029ecde
[media] dib0700: Fix IR keycode handling

Fixes Fedora 14 bug: https://bugzilla.redhat.com/show_bug.cgi?id=667157

There are a few bugs at the code that generates the scancode at dib0700:
- RC keycode is wrong (it outputs a 24 bits keycode);
- NEC extended outputs a keycode that have endiannes issues;
- keycode tables for NEC extended remotes need to be updated.

The last issue need to be done as we get reports, as we don't have
the complete NEC-extended keycodes at the dibcom table.

This patch fixes the first two issues.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_core.c