From nobody@FreeBSD.org  Mon May  8 06:51:34 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C29AD16A400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 06:51:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9575143D49
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 06:51:34 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k486pY8M007314
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 May 2006 06:51:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k486pYm8007313;
	Mon, 8 May 2006 06:51:34 GMT
	(envelope-from nobody)
Message-Id: <200605080651.k486pYm8007313@www.freebsd.org>
Date: Mon, 8 May 2006 06:51:34 GMT
From: "Jukka A. Ukkonen" <jau@iki.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: moused no longer runs multiple instances simultaneously
X-Send-Pr-Version: www-2.3

>Number:         96970
>Category:       bin
>Synopsis:       moused(8) no longer runs multiple instances simultaneously
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 08 07:00:34 GMT 2006
>Closed-Date:    Wed May 24 12:02:28 GMT 2006
>Last-Modified:  Wed May 24 12:02:28 GMT 2006
>Originator:     Jukka A. Ukkonen
>Release:        6.1-STABLE
>Organization:
individual user
>Environment:
FreeBSD mjolnir 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun May  7 18:07:50 EET DST 2006     root@mjolnir.:/usr/obj/usr/src/sys/Mjolnir  i386
>Description:
On some systems it would be beneficial to run multiple instances of moused
simultaneously. Assume there are multiple mouse like devices one wishes to
use alternating between them on the fly.
The current implementation does not allow this.

>How-To-Repeat:
Make sure you are running one instance of moused already and then launch e.g.

moused -r medium-high -t intellimouse -p /dev/cuad0

This will fail with a complaint like...

moused: moused already running, pid: 1001


>Fix:
Change moused to allow multiple simultaneous instances to run.

>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: "Jukka A. Ukkonen" <jau@iki.fi>
Cc: bug-followup@freebsd.org
Subject: Re: bin/96970: moused no longer runs multiple instances simultaneously
Date: Mon, 8 May 2006 11:06:16 +0400 (MSD)

 [...]
 > >How-To-Repeat:
 > Make sure you are running one instance of moused already and then launch e.g.
 >
 > moused -r medium-high -t intellimouse -p /dev/cuad0
 >
 > This will fail with a complaint like...
 >
 > moused: moused already running, pid: 1001
 
 Try to add -I /var/run/moused.cuad0 flag.
 
 -- 
 Maxim Konovalov
State-Changed-From-To: open->closed 
State-Changed-By: glebius 
State-Changed-When: Wed May 24 12:00:43 UTC 2006 
State-Changed-Why:  
You just need to specify different pid files for both moused 
invocations. For example, I have two mouseds working on my notebook: 

root      856  0,0  0,3  5200   636  ??  Ss   13:17     0:00,00 /usr/sbin/moused -V -p /dev/psm0 -t auto 
root     1133  0,0  0,2  5200   608  ??  Ss   13:37     0:00,00 /usr/sbin/moused -V -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 


http://www.freebsd.org/cgi/query-pr.cgi?pr=96970 
>Unformatted:
