Messages in this thread Patch in this message | | | Date | Wed, 5 Nov 2003 21:48:53 +1100 | Subject | [MOUSE] Alias for /dev/psaux | From | Herbert Xu <> |
| |
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 | |