Module Name:    src
Committed By:   nia
Date:           Fri May 31 13:15:00 UTC 2019

Modified Files:
        src/etc: MAKEDEV.tmpl

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 src/etc/MAKEDEV.tmpl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/MAKEDEV.tmpl
diff -u src/etc/MAKEDEV.tmpl:1.203 src/etc/MAKEDEV.tmpl:1.204
--- src/etc/MAKEDEV.tmpl:1.203	Sat May 18 08:38:00 2019
+++ src/etc/MAKEDEV.tmpl	Fri May 31 13:15:00 2019
@@ -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 @@ ramdisk)
 
 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

Reply via email to