Re: X server, touchpad, mouse

"Christoph P. Kukulies" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Thu, Apr 10, 2003 at 10:49:03PM -1000, Gary Dunn wrote:
> On Sat, 5 Apr 2003 11:59:37 +0200
> Christoph Kukulies <[email protected]> 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.

Unfortunately I couldn't get it working with either of the suggestions
that came up on this subject (to enable moused and add an entry
with /dev/sysmouse in XF86Config. In the latter case I 'm getting
an "init spawning too rapidly" indicating that X dies during startup.

 from dmesg:
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model 4D Mouse, device ID 6


> > 
> > 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
> 
--
Chris Christoph P. U. Kukulies [email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.