Source-Changes-HG archive

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

[src/trunk]: src/etc Raise the number of uhid nodes from 4 to 16.



details:   https://anonhg.NetBSD.org/src/rev/567bc3175689
branches:  trunk
changeset: 451716:567bc3175689
user:      nia <nia%NetBSD.org@localhost>
date:      Fri May 31 13:15:00 2019 +0000

description:
Raise the number of uhid nodes from 4 to 16.

My keyboard and mouse use multiple device nodes each. I can't use
any other devices once they're attached. With my keyboard, mouse,
and two game controllers attached, a total of 9 nodes are required.

Particularly, high-end keyboards with N-key rollover support require
more device nodes, since they pretend to be multiple keyboards to work
around limitations in the uhid compat spec.

My original intention was to raise it from 4 to 12, but martin
suggested increasing it to 16.

"somewhat insane, but so is reality" - mlelstv

diffstat:

 etc/MAKEDEV.tmpl |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e67cd5cd4f3b -r 567bc3175689 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Fri May 31 11:13:27 2019 +0000
+++ b/etc/MAKEDEV.tmpl  Fri May 31 13:15:00 2019 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.203 2019/05/18 08:38:00 mlelstv Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.204 2019/05/31 13:15:00 nia Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -914,7 +914,9 @@
 
 usbs)
        makedev usb usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7
-       makedev uhid0 uhid1 uhid2 uhid3
+       makedev uhid0 uhid1 uhid2 uhid3 uhid4 uhid5
+       makedev uhid6 uhid7 uhid8 uhid9 uhid10 uhid11
+       makedev uhid12 uhid13 uhid14 uhid15
        makedev ulpt0 ulpt1
        makedev ttyU0 ttyU1 ttyU2 ttyU3 ttyU4 ttyU5 ttyU6 ttyU7
        makedev ttyY0 ttyY1



Home | Main Index | Thread Index | Old Index