]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13575): em28xx: Use the complete address/command RC5 code for WinTV USB2
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 6 Dec 2009 02:24:50 +0000 (23:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 02:18:07 +0000 (00:18 -0200)
commit34f5d298f125776a7d153d61f446aacfc262cbd0
tree0cd6a73d51fed57271396f6dc0522ddf64bbd4cd
parent685c559febca91ec2b6a81825c001ba6de859a81
V4L/DVB (13575): em28xx: Use the complete address/command RC5 code for WinTV USB2

This device uses an i2c chip to retrieve the keycode from a RC5 remote.
Instead of just getting 6 bits, improve the routine to get 11 bits.

This means that the complete RC5 table for Hauppauge Grey IR can be used
with this device.

Unfortunately, it seems that this IR receiver is not capable of getting
the full 14 (or 13 bits) from the RC5 protocol.

At lest now, with the new code, it is possible to replace this IR table
by another RC5 table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-input.c