Re: suspend/resume moused restart required

Jan Kokemüller <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hi,

> After an upgrade from 10-STABLE (synced a few months ago) to 10-STABLE
> r281907 (Thu Apr 23) the psm mouse (touch pad / pointing stick on a
> Lenovo X220) no longer works after a resume.  After a restart of moused
> the mouse works again.  Is there a device hint or trick I'm missing?
> I've pasted the contents of /var/log/messages during the
> suspend/resume below.

Is the kernel and userland in sync? Maybe moused just needs a recompile 
because of the changes to the psm driver.

Do you have "hw.psm.synaptics_support" and/or 
"hw.psm.trackpoint_support" enabled in /boot/loader.conf?

Also, could you try to set "debug.psm.loglevel=2" in /boot/loader.conf 
and post the dmesg log after a suspend/resume cycle? Similarly, running 
moused manually in the foreground with "moused -dd -f -p /dev/psm0" 
might show some useful info. Maybe the psm data gets out of sync somehow.

Can you reproduce the problem when X is not running?

You might also try to revert the latest changes to psm.c and mouse.h and 
see which commit causes the problem: 
https://svnweb.freebsd.org/base/stable/10/sys/dev/atkbdc/psm.c (r281708, 
r281709, r281964). Both kernel and moused need to be recompiled.

Cheers,
Jan
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.