On 14/10/11(Fri) 23:04, Bryan wrote:
> I began noticing this error message when I was using my Kensington
> Trackball.  I'd be in Chrome, accessing webpages, and typing inside
> text boxes (much like the GMail one I'm typing into now). All of a
> sudden, it was as if someone had enabled some kind of left click lock,
> and then disconnected my mouse.  This affects any pointer device I add
> (my wife's wireless logitech laser mouse, the internal
> trackpad/touchstick, and the kensington wired trackball).
> 
> One this occurs, I have to reboot the laptop to get functionality
> back.  I am using the latest current (October 14th).  I would say that
> the keyboard continues to work as normal, I just can't do anything
> with the mouse.  Sometimes, I can get the mouse cursor to move on the
> screen, but all that does is cause the web browser or libreoffice
> window to scroll up and down.  Again, that is with all the different,
> not just the trackball, so I think I ruled out a 'short' in the
> trackball causing the issue.
> 
> * update*  I found that exiting X with (meta-shift-Q on scrotwm) and
> then restarting X seems to fix the issue.  So far, it take several
> minutes and several hundred of the 'pms0' messages before the mouse
> goes all weird as described above...
> 
> Any ideas?  I am willing to run patches...

It's certainly a bug in the Dualpoint ALPS support. Does the diff below
fix your problem?

Index: pms.c
===================================================================
RCS file: /cvs/src/sys/dev/pckbc/pms.c,v
retrieving revision 1.22
diff -u -p -r1.22 pms.c
--- pms.c       4 Oct 2011 06:30:40 -0000       1.22
+++ pms.c       15 Oct 2011 11:53:49 -0000
@@ -143,23 +143,28 @@ static const struct alps_model {
        int version;
        int model;
 } alps_models[] = {
+#if 0
+       /*
+        *  FIXME Dualpoint are not supported yet
+        */
        { 0x2021, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
        { 0x2221, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
        { 0x2222, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
        { 0x3222, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
        { 0x5212, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
+       { 0x6222, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
+       { 0x633b, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
+       { 0x7301, ALPS_DUALPOINT },
+#endif
        { 0x5321, ALPS_GLIDEPOINT },
        { 0x5322, ALPS_GLIDEPOINT },
        { 0x603b, ALPS_GLIDEPOINT },
-       { 0x6222, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
        { 0x6321, ALPS_GLIDEPOINT },
        { 0x6322, ALPS_GLIDEPOINT },
        { 0x6323, ALPS_GLIDEPOINT },
        { 0x6324, ALPS_GLIDEPOINT },
        { 0x6325, ALPS_GLIDEPOINT },
        { 0x6326, ALPS_GLIDEPOINT },
-       { 0x633b, ALPS_DUALPOINT | ALPS_PASSTHROUGH },
-       { 0x7301, ALPS_DUALPOINT },
        { 0x7321, ALPS_GLIDEPOINT },
        { 0x7322, ALPS_GLIDEPOINT },
        { 0x7325, ALPS_GLIDEPOINT },

Reply via email to