blob: a97800a8e12718a65225692a128c91cffb2728fe [file] [log] [blame]
Andy Wallsaa3f4e42011-02-17 21:32:06 -030011. Both ir-kbd-i2c and lirc_zilog provide support for RX events for
2the chips supported by lirc_zilog. Before moving lirc_zilog out of staging:
Andy Walls1f1bfaa2011-01-16 15:21:27 -03003
Andy Wallsaa3f4e42011-02-17 21:32:06 -03004a. ir-kbd-i2c needs a module parameter added to allow the user to tell
5 ir-kbd-i2c to ignore Z8 IR units.
Andy Walls1f1bfaa2011-01-16 15:21:27 -03006
Andy Wallsaa3f4e42011-02-17 21:32:06 -03007b. lirc_zilog should provide Rx key presses to the rc core like ir-kbd-i2c
8 does.
Mauro Carvalho Chehababfd0132010-12-30 09:51:19 -03009
Andy Wallsaa3f4e42011-02-17 21:32:06 -030010
112. lirc_zilog module ref-counting need examination. It has not been
12verified that cdev and lirc_dev will take the proper module references on
13lirc_zilog to prevent removal of lirc_zilog when the /dev/lircN device node
14is open.
15
16(The good news is ref-counting of lirc_zilog internal structures appears to be
17complete. Testing has shown the cx18 module can be unloaded out from under
18irw + lircd + lirc_dev, with the /dev/lirc0 device node open, with no adverse
19effects. The cx18 module could then be reloaded and irw properly began
20receiving button presses again and ir_send worked without error.)
21
22
233. Bridge drivers, if able, should provide a chip reset() callback
Andy Walls1f1bfaa2011-01-16 15:21:27 -030024to lirc_zilog via struct IR_i2c_init_data. cx18 and ivtv already have routines
Andy Wallsaa3f4e42011-02-17 21:32:06 -030025to perform Z8 chip resets via GPIO manipulations. This would allow lirc_zilog
Andy Walls1f1bfaa2011-01-16 15:21:27 -030026to bring the chip back to normal when it hangs, in the same places the
27original lirc_pvr150 driver code does. This is not strictly needed, so it
28is not required to move lirc_zilog out of staging.
Mauro Carvalho Chehababfd0132010-12-30 09:51:19 -030029
Andy Wallsaa3f4e42011-02-17 21:32:06 -030030Note: Both lirc_zilog and ir-kbd-i2c support the Zilog Z8 for IR, as programmed
Andy Walls1f1bfaa2011-01-16 15:21:27 -030031and installed on Hauppauge products. When working on either module, developers
32must consider at least the following bridge drivers which mention an IR Rx unit
33at address 0x71 (indicative of a Z8):
34
35 ivtv cx18 hdpvr pvrusb2 bt8xx cx88 saa7134
Mauro Carvalho Chehababfd0132010-12-30 09:51:19 -030036