Hi
This patchset implements dynamic minor numbers for input devices. We definitely
need this infrastructure to avoid the current limit of 32 evdev devices. We
could just increase the number of static minors but I think a dynamic approach
is the better idea.
The first patch implements the allocation/deallocation of dynamic minor numbers
in the input-core. The second patch actually increases the maximum device number
so we can allocate dynamic minors. And the third patch converts the evdev source
to use dynamic minors when running out of static minor numbers.
I have only compile-tested this, yet. I will try to test this fully tomorrow.
But any comments are welcome.
Regards
David
David Herrmann (3):
input: add dynamic-minor allocation helpers
input: increase INPUT_DEVICES to 512 to allow dynamic minors
input: evdev: use dynamic-minors if running out of static minors
drivers/input/evdev.c | 95 ++++++++++++++++-------------
drivers/input/input.c | 164 +++++++++++++++++++++++++++++++++++++++++++++++++-
include/linux/input.h | 5 ++
3 files changed, 219 insertions(+), 45 deletions(-)
--
1.7.12