From owner-freebsd-x11@FreeBSD.ORG Mon Dec 10 19:43:51 2007 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 116CD16A418 for ; Mon, 10 Dec 2007 19:43:51 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 77BA513C4F5 for ; Mon, 10 Dec 2007 19:43:50 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by koef.zs64.net (8.14.1/8.14.1) with ESMTP id lBAJSNHe088971 for ; Mon, 10 Dec 2007 20:28:23 +0100 (CET) (envelope-from cracauer@koef.zs64.net) Received: (from cracauer@localhost) by koef.zs64.net (8.14.1/8.14.1/Submit) id lBAJSNHw088970 for freebsd-x11@freebsd.org; Mon, 10 Dec 2007 14:28:23 -0500 (EST) (envelope-from cracauer) Date: Mon, 10 Dec 2007 14:28:23 -0500 From: Martin Cracauer To: freebsd-x11@freebsd.org Message-ID: <20071210192823.GA88826@cons.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Mouse event merging for several mice, how does it work? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 19:43:51 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Can somebody explain to me how this works, which software layer does it? - when you have a notebook with a touchpad - and a USB mouse - then X11 will use both - you don't have to have a xorg.conf that mentions both, it's automatic, and you can plug the USB mouse in and out all you want. This was a fairly recent feature of XFree, I remember that around 2002 I had to use a ServerConfig with primary and second pointer to get this going at the time. I remember Linux and FreeBSD got the "merging" around the same time. I never understood which software layer did this merging, I don't think it's the X server. I have to fix it in RELENG_6, apparently, see appended message. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ --+QahgC5+KEYLbs62 Content-Type: message/rfc822 Content-Disposition: inline Date: Thu, 6 Dec 2007 15:23:52 -0500 From: Martin Cracauer To: freebsd-stable@freebsd.org Subject: Lost USB mouse in RELENG_6 upgrade (July to December) Message-ID: <20071206202343.GA20958@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Upgrading my Thinkpad from RELENG_6 as of July to yesterday's I lost my USB mouse. The notebook's mousepad still works. I used to have both, the USB mouse would be assigned to work in X11 when I plugged it in. Something about moused or a layer below it changed. I can make the USB mouse work by manually calling moused like this: moused -p /dev/ums0 -t auto But then I lose the mousepad, of course. I updated all /etc files, UPDATING doesn't mention mouse or USB. The problem is not X11 specific. Calling moused on a console I can see that the console mouse cursor works for the pad but not for the USB mouse. Any ideas how to fix this? I assume I now have to either - tell moused to monitor /dev/ums0? - configure something below moused that inserts the usb mouse commands into /dev/psm's stream? Thanks Martin dmesg: ums0: Microsoft Microsoft Trackball Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. usbdevs -d -v: port 2 addr 2: low speed, power 100 mA, config 1, Microsoft Trackball Optical (0x0023), Microsoft(0x045e), rev 1.21 ums0 -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ FreeBSD - where you want to go, today. http://www.freebsd.org/ --+QahgC5+KEYLbs62--