Date: 23 Sep 2002 08:28:59 -0400 From: Matt Smith <matt@forsetti.com> To: taproot420 <taproot420@myrealbox.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: need help with x server and mouse Message-ID: <1032784140.52624.1.camel@localhost> In-Reply-To: <811908614.20020923011627@myrealbox.com> References: <1032760515.b88c0aa0TapRoot420@myrealbox.com> <811908614.20020923011627@myrealbox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Try:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
EndSection
If you have a wheel mouse, you don't need the Emulate3Buttons -- push
the wheel for button 3.
Also, try the auto protocol -- it usually works out.
Good luck!
-Matt
On Mon, 2002-09-23 at 02:16, taproot420 wrote:
> Hello TapRoot420,
>
> Monday, September 23, 2002, 12:55:15 AM, you wrote:
>
> T> I just installed FreeBSD 4.6.2 the current release. Everything is working fine except my mouse. It works without X running in the plain console i get when i boot up, but as soon as #startx the
> T> mouse pointer goes dirrectly into the upper left cornner of my monitor when i move it for the first time after starting the X server and stays there...the pointer will flicker if i move the mouse,
> T> like its trying to move but it just stays stuck in the corner.
>
> T> The mouse is a logitech scroll wheel model# M-S48a
>
> T> Also x is running fine but i wondering if there is a way to get the dvi port on my card to work instead of the analog one i am currently using as i have a planar digital flat screen that has a dvi
> T> input.
>
> T> the video card is a Geforce 4 with dvi out.
>
>
> T> Here is my XF86Config file:
>
>
> T> # File generated by xf86config.
>
> T> #
> T> # Copyright (c) 1999 by The XFree86 Project, Inc.
> T> #
> T> # Permission is hereby granted, free of charge, to any person obtaining a
> T> # copy of this software and associated documentation files (the "Software"),
> T> # to deal in the Software without restriction, including without limitation
> T> # the rights to use, copy, modify, merge, publish, distribute, sublicense,
> T> # and/or sell copies of the Software, and to permit persons to whom the
> T> # Software is furnished to do so, subject to the following conditions:
> T> #
> T> # The above copyright notice and this permission notice shall be included in
> T> # all copies or substantial portions of the Software.
> T> #
> T> # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> T> # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> T> # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
> T> # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
> T> # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
> T> # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> T> # SOFTWARE.
> T> #
> T> # Except as contained in this notice, the name of the XFree86 Project shall
> T> # not be used in advertising or otherwise to promote the sale, use or other
> T> # dealings in this Software without prior written authorization from the
> T> # XFree86 Project.
> T> #
>
> T> # **********************************************************************
> T> # Refer to the XF86Config(4/5) man page for details about the format of
> T> # this file.
> T> # **********************************************************************
>
> T> # **********************************************************************
> T> # Module section -- this section is used to specify
> T> # which dynamically loadable modules to load.
> T> # **********************************************************************
> T> #
> T> Section "Module"
>
> T> # This loads the DBE extension module.
>
> T> Load "dbe" # Double buffer extension
>
> T> # This loads the miscellaneous extensions module, and disables
> T> # initialisation of the XFree86-DGA extension within that module.
> T> SubSection "extmod"
> T> Option "omit xfree86-dga" # don't initialise the DGA extension
> T> EndSubSection
>
> T> # This loads the Type1 and FreeType font modules
> T> Load "type1"
> T> Load "freetype"
>
> T> # This loads the GLX module
> T> # Load "glx"
>
> T> EndSection
>
> T> # **********************************************************************
> T> # Files section. This allows default font and rgb paths to be set
> T> # **********************************************************************
>
> T> Section "Files"
>
> T> # The location of the RGB database. Note, this is the name of the
> T> # file minus the extension (like ".txt" or ".db"). There is normally
> T> # no need to change the default.
>
> T> RgbPath "/usr/X11R6/lib/X11/rgb"
>
> T> # Multiple FontPath entries are allowed (which are concatenated together),
> T> # as well as specifying multiple comma-separated entries in one FontPath
> T> # command (or a combination of both methods)
> T> #
> T> # If you don't have a floating point coprocessor and emacs, Mosaic or other
> T> # programs take long to start up, try moving the Type1 and Speedo directory
> T> # to the end of this list (or comment them out).
> T> #
>
> T> FontPath "/usr/X11R6/lib/X11/fonts/local/"
> T> FontPath "/usr/X11R6/lib/X11/fonts/misc/"
> T> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> T> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> T> FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
> T> FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
> T> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
> T> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
>
> T> # The module search path. The default path is shown here.
>
> T> # ModulePath "/usr/X11R6/lib/modules"
>
> T> EndSection
>
> T> # **********************************************************************
> T> # Server flags section.
> T> # **********************************************************************
>
> T> Section "ServerFlags"
>
> T> # Uncomment this to cause a core dump at the spot where a signal is
> T> # received. This may leave the console in an unusable state, but may
> T> # provide a better stack trace in the core dump to aid in debugging
>
> T> # Option "NoTrapSignals"
>
> T> # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
> T> # This allows clients to receive this key event.
>
> T> # Option "DontZap"
>
> T> # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
> T> # sequences. This allows clients to receive these key events.
>
> T> # Option "Dont Zoom"
>
> T> # Uncomment this to disable tuning with the xvidtune client. With
> T> # it the client can still run and fetch card and monitor attributes,
> T> # but it will not be allowed to change them. If it tries it will
> T> # receive a protocol error.
>
> T> # Option "DisableVidModeExtension"
>
> T> # Uncomment this to enable the use of a non-local xvidtune client.
>
> T> # Option "AllowNonLocalXvidtune"
>
> T> # Uncomment this to disable dynamically modifying the input device
> T> # (mouse and keyboard) settings.
>
> T> # Option "DisableModInDev"
>
> T> # Uncomment this to enable the use of a non-local client to
> T> # change the keyboard or mouse settings (currently only xset).
>
> T> # Option "AllowNonLocalModInDev"
>
> T> EndSection
>
> T> # **********************************************************************
> T> # Input devices
> T> # **********************************************************************
>
> T> # **********************************************************************
> T> # Core keyboard's InputDevice section
> T> # **********************************************************************
>
> T> Section "InputDevice"
>
> T> Identifier "Keyboard1"
> T> Driver "Keyboard"
> T> # For most OSs the protocol can be omitted (it defaults to "Standard").
> T> # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
> T> # uncomment the following line.
>
> T> # Option "Protocol" "Xqueue"
>
> T> Option "AutoRepeat" "500 30"
>
> T> # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
> T> # Option "Xleds" "1 2 3"
>
> T> # Option "LeftAlt" "Meta"
> T> # Option "RightAlt" "ModeShift"
>
> T> # To customise the XKB settings to suit your keyboard, modify the
> T> # lines below (which are the defaults). For example, for a non-U.S.
> T> # keyboard, you will probably want to use:
> T> # Option "XkbModel" "pc102"
> T> # If you have a US Microsoft Natural keyboard, you can use:
> T> # Option "XkbModel" "microsoft"
> T> #
> T> # Then to change the language, change the Layout setting.
> T> # For example, a german layout can be obtained with:
> T> # Option "XkbLayout" "de"
> T> # or:
> T> # Option "XkbLayout" "de"
> T> # Option "XkbVariant" "nodeadkeys"
> T> #
> T> # If you'd like to switch the positions of your capslock and
> T> # control keys, use:
> T> # Option "XkbOptions" "ctrl:swapcaps"
>
> T> # These are the default XKB settings for XFree86
> T> # Option "XkbRules" "xfree86"
> T> # Option "XkbModel" "pc101"
> T> # Option "XkbLayout" "us"
> T> # Option "XkbVariant" ""
> T> # Option "XkbOptions" ""
>
> T> # Option "XkbDisable"
>
> T> Option "XkbRules" "xfree86"
> T> Option "XkbModel" "pc101"
> T> Option "XkbLayout" "us"
>
> T> EndSection
>
>
> T> # **********************************************************************
> T> # Core Pointer's InputDevice section
> T> # **********************************************************************
>
> T> Section "InputDevice"
>
> T> # Identifier and driver
>
> T> Identifier "Mouse1"
> T> Driver "mouse"
> T> Option "Protocol" "Intellimouse"
> T> Option "Device" "/dev/sysmouse"
> T> Option "Emulate3Buttons" "true"
> T> Option "ZAxisMapping" "4 5"
>
> T> # When using XQUEUE, comment out the above two lines, and uncomment
> T> # the following line.
>
> T> # Option "Protocol" "Xqueue"
>
> T> # Baudrate and SampleRate are only for some Logitech mice. In
> T> # almost every case these lines should be omitted.
>
> T> # Option "BaudRate" "9600"
> T> # Option "SampleRate" "150"
>
> T> # Emulate3Buttons is an option for 2-button Microsoft mice
> T> # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
>
> T> # Option "Emulate3Buttons"
> T> # Option "Emulate3Timeout" "50"
>
> T> # ChordMiddle is an option for some 3-button Logitech mice
>
> T> # Option "ChordMiddle"
>
> T> EndSection
>
>
> T> # **********************************************************************
> T> # Other input device sections
> T> # this is optional and is required only if you
> T> # are using extended input devices. This is for example only. Refer
> T> # to the XF86Config man page for a description of the options.
> T> # **********************************************************************
> T> #
> T> # Section "InputDevice"
> T> # Identifier "Mouse2"
> T> # Driver "mouse"
> T> # Option "Protocol" "MouseMan"
> T> # Option "Device" "/dev/mouse2"
> T> # EndSection
> T> #
> T> # Section "InputDevice"
> T> # Identifier "spaceball"
> T> # Driver "magellan"
> T> # Option "Device" "/dev/cua0"
> T> # EndSection
> T> #
> T> # Section "InputDevice"
> T> # Identifier "spaceball2"
> T> # Driver "spaceorb"
> T> # Option "Device" "/dev/cua0"
> T> # EndSection
> T> #
> T> # Section "InputDevice"
> T> # Identifier "touchscreen0"
> T> # Driver "microtouch"
> T> # Option "Device" "/dev/ttyS0"
> T> # Option "MinX" "1412"
> T> # Option "MaxX" "15184"
> T> # Option "MinY" "15372"
> T> # Option "MaxY" "1230"
> T> # Option "ScreenNumber" "0"
> T> # Option "ReportingMode" "Scaled"
> T> # Option "ButtonNumber" "1"
> T> # Option "SendCoreEvents"
> T> # EndSection
> T> #
> T> # Section "InputDevice"
> T> # Identifier "touchscreen1"
> T> # Driver "elo2300"
> T> # Option "Device" "/dev/ttyS0"
> T> # Option "MinX" "231"
> T> # Option "MaxX" "3868"
> T> # Option "MinY" "3858"
> T> # Option "MaxY" "272"
> T> # Option "ScreenNumber" "0"
> T> # Option "ReportingMode" "Scaled"
> T> # Option "ButtonThreshold" "17"
> T> # Option "ButtonNumber" "1"
> T> # Option "SendCoreEvents"
> T> # EndSection
>
> T> # **********************************************************************
> T> # Monitor section
> T> # **********************************************************************
>
> T> # Any number of monitor sections may be present
>
> T> Section "Monitor"
>
> T> Identifier "My Monitor"
>
> T> # HorizSync is in kHz unless units are specified.
> T> # HorizSync may be a comma separated list of discrete values, or a
> T> # comma separated list of ranges of values.
> T> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
> T> # USER MANUAL FOR THE CORRECT NUMBERS.
>
> T> HorizSync 63.98
>
> T> # HorizSync 30-64 # multisync
> T> # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
> T> # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
>
> T> # VertRefresh is in Hz unless units are specified.
> T> # VertRefresh may be a comma separated list of discrete values, or a
> T> # comma separated list of ranges of values.
> T> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
> T> # USER MANUAL FOR THE CORRECT NUMBERS.
>
> T> VertRefresh 60.02
>
> T> EndSection
>
>
> T> # **********************************************************************
> T> # Graphics device section
> T> # **********************************************************************
>
> T> # Any number of graphics device sections may be present
>
> T> # Standard VGA Device:
>
> T> Section "Device"
> T> Identifier "Standard VGA"
> T> VendorName "Unknown"
> T> BoardName "Unknown"
>
> T> # The chipset line is optional in most cases. It can be used to override
> T> # the driver's chipset detection, and should not normally be specified.
>
> T> # Chipset "generic"
>
> T> # The Driver line must be present. When using run-time loadable driver
> T> # modules, this line instructs the server to load the specified driver
> T> # module. Even when not using loadable driver modules, this line
> T> # indicates which driver should interpret the information in this section.
>
> T> Driver "vga"
> T> # The BusID line is used to specify which of possibly multiple devices
> T> # this section is intended for. When this line isn't present, a device
> T> # section can only match up with the primary video device. For PCI
> T> # devices a line like the following could be used. This line should not
> T> # normally be included unless there is more than one video device
> T> # intalled.
>
> T> # BusID "PCI:0:10:0"
>
> T> # VideoRam 256
>
> T> # Clocks 25.2 28.3
>
> T> EndSection
>
> T> # Device configured by xf86config:
>
> T> Section "Device"
> T> Identifier "NVIDIA GeForce"
> T> Driver "nv"
> T> #VideoRam 6400
> T> # Insert Clocks lines here if appropriate
> T> EndSection
>
>
> T> # **********************************************************************
> T> # Screen sections
> T> # **********************************************************************
>
> T> # Any number of screen sections may be present. Each describes
> T> # the configuration of a single screen. A single specific screen section
> T> # may be specified from the X server command line with the "-screen"
> T> # option.
> T> Section "Screen"
> T> Identifier "Screen 1"
> T> Device "NVIDIA GeForce"
> T> Monitor "My Monitor"
> T> DefaultDepth 24
>
> T> Subsection "Display"
> T> Depth 8
> T> Modes "640x480" "800x600" "1024x768" "1280x1024"
> T> ViewPort 0 0
> T> EndSubsection
> T> Subsection "Display"
> T> Depth 16
> T> Modes "640x480" "800x600" "1024x768" "1280x1024"
> T> ViewPort 0 0
> T> EndSubsection
> T> Subsection "Display"
> T> Depth 24
> T> Modes "1280x1024"
> T> ViewPort 0 0
> T> EndSubsection
> T> EndSection
>
> T> # **********************************************************************
> T> # ServerLayout sections.
> T> # **********************************************************************
>
> T> # Any number of ServerLayout sections may be present. Each describes
> T> # the way multiple screens are organised. A specific ServerLayout
> T> # section may be specified from the X server command line with the
> T> # "-layout" option. In the absence of this, the first section is used.
> T> # When now ServerLayout section is present, the first Screen section
> T> # is used alone.
>
> T> Section "ServerLayout"
>
> T> # The Identifier line must be present
> T> Identifier "Simple Layout"
>
> T> # Each Screen line specifies a Screen section name, and optionally
> T> # the relative position of other screens. The four names after
> T> # primary screen name are the screens to the top, bottom, left and right
> T> # of the primary screen. In this example, screen 2 is located to the
> T> # right of screen 1.
>
> T> Screen "Screen 1"
>
> T> # Each InputDevice line specifies an InputDevice section name and
> T> # optionally some options to specify the way the device is to be
> T> # used. Those options include "CorePointer", "CoreKeyboard" and
> T> # "SendCoreEvents".
>
> T> InputDevice "Mouse1" "CorePointer"
> T> InputDevice "Keyboard1" "CoreKeyboard"
>
> T> EndSection
>
>
>
> T> thanks for any help.
>
>
>
> T> To Unsubscribe: send mail to majordomo@FreeBSD.org
> T> with "unsubscribe freebsd-questions" in the body of the message
>
>
> sorry i forgot to mention, i have tried the logitech protocols and
> the same happens.
>
> --
> Best regards,
> taproot420 mailto:taproot420@myrealbox.com
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1032784140.52624.1.camel>
