*BSD News Article 97023


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: moused and X
Date: 4 Jun 1997 09:10:29 GMT
Organization: Awfulhak Ltd.
Lines: 41
Message-ID: <5n3be5$dpq@ui-gate.utell.co.uk>
References: <EB01rn.87H@nonexistent.com>
    <6D505EEFC5A3F068.90CB6679B266FD3B.9BC5A71ED7972D0A@library-proxy.airnews.net>
    <EB7y4w.Mr4@nonexistent.com>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42319

In article <EB7y4w.Mr4@nonexistent.com>,
	Nathan Dorfman <nathan@senate.org> writes:
> Brian Somers wrote:
>> 
>> In article <EB01rn.87H@nonexistent.com>,
>>         Nathan Dorfman <nathan@senate.org> writes:
>> > This is a question that probably comes up quite often ... is it possible
>> > to have moused and X work simultaneously? I remember gpm had no problems
>> > running with X under Linux, if you were using a serial mouse.
>> 
>> There's a section in either the FAQ or the handbook (or both).
>> 
>> You need to use the virtual "sysmouse" device and the mousesystems
>> protocol in X.
>> 
>> --
>> Brian <brian@awfulhak.org> <brian@freebsd.org>
>>       <http://www.awfulhak.org>
>> Don't _EVER_ lose your sense of humour !
> 
> Actually I put /dev/sysmouse in XF86Config and then moused worked,
> but when I started X, the pointer was magnetically attracted to topleft.
> Perhaps I tried it wrong, and need to do /dev/cuaa0 in XF86Config, and
> sysmouse in moused. Will try.

That won't work.

The syscons driver (that controls your console) is given the real
mouse.  Every mouse "event" that it reads from there is fed
into the virtual sysmouse device using the MouseSystems protocol.

Therefore, you must either disable moused (tell syscons not to do
anything) and have X using the real mccoy, or have X using
/dev/sysmouse *AND* using the  MouseSystems protocol.

This does work.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !