Date: Fri, 15 Oct 2004 09:30:02 -0400 From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net> To: Jose M Rodriguez <josemi@freebsd.jazztel.es> Cc: freebsd-current@freebsd.org Subject: Re: ACPI Suspend -> /dev/ums0 dead Message-ID: <1097847001.843.3.camel@RabbitsDen> In-Reply-To: <200410121359.33918.josemi@freebsd.jazztel.es> References: <69b7b6901d.6901d69b7b@osu.edu><416BBED8.7020307@gmx.de> <200410121359.33918.josemi@freebsd.jazztel.es>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2004-10-12 at 07:59, Jose M Rodriguez wrote: > El Martes, 12 de Octubre de 2004 13:24, Jochen Gensch escribió: > > 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 > process. > > If you have in /etc/rc.conf: > moused_enable="YES" > usbd_enable="YES" > > You will have two moused processes and all sort of extrange behavior. > But it may works. > > Maybe your BIOS can make the usb and the trackpad 'mux'. In that case, > 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 \ > -I /var/run/moused.ums0.pid > /usr/sbin/vidcontrol -m on > > See also the comments in /etc/rc.suspend, /etc/rc.resume about uhci. > You may need a kernel without usb to make this work. Also, load your > 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 > > > > -- > josemi > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Just for the record -- in current you *can* run multiple moused processes on multiple hardware mice and they will happily coexist and provide source of events for /dev/sysmouse. For more information, please, read "Multiple Mice" section of `man moused`. --- Alexandre "Sunny" Kovalenko.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1097847001.843.3.camel>