linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re:[MOUSE] Alias for /dev/psaux
@ 2003-11-05 15:17 Matt
  2003-11-05 16:27 ` Linus Torvalds
  0 siblings, 1 reply; 15+ messages in thread
From: Matt @ 2003-11-05 15:17 UTC (permalink / raw)
  To: herbert; +Cc: linux-kernel

had excatly the same problem moving to test9-mm1, way i fixed it was to 
pass the options "psmouse_rate=60 psmouse_resolution=200" to the kernel 
at boot (these were the old defaults).

    matt



^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [MOUSE] Alias for /dev/psaux
@ 2003-11-05 11:03 "Andrey Borzenkov" 
  0 siblings, 0 replies; 15+ messages in thread
From: "Andrey Borzenkov"  @ 2003-11-05 11:03 UTC (permalink / raw)
  To: "Herbert Xu" ; +Cc: linux-kernel




> 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.

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [MOUSE] Alias for /dev/psaux
@ 2003-11-05 10:48 Herbert Xu
  0 siblings, 0 replies; 15+ messages in thread
From: Herbert Xu @ 2003-11-05 10:48 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

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

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 674 bytes --]

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-11-09 10:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 15:17 Re:[MOUSE] Alias for /dev/psaux Matt
2003-11-05 16:27 ` Linus Torvalds
2003-11-05 17:02   ` [MOUSE] " Vojtech Pavlik
2003-11-05 17:36     ` Linus Torvalds
2003-11-05 18:00       ` Vojtech Pavlik
2003-11-05 18:39         ` Linus Torvalds
2003-11-06 10:41         ` Mikael Pettersson
2003-11-05 17:39   ` Vojtech Pavlik
2003-11-05 17:49     ` Linus Torvalds
2003-11-05 18:03       ` Vojtech Pavlik
2003-11-09 10:04         ` Vojtech Pavlik
2003-11-09 10:33           ` John Bradford
2003-11-09 10:38             ` Vojtech Pavlik
  -- strict thread matches above, loose matches on Subject: below --
2003-11-05 11:03 "Andrey Borzenkov" 
2003-11-05 10:48 Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).