badpeos
December 25th, 2002, 05:08
I am new user of OBSD. My mouse does not operate correctly in X. The mouse point cannot move and even cannot click.

I am using OBSD 3.2, XFree86 4.2.1.

The mouse config section is as:
# ************************************************** ********************
# Core Pointer's InputDevice section
# ************************************************** ********************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/wsmouse"

# 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 "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

# ZaxisMapping is an option for handling the wheel
Option "ZAxisMapping" "4 5"

EndSection

The log is as:
(**) Option "Protocol" "Auto"
(**) Mouse1: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/wsmouse"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(EE) Mouse1: cannot determine the mouse protocol
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!

:cry:

v902
December 25th, 2002, 12:32
What kind of mouse do you have? ps2? what?

elmore
January 2nd, 2003, 02:34
Don't know if this has been resolved yet, but I've found that with my OBSD workstation I've always specified the mouse type rather than leave it to auto.

BTW welcome badpeos, things have been slow the past couple of weeks due to holidays, the board is getting back into full swing though now.

Junky
September 2nd, 2003, 12:50
I was having troubles with a USB mouse on my Dell i8100 laptop.
Maybe this will help?


Anyway, using xf86config, the mouse section was:

# Core Pointer
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "MouseSystems"
Option "Device" "/dev/wsmouse"
EndSection

However with this, the mouse didn't operate correctly - it just jumped around. I changed the setup to:

# Core Pointer
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
EndSection

Now everything works great with the USB mouse!

You could also change as needed, /etc/rc.conf:

xdm_flags="" # To start XDM on boot i.e. straight to graphical
# wsmoused_flags="" # to enable console mouse if working on console

Cheers
Junky


Here is my complete /etc/X11/XF86Config file in case it is of any help.
Nb Unfortunately the nvidia geforce2go card has no specialised driver support - however the VESA driver is perfectly adequate.

# /etc/X11/XF86Config

# Module Section - dynamically loadable modules
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "speedo"
EndSection

# File Section
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/modules"
EndSection

# Server Flags Section
Section "ServerFlags"
Option "AllowMouseOpenFail" "TRUE"
Option "BlankTime" "60"
Option "StandbyTime" "90"
Option "SuspendTime" "120"
Option "OffTime" "180"
EndSection

# Core Keyboard
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

# Core Pointer
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "wsmouse"
Option "Device" "/dev/wsmouse"
EndSection

# Monitor Section
Section "Monitor"
Identifier "UXGA"
HorizSync 30-100 # DON'T COPY THIS - USE MONITOR SPEC. VALS.
VertRefresh 60 # DON'T COPY THIS - USE MONITOR SPEC. VALS.
Option "DPMS"
EndSection

# If you enter incorrect refresh rates you can damage your monitor.
# Check you monitor manual for values.
# Here the refresh rate is fixed 60Hz since this config. if for LCD display.

# Graphics Device Section
Section "Device"
Identifier "NVIDIA"
Driver "vesa"
EndSection

# Come on nvidia - help me out!

# Screens Section
Section "Screen"
Identifier "Screen 1"
Device "NVIDIA"
Monitor "UXGA"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# ServerLayout Section
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection[/img]