From owner-freebsd-current@FreeBSD.ORG Tue Oct 12 11:59:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FD5716A4CF for ; Tue, 12 Oct 2004 11:59:37 +0000 (GMT) Received: from smtp2.jazztel.es (smtp2.jazztel.es [62.14.3.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32DA343D53 for ; Tue, 12 Oct 2004 11:59:36 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp2.jazztel.es with antivirus id 1CHLJT-0004WS-00 Tue, 12 Oct 2004 13:59:31 +0200 Received: from [212.106.255.193] (helo=rguez.homeunix.net) by smtp2.jazztel.es with esmtp id 1CHLJT-0004Vp-00 Tue, 12 Oct 2004 13:59:31 +0200 Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id i9CBxYbe037380; Tue, 12 Oct 2004 13:59:34 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.1/8.13.1/Submit) id i9CBxYYm022222; Tue, 12 Oct 2004 13:59:34 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) X-Authentication-Warning: orion.redesjm.local: freebsd set sender to josemi@freebsd.jazztel.es using -f From: Jose M Rodriguez To: freebsd-current@freebsd.org Date: Tue, 12 Oct 2004 13:59:33 +0200 User-Agent: KMail/1.7 References: <69b7b6901d.6901d69b7b@osu.edu> <200410121251.31740.josemi@freebsd.jazztel.es> <416BBED8.7020307@gmx.de> In-Reply-To: <416BBED8.7020307@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200410121359.33918.josemi@freebsd.jazztel.es> X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.27.0.12; VDF 6.27.0.81 (host: antares.redesjm.local) X-Virus-Scanned: by antivirus cc: Jochen Gensch Subject: Re: ACPI Suspend -> /dev/ums0 dead X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 11:59:37 -0000 El Martes, 12 de Octubre de 2004 13:24, Jochen Gensch escribi=F3: > Jose M Rodriguez wrote: > > There isn't mouse 'mux' support in FreeBSD's moused. You can use > > only one. > > Sure that is true? I am using both at this moment on the console, so > no X is runnig. Both with moused. I can activate usb mouse by moused > -p /dev/ums0 and trackpoint by moused -p /dev/psm0. Usbd is running, > too by the way. > I think so. There's only one /dev/sysmouse that must be gerenated by just one moused=20 process. If you have in /etc/rc.conf: moused_enable=3D"YES" usbd_enable=3D"YES" You will have two moused processes and all sort of extrange behavior. =20 But it may works. Maybe your BIOS can make the usb and the trackpad 'mux'. In that case,=20 you must edit your /etc/usbd.conf and comment out the device 'mouse' You may also try and specific resume in /etc/rc.resume: /usr/bin/killall moused [ -c /dev/psm0 ] && /usr/sbin/moused -p /dev/psm0 \ -I /var/run/moused.pid [ -c /dev/ums0 ] && /usr/sbin/moused -p /dev/ums0 \=20 -I /var/run/moused.ums0.pid /usr/sbin/vidcontrol -m on See also the comments in /etc/rc.suspend, /etc/rc.resume about uhci. =20 You may need a kernel without usb to make this work. Also, load your=20 required usb modules from /etc/loader.conf > > I figured out, that ums0 isn't the problem here, it just takes 2-3 > seconds and it is there after resuming. I didn't know what device is > carrying what mouse. So the problem is /dev/psm0. The trackpoint is > dead after resuming, even though I entered a moused -p /dev/psm0 in > /etc/rc.resume. This doesn't seem to be executed. Is that the correct > place to set commands after resume? > > Jochen > =2D- josemi