Re: [MOUSE] Alias for /dev/psaux

From: "Andrey Borzenkov"
Date: Wed Nov 05 2003 - 06:04:18 EST





> This patch creates an alias for /dev/psaux so that mousedev is loaded
> automatically.
[...]
> Index: kernel-source-2.5/drivers/input/mousedev.c
[...]
> +#ifdef CONFIG_INPUT_MOUSEDEV_PSAUX
> +MODULE_ALIAS_CHARDEV(MISC_MAJOR, PSMOUSE_MINOR);
> +#endif

Well if you intend to go this way you have to add aliases for all
low-level mouse drivers, e.g. HID etc. What makes psmouse so special?

And if new mouse driver is added (worst case - off tree) it won't be catched.

I like hotplug approach better ...

-andrey

Please Cc me on reply.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/