Re: ACPI Suspend -> /dev/ums0 dead

From: Alexandre \ <Alex.Kovalenko_at_verizon.net>
Date: Fri, 15 Oct 2004 09:30:02 -0400
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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.
Received on Fri Oct 15 2004 - 11:30:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:17 UTC