Re: Mouse under X
On Tue, Nov 04, 2003 at 08:14:28AM -0600, Nathan Kinkade wrote: On Tue, Nov 04, 2003 at 01:48:31AM +0100, Alex de Kruijff wrote: On Sun, Nov 02, 2003 at 10:34:09PM +1000, Adam Flaherty wrote: Hello, I have recently installed FreeBSD 4.8 and am having trouble getting my PS/2 mouse to work with X11/ Gnome. The mouse works when setting up moused with /stand/sysinstall and xf86cfg but when gnome loads any mouse movement translates into the cursor moving to the top right of the screen. I have tried the various protocols under xf86cfg and followed the instructions in the FAQ that suggest adding lines to the config file, and also linking /dev/mouse and /dev/sysmouse. I am at a loss so any help would be highly appreciated. This also enable a mouse wheel if you have one. This is my setup: /etc/rc.conf: moused_flags=-a .4 moused_enable=YES moused_port=/dev/psm0 moused_type=auto /etc/X11/XF86Config: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection FWIW: On my own system - 5.1-RELEASE - I have found that if I pass the '-a 4' argument to moused, that adding the ZAxisMapping declaration to XF86Config causes the mouse wheel to not work. When passing '-a 4' to moused I only declare Options Buttons 5 in XF86Config and the mouse wheel works as expected. This could be a bug in proberly moused. I'm affraid I can't tell you any more than that. It works on 4.x. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse under X
+++ Adam Flaherty [03-11-03 23:56 +1000]: | | On Monday, Nov 3, 2003, at 05:26 Australia/Brisbane, Shantanoo Mahajan | wrote: | | +++ Adam Flaherty [freebsd] [02-11-03 22:34 +1000]: | | Hello, | | | | I have recently installed FreeBSD 4.8 and am having trouble getting | my | | PS/2 mouse to work with X11/ Gnome. The mouse works when setting up | | moused with /stand/sysinstall and xf86cfg but when gnome loads any | | mouse movement translates into the cursor moving to the top right of | | the screen. I have tried the various protocols under xf86cfg and | | followed the instructions in the FAQ that suggest adding lines to the | | config file, and also linking /dev/mouse and /dev/sysmouse. I am at a | | loss so any help would be highly appreciated. | | | | Thanks | | | | Adam Flaherty | | | I faced the similar problem. this is how i solved it. maybe | there can be a better way. | | # XFree86 -configure | | /root/XF86Config.new is created. | check out the protocol and place it in your XF86Config file. | | Regards, | Shantanoo | | | | Shantanoo, | | Just one more question, your method works for root, however I don't | know how to set it up for a normal user, when I try to run XFree86 | -configure as a user it tells me it can only be run by root. With a | normal user the problem persists. | | Thanks, | Adam | from man XFree86 -configure When this option is specified, the X server loads all video driver modules, probes for available hardware, and writes out an initial XF86Config(5) file based on what was detected. This option currently has some problems on some platforms, but in most cases it is a good way to bootstrap the configuration process. This option is only available when the server is run as root (i.e, with real-uid 0). Hope this helps. Only SUID=0, is allowed to make any changes to the system, (re)installation/(re)configuration etc. Regards, Shantanoo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse under X
On Sun, Nov 02, 2003 at 10:34:09PM +1000, Adam Flaherty wrote: Hello, I have recently installed FreeBSD 4.8 and am having trouble getting my PS/2 mouse to work with X11/ Gnome. The mouse works when setting up moused with /stand/sysinstall and xf86cfg but when gnome loads any mouse movement translates into the cursor moving to the top right of the screen. I have tried the various protocols under xf86cfg and followed the instructions in the FAQ that suggest adding lines to the config file, and also linking /dev/mouse and /dev/sysmouse. I am at a loss so any help would be highly appreciated. This also enable a mouse wheel if you have one. This is my setup: /etc/rc.conf: moused_flags=-a .4 moused_enable=YES moused_port=/dev/psm0 moused_type=auto /etc/X11/XF86Config: Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection -- Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mouse under X
Hello, I have recently installed FreeBSD 4.8 and am having trouble getting my PS/2 mouse to work with X11/ Gnome. The mouse works when setting up moused with /stand/sysinstall and xf86cfg but when gnome loads any mouse movement translates into the cursor moving to the top right of the screen. I have tried the various protocols under xf86cfg and followed the instructions in the FAQ that suggest adding lines to the config file, and also linking /dev/mouse and /dev/sysmouse. I am at a loss so any help would be highly appreciated. Thanks Adam Flaherty ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse under X
On Sun, 2 Nov 2003 23:04, Adam Flaherty wrote: Hello, I have recently installed FreeBSD 4.8 and am having trouble getting my PS/2 mouse to work with X11/ Gnome. The mouse works when setting up moused with /stand/sysinstall and xf86cfg but when gnome loads any mouse movement translates into the cursor moving to the top right of the screen. I have tried the various protocols under xf86cfg and followed the instructions in the FAQ that suggest adding lines to the config file, and also linking /dev/mouse and /dev/sysmouse. I am at a loss so any help would be highly appreciated. What combinations have you tried? /dev/sysmouse should work with protocol auto. But it is unlikely to work with a protocol actually matching the mouse. moused translates the protocol to mousesys or soome such (I don't remember exactly its name, but auto should work). What do you mean by 'linking /dev/mouse and /dev/sysmouse'? Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse under X
+++ Adam Flaherty [freebsd] [02-11-03 22:34 +1000]: | Hello, | | I have recently installed FreeBSD 4.8 and am having trouble getting my | PS/2 mouse to work with X11/ Gnome. The mouse works when setting up | moused with /stand/sysinstall and xf86cfg but when gnome loads any | mouse movement translates into the cursor moving to the top right of | the screen. I have tried the various protocols under xf86cfg and | followed the instructions in the FAQ that suggest adding lines to the | config file, and also linking /dev/mouse and /dev/sysmouse. I am at a | loss so any help would be highly appreciated. | | Thanks | | Adam Flaherty I faced the similar problem. this is how i solved it. maybe there can be a better way. # XFree86 -configure /root/XF86Config.new is created. check out the protocol and place it in your XF86Config file. Regards, Shantanoo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]