Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2008 14:17:50 +0100
From:      Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org>
To:        Marco <ilikefbsd@web.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: use different mouse/input devices in X.org
Message-ID:  <20081213141750.18c2f44e@baby-jane>
In-Reply-To: <4943B02E.1000408@web.de>
References:  <4943B02E.1000408@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Sat, 13 Dec 2008 13:53:02 +0100,
Marco <ilikefbsd@web.de> a écrit :

> Hi List,

Hello,
 
> i've using a Notebook with touchpad which works perfeclty fine.
> However, i'd like also to use in paralell an external via usb connect
> mouse. If i configure this hard into X.org config
> it will work but i stumble here on problems. First of all, i have to
> shutdown the X.org Server to do so, and restart it. Secondly i was not
> able to tell X.org to use both device, which
> would be the touchpad and the external mouse.
> Possibly there is a daemon i can run in backround which maybe handles
> that? Anyone has a solution for that kind of problem or something to
> hit me in the right direction?

moused(8) is able to mix several mice.

You can use devd to call moused when an usb mouse is inserted, with a
rule in /etc/devd.conf like :

attach 200 {
        device-name "ums0";
        action "/usr/sbin/moused -a 5 -p /dev/ums0
-I /var/run/moused.ums0.pid ; /usr/sbin/vidcontrol -m on"; };

In Xorg.conf, use /dev/sysmouse for the mouse device.

That's all.

Regards.



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