Re: Mouse/X11 Documentation
Frank Jahnke wrote: I'm writing you this message for assistance in getting my mouse wheel to work with X11. Yes, another one of these requests. I have been through the documentation (and numerous articles on the web) and yet I still cannot get it to work. I am running BSD 4.8 with XFree86 v4.3.0 (downloaded last week, so it should be a very current version of the latest stable release). My window manager is currently Window Maker v0.80.1. The mouse is a Logitech MouseMan Wheel, which I understand is equivalent to the MouseMan+. With success I have installed support for the mouse using moused for the console drivers. I added line allscreens_flags to my rc.conf file for mouse support on the various virtual consoles. That works fine. I can also use the same three buttons for text selection and pasting in X11. What I cannot get to work is text scrolling using the wheel. From section 11.3 of the FAQ, first there is a description of /etc/XF86Config (which is now located in /etc/X11/XF86Config) that is for XFree86 v3 only. I currently have the 4.3 equivalent (see below) with SysMouse replaced by Auto. Changing from one to the other did not make a difference, as far as I could tell. Moving on to section 11.4 of the FAQ, I have tried without success to use either moused or the X server for wheel support. For the former, I added the moused_flags line and options to rc.conf, as suggested. Moving now to Example 11-2, first the caption is incorrect. It DOES describe use of XF86Config with moused Translations, does it not? I needed to use an Identifier of Mouse0 instead of Mouse1, or else X11 would crash (again, see below). Imwheel was downloaded and installed from the ports collection; the configuration file moved to ~/.imwheelrc (which was used without alteration). No success. Next I tried to use the X Server to translate wheel events. The suggested use of MouseManPlusPS/2 was not recognized by XFree; since BSD recognized the mouse type on boot-up, I reverted to Auto. Using the device /dev/psm0 was not successful -- the device was busy, and X11 would not load. I replaced psm0 with sysmouse. After imwheel was loaded, the wheel still did not scroll the screen. I admit that it is frustrating to find files in different directories, mislabeled headings in the documentation, and configurations that do not work as suggested. It feels to me that XFree86 is new, and has not been fully incorporated into the various texts. I am at loss on how best to proceed, and your suggestions would be most appreciated. Frank Jahnke, Ph.D. President, FMJ Associates Auburn, CA 95604 [EMAIL PROTECTED] Section InputDevice # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 #Option ZAxisMapping 4 5 #Option Emulate3Buttons No # Mouse-speed setting for PS/2 mouse. Option Resolution100 # When using XQUEUE, comment out the above two lines, and uncomment # the following line. #Option Protocol Xqueue # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. #Option BaudRate 9600 #Option SampleRate150 # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) #Option Emulate3Buttons #Option Emulate3Timeout50 # ChordMiddle is an option for some 3-button Logitech mice #Option ChordMiddle EndSection ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Uncomment this line in your XF86Config #Option ZAxisMapping 4 5 The imwheel port is more or less intergrated into the X11 since 4.2. I dont have it installed and the wheel works great in X11. You must use the device /dev/sysmouse in X11 if you run moused on the console. If you disable moused on the console you can use the device /dev/psm0. I suggest you get rid of moused to simplify the troubleshooting. Do check (#dmesg | grep psm0) what your mouse is being seen as by the kernel. I get flakey issues with my KVM that made my mouse into a generic ps2. You might need to change a flag on atkbd and rebuild the kernel. -Ryan Merrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation
---BeginMessage--- On Sun, 2003-08-03 at 03:00, Ryan Merrick wrote: Frank Jahnke wrote: Uncomment this line in your XF86Config #Option ZAxisMapping 4 5 The imwheel port is more or less intergrated into the X11 since 4.2. I dont have it installed and the wheel works great in X11. You must use the device /dev/sysmouse in X11 if you run moused on the console. If you disable moused on the console you can use the device /dev/psm0. I suggest you get rid of moused to simplify the troubleshooting. Do check (#dmesg | grep psm0) what your mouse is being seen as by the kernel. I get flakey issues with my KVM that made my mouse into a generic ps2. You might need to change a flag on atkbd and rebuild the kernel. -Ryan Merrick Thanks for the note, Ryan. I have indeed tried to uncomment the line for AZxisMapping, though my note did not make this clear. Again, this did not work. It is my understanding that if I wish to use the mouse on the console, that I MUST use moused. Is it not possible to get a useful mouse on the console and in X11? Certainly it is true that the mouse is more useful in X11. Still, I do use it on the console, mainly for cutting and pasting. So I really would like to use both if possible. Here's the output from dmesg: % dmesg | grep psm0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 So BSD is finding the mouse on psm0 as it is supposed to, and it is identifying the mouse model properly. I will try to troubleshoot by not using moused. Still, there ought to be a way to do this... Any other suggestions would be most appreciated. Frank ---End Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation
OK, I commented out the moused references from /etc/rc.conf, and changed XF86Config to psm0 from sysmouse and enabled ZAxisMapping. It worked -- even without imwheel! That's a great improvement -- thank you! Still, is there any way to get the mouse to work in X11 with moused? I'd really like to keep the mouse working in the systems console, if that is possible. Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation and Moused
List, I'm sending this summary of my efforts to get the wheel mouse to work in FreeBSD 4.8 and XFree86 4.3. I sent along a couple of messages earlier, but they seemed to get muddled... There are two ways to get the wheel mouse to work. I have succeeded only if X11 does the translations, but not using moused. I would like to do this... Has anyone succeeded in getting a wheel mouse to scroll in X with moused translation? X11 Translations: First, remove or comment out the line moused_enabled=YES in /etc/rc.conf if it is present. This turns off moused, which was the root of my problems. Then in /etc/X11/XF86Config use the following: Section InputDevice # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/psm0 Option Buttons 5 Option ZAxisMapping 4 5 EndSection I've left out various other options from InputDevice; these can be added back in if you like. Note that my Identifier is Mouse0, which corresponds to my CorePointer at the end of XF86Config. The line setting Buttons to 5 is probably superfluous, but I didn't check that. So the documentation in the FAQ is correct, AS LONG AS MOUSED IS DISABLED, and YOU USE A CONSISTENT IDENTIFIER FOR INPUTDEVICE. I had had moused running, which caused the above to fail. Moused Translations. Alas, this does not work yet. I'm still setting up FreeBSD, so I am spending a LOT of time editing configuration files, particularly for X. I do most of these in the console window; I'd really like to keep the mouse working here. So, I did the following: activate in moused in rc.conf as moused_enable=YES moused_port=/dev/psm0 moused_type=auto moused_flags=-z 4 allscreens_flags=-m on which also enables the mouse for the virtual consoles. Before enabling moused, moused -p /dev/psm0 -i all gives /dev/psm0 ps/2 sysmouse MouseMan+, so BSD is correct in detecting my hardware. The file /etc/X11/XF86Config contains: # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection It doesn't matter if ZAxisMapping is removed or not -- this does not work. So -- has anyone succeeded in getting a wheel mouse to scroll in X with moused translation? Frank ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mouse/X11 Documentation and Moused
In the last episode (Aug 03), Frank Jahnke said: Moused Translations. Alas, this does not work yet. I'm still setting up FreeBSD, so I am spending a LOT of time editing configuration files, particularly for X. I do most of these in the console window; I'd really like to keep the mouse working here. So, I did the following: activate in moused in rc.conf as moused_enable=YES moused_port=/dev/psm0 moused_type=auto moused_flags=-z 4 allscreens_flags=-m on which also enables the mouse for the virtual consoles. Before enabling moused, moused -p /dev/psm0 -i all gives /dev/psm0 ps/2 sysmouse MouseMan+, so BSD is correct in detecting my hardware. The file /etc/X11/XF86Config contains: # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection It doesn't matter if ZAxisMapping is removed or not -- this does not work. So -- has anyone succeeded in getting a wheel mouse to scroll in X with moused translation? The above setup works fine for me (I have ZAxisMapping commented out) on -current, with Xfree86 4.3.0. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mouse/X11 Documentation
I'm writing you this message for assistance in getting my mouse wheel to work with X11. Yes, another one of these requests. I have been through the documentation (and numerous articles on the web) and yet I still cannot get it to work. I am running BSD 4.8 with XFree86 v4.3.0 (downloaded last week, so it should be a very current version of the latest stable release). My window manager is currently Window Maker v0.80.1. The mouse is a Logitech MouseMan Wheel, which I understand is equivalent to the MouseMan+. With success I have installed support for the mouse using moused for the console drivers. I added line allscreens_flags to my rc.conf file for mouse support on the various virtual consoles. That works fine. I can also use the same three buttons for text selection and pasting in X11. What I cannot get to work is text scrolling using the wheel. From section 11.3 of the FAQ, first there is a description of /etc/XF86Config (which is now located in /etc/X11/XF86Config) that is for XFree86 v3 only. I currently have the 4.3 equivalent (see below) with SysMouse replaced by Auto. Changing from one to the other did not make a difference, as far as I could tell. Moving on to section 11.4 of the FAQ, I have tried without success to use either moused or the X server for wheel support. For the former, I added the moused_flags line and options to rc.conf, as suggested. Moving now to Example 11-2, first the caption is incorrect. It DOES describe use of XF86Config with moused Translations, does it not? I needed to use an Identifier of Mouse0 instead of Mouse1, or else X11 would crash (again, see below). Imwheel was downloaded and installed from the ports collection; the configuration file moved to ~/.imwheelrc (which was used without alteration). No success. Next I tried to use the X Server to translate wheel events. The suggested use of MouseManPlusPS/2 was not recognized by XFree; since BSD recognized the mouse type on boot-up, I reverted to Auto. Using the device /dev/psm0 was not successful -- the device was busy, and X11 would not load. I replaced psm0 with sysmouse. After imwheel was loaded, the wheel still did not scroll the screen. I admit that it is frustrating to find files in different directories, mislabeled headings in the documentation, and configurations that do not work as suggested. It feels to me that XFree86 is new, and has not been fully incorporated into the various texts. I am at loss on how best to proceed, and your suggestions would be most appreciated. Frank Jahnke, Ph.D. President, FMJ Associates Auburn, CA 95604 [EMAIL PROTECTED] Section InputDevice # Identifier and driver Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option Buttons 5 #Option ZAxisMapping 4 5 #Option Emulate3Buttons No # Mouse-speed setting for PS/2 mouse. Option Resolution100 # When using XQUEUE, comment out the above two lines, and uncomment # the following line. #Option Protocol Xqueue # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. #Option BaudRate 9600 #Option SampleRate150 # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) #Option Emulate3Buttons #Option Emulate3Timeout50 # ChordMiddle is an option for some 3-button Logitech mice #Option ChordMiddle EndSection ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]