From owner-freebsd-hackers Thu Mar 27 15:55:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA04464 for hackers-outgoing; Thu, 27 Mar 1997 15:55:58 -0800 (PST) Received: from mailsrv.cc.utsunomiya-u.ac.jp (mailsrv.cc.utsunomiya-u.ac.jp [160.12.200.20]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA04459 for ; Thu, 27 Mar 1997 15:55:53 -0800 (PST) Received: from zodiac.mech.utsunomiya-u.ac.jp (YiPywwgX5mjP8C6mU6OMeD3/2Q1PiPo/@zodiac.mech.utsunomiya-u.ac.jp [160.12.33.1]) by mailsrv.cc.utsunomiya-u.ac.jp (8.8.5+2.7Wbeta5/3.5Wpl4) with ESMTP id IAA16210; Fri, 28 Mar 1997 08:54:00 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zenith.mech.utsunomiya-u.ac.jp [160.12.33.60]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id IAA24323; Fri, 28 Mar 1997 08:58:24 +0900 (JST) Message-Id: <199703272358.IAA24323@zodiac.mech.utsunomiya-u.ac.jp> To: Andrew Maltsev cc: freebsd-hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: moused & X11 In-reply-to: Your message of "Thu, 27 Mar 1997 23:23:42 +0300." <199703272023.XAA00308@amsoft.ru> References: <199703272023.XAA00308@amsoft.ru> Date: Fri, 28 Mar 1997 08:58:22 +0900 From: Kazutaka YOKOTA Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >My usual configuration is 11 virtual consoles and XFree on ttyvb with >xdm runned. It looks like it's not possible to have such layout in 2.2 >freebsd with moused enabled. Am I rigth? I understand the reason, but I >think something should be done to fix a problem. > >Correct me, if I'm on wrong way, but I see two methods: > >1) To create a named socket, to which moused will copy all data from mouse >port and to have XFree to read this socket as a mouse. It looks easy and >I'm going to try.. > >2) I'm not very well know what's happend when X11 activated/deactivated. >Is it possible for user process (moused) to be warned of such event to >release /dev/mouse (or what it is runned on) to make it possible for >XFree to communicate with mouse? > >Any suggestions? To use your mouse, serial, PS/2 or whatever, both in your console and in your X, you need to tell `moused' the true type of your mouse and its port. But tell the X server it should access the mouse at `/dev/sysmouse' and the type of the mouse is `MouseSystems', REGARDLESS of the actual type of your mouse. To do this, you should put the following lines in the `Pointer' section of your `XF86Config': Protocol "MouseSystems" Device "/dev/sysmouse" Kazu