[linux-dvb] [PATCH] Keymap loading support for budget-ci
js at linuxtv.org
Sun Dec 18 21:16:27 CET 2005
On Sun, Dec 18, 2005, Oliver Endriss wrote:
> Johannes Stezenbach wrote:
> > It would be better to use Gerd Knorr's ir-common (for av7110, too),
> > so keymaps could be manipulated using the standard EVIOCSKEYCODE
> > ioctl, e.g. by using input-kbd from Gerd Knorr's input-utils
> > package.
> How should we handle control data
> - RC5/RCMM selection
> - inversion setting
> if we drop /proc/av7110_ir?
> Should we add module parameters or keep /proc/av7110_ir just for that?
I would go for a module parameter (which could also
be made run-time switchable via sysfs if someone needs it).
> RC5+ uses 5 bit addresses and 7 bit data.
> If we put the address bits in the keymap we end up with a
> 2^12 * 2 = 8 KByte keymap for each device.
Couldn't one mask out the address bits in the driver
before calling ir_input_keydown()? (Probably after
matching with the correct address?)
> Unfortunetely, the input layer cannot handle sparse keymaps.
Fortunately it's OpenSource ;-) so you could fix it.
More information about the linux-dvb