]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (4763): Pvrusb2: Implement IR reception for 24xxx devices
authorMike Isely <isely@pobox.com>
Mon, 16 Oct 2006 00:35:14 +0000 (21:35 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 10:50:58 +0000 (08:50 -0200)
commit06c89a3c9c8f16393aefa94a4922127f7da52270
treee76e579c04f3078c3a7981444ab57be4d02619f7
parentc9297756657396f4217959019972ce47b4ddc97a
V4L/DVB (4763): Pvrusb2: Implement IR reception for 24xxx devices

Unlike 29xxx devices, the 24xxx model series does not have a dedicated
I2C device for reception of IR codes.  Instead IR is handled directly
by the FX2 microcontroller and the results are communicated via
commands to the FX2.  Rather than implement a whole new IR reception
pathway for 24xxx devices, this changeset instead emulates the
presence of the 29xxx device's I2C based IR receiver by intercepting
commands to that chip and issuing appropriate FX2 commands to do the
needed action.  This has the result of allowing all the usual IR
frameworks (ir-kbd-i2c or lirc) to continue working unmodified for
24xxx devices.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-i2c-core.c