Re: [RFC] What are the goals for the architecture of an in-kernelIR system?

From: Gerd Hoffmann
Date: Tue Dec 01 2009 - 05:20:43 EST


Hi,

The point is that for simple usage, like an user plugging his new USB stick
he just bought, he should be able to use the shipped IR without needing to
configure anything or manually calling any daemon. This currently works
with the existing drivers and it is a feature that needs to be kept.

Admittedly, LIRC is way behind when it comes to plug'n'play.

Should not be that hard to fixup.

When moving the keytable loading from kernel to userspace the kernel drivers have to inform userspace anyway what kind of hardware the IR device is, so udev can figure what keytable it should load. A sysfs attribute is the way to go here I think.

lirc drivers can do the same, and lircd can startup with a reasonable (default) configuration.

Of course evdev and lirc subsytems/drivers should agree on which attributes should be defined and how they are filled.

cheers,
Gerd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/