Skip to contentSkip to conversation

IR improvements to sysfs interface

PATCH New Mauro Carvalho Chehab 1 participant 1 message Jun 28, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

cover IR improvements to sysfs interface

This patch fixes a few issues I noticed with the new /protocols syfs node. The hole idea of having an unique node to control the protocols is a good idea, but there are a few implementation troubles on it, that I noticed when writing the userspace interface, at ir-keytable.

This patch series fixes those troubles, and are in-sync with the needed userspace changes needed to support the new sysfs way.

Mauro Carvalho Chehab (4):
ir-core: Remove magic numbers at the sysfs logic
ir-core: Rename sysfs protocols nomenclature to rc-5 and rc-6
ir-core: Add support for disabling all protocols
ir-core: allow specifying multiple protocols at one open/write

 drivers/media/IR/ir-sysfs.c |  152 ++++++++++++++++++++-----------------------
 1 files changed, 71 insertions(+), 81 deletions(-)