Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 22:49:03 -1000
From:      Gary Dunn <knowtree@aloha.com>
To:        Christoph Kukulies <kuku@physik.rwth-aachen.de>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: X server, touchpad, mouse
Message-ID:  <20030410224903.741c58ad.knowtree@aloha.com>
In-Reply-To: <200304050959.h359xbc10358@accms33.physik.rwth-aachen.de>
References:  <200304050959.h359xbc10358@accms33.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Apr 2003 11:59:37 +0200
Christoph Kukulies <kuku@physik.rwth-aachen.de> wrote:

> When I run X (FreeBSD 5.0R, XFree86 4.?.?) and use the touchpad,
> everything's fine. Do I plug in the mouse later, the cursor freezes
> and the current session becomes unusable.
> 
> Is there a way to handle this smoothly? Needless to say that Windows
> 2000 or ME handles this no problem. This ain't X, OTOH :-)

I have XFree86-4 running on Mandrake Linux on a Sony VAIO PCG-SR7K. This
laptop has a touchpad and a USB mouse. With a "standard" configuration I
could only use the USB mouse when it was plugged in during boot-up.
Someone suggested some modifications to /etc/X11/XF86Config-4 and with
those I can hot-plug the USB mouse at any time. Below are two relevant
sections from that file. Mouse1 is the touchpad, Mouse2 is the USB mouse.
I don't know if "/dev/input/mice" is a valid device on FreeBSD.

# **********************************************************************
# Pointer section
# **********************************************************************

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/mouse"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"

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

#    Option "ChordMiddle"

EndSection

Section "InputDevice"
	Identifier  "Mouse2"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	# Option	    "Device" "/dev/usbmouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
EndSection

... later, at the end of the file:

Section "ServerLayout"
	Identifier     "layout1"
 	Screen         "screen1" 0 0
	Option	       "Xinerama" "on"
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Mouse2" "SendCoreEvents"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection


-- 

           _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
          _/                                     _/
         _/  Gary Dunn                          _/
        _/  Open Slate Project                 _/
       _/  http://openslate.sourceforge.net/  _/
      _/  http://www.aloha.com/~knowtree/    _/
     _/  Honolulu                           _/
    _/  registered Linux user #273809      _/
   _/                                     _/
  _/  This tagline is umop apisdn.       _/
 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030410224903.741c58ad.knowtree>