lkml.org 
[lkml]   [2003]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[MOUSE] Alias for /dev/psaux
From
Hi:

This patch creates an alias for /dev/psaux so that mousedev is loaded
automatically.

Thanks,
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: kernel-source-2.5/drivers/input/mousedev.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/input/mousedev.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 mousedev.c
--- kernel-source-2.5/drivers/input/mousedev.c 28 Sep 2003 04:44:12 -0000 1.1.1.8
+++ kernel-source-2.5/drivers/input/mousedev.c 5 Nov 2003 10:40:30 -0000
@@ -571,3 +571,6 @@
MODULE_PARM_DESC(xres, "Horizontal screen resolution");
MODULE_PARM(yres, "i");
MODULE_PARM_DESC(yres, "Vertical screen resolution");
+#ifdef CONFIG_INPUT_MOUSEDEV_PSAUX
+MODULE_ALIAS_CHARDEV(MISC_MAJOR, PSMOUSE_MINOR);
+#endif
\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.060 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site