Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2010 23:13:20 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: mouse problems....
Message-ID:  <20101011231320.743975fc.freebsd@edvax.de>
In-Reply-To: <20101011205610.GA3261@thought.org>
References:  <20101011032642.GA3354@thought.org> <20101011164152.GA4652@thought.org> <20101011193153.758efde5.freebsd@edvax.de> <20101011181438.GA5076@thought.org> <20101011202741.9e107460.freebsd@edvax.de> <20101011191443.GA5223@thought.org> <20101011213216.0d19ed70.freebsd@edvax.de> <20101011194907.GB5223@thought.org> <20101011221609.b2cff60e.freebsd@edvax.de> <20101011205610.GA3261@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Oct 2010 13:56:10 -0700, Gary Kline <kline@thought.org> wrote:
> 	i tried this remove on _this_ console; then buttoned over to 
> 	`ethic' [server], killed the moused that was running.  Indeed it
> 	was /dev/ums0!  But the mouse was frozen, and afer I killed it, 
> 	gone. 

It seems that disconnect / reconnect (performed by the KVM switch)
causes some problems.



> Then I tried your line and got the data stream.  But 
> 	there was no mouse.  ... 

But if you moved the mouse, status messages appeared? Remove the
-d option and try

	# moused -f -p /dev/ums0 -t auto

Now a mouse cursor should be present in text mode.



> 	There are two buttons and the mouse "wheel";  I have no clue what's
> 	next. 

I'm using such mice (with wheel) since FreeBSD 5.0, so there should
be sufficient support if the mouse it not "broken by design".



> Clearly, my 7.2.X sees the mouse.  But when I typed simply 
> 
> 	# startx
> 
> 	the windows are there; the mouse cursor hangs, dead-center.

If you've tried the moused example above - and it WORKS, remove
the -f option.

	# moused -p /dev/ums0 -t auto

It should then become a daemon. Right after that, run

	# startx

and X should use the mouse access provided by moused - unless, of
course, there's HAL and DBUS trouble ahead.



> 	Dunno; I do have hal and dbus there; that's about all I
> 	can say.  Do I check with ps -ax | egrep "hal|dbus"?

If it was THAT obvious... :-)

Check

	# grep "hal" /etc/rc.conf
	# grep "dbus" /etc/rc.conf

to see if they are enabled. You should also have hal-x.y.z and
dbus-x.y.z packages installed. If you installed X from package or used
the port with default options, it relies on their presence. That's
nothing bad per se, especially if you're using KDE, Gnome or Xfce,
those seem to run better with HAL and DBUS, especially all the
autodetection and automount stuff. If you intendedly do NOT want
to use that, you can code AAD in your xorg.conf (you need to have
one for that).

There's a section in the handbook covering that topic:

	5.4 X11 Configuration
	http://www.freebsd.org/doc/handbook/x-config.html

Especially see 5.4.2. Also don't miss

	http://www.wonkity.com/~wblock/docs/html/aei.html

And maybe

	http://www.kite.ping.de/xorg-hal-migration.html

This should give sufficient information to find out what is the best
solution for your setting.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101011231320.743975fc.freebsd>