[RFC 0/3] input: Dynamic Minor Numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux