Subject: Re: RE: PB540c trackpads
To: Takeshi Shibagaki <sibagaki@lsi.melco.co.jp>
From: Bruce O'Neel <bruce.oneel@obs.unige.ch>
List: port-mac68k
Date: 04/05/2002 12:41:08
Thanks!  I finally got a 1.5.2 SBC kernel built and yes, this at least
gets the mouse working.

cheers

bruce

Takeshi Shibagaki writes:
 > Hi,
 > 
 > I have also recognized this problem. This might be bug. I'm using PB550 
 > with the following dirty hack.
 > 
 > But I don't know the right method.
 > 
 > --- ams.c.orig  Sat Jan 13 02:56:52 2001
 > +++ ams.c       Wed Apr  3 10:27:59 2002
 > @@ -116,7 +116,7 @@
 >  
 >         sc->origaddr = aa_args->origaddr;
 >         sc->adbaddr = aa_args->adbaddr;
 > -       sc->handler_id = aa_args->handler_id;
 > +       sc->handler_id = ADBMS_100DPI;
 >  
 >         sc->sc_class = MSCLASS_MOUSE;
 >         sc->sc_buttons = 1;
 > 
 > Takeshi Shibagaki
 > ie9t-sbgk@asahi-net.or.jp
 > 
 > >>>>> On Tue, 2 Apr 2002 19:30:41 +0200, "Jan Schenkel" <jan.schenkel@pandora.be> said:
 > 
 > Jan> Hi Bruce,
 > Jan> Off the top of my head, I think the PB 500 series were the first equipped
 > Jan> with a trackpad that allowed the user to "tap" on it.  Maybe the sensitivity
 > Jan> is set too high, so that it thinks that  you're clicking, when you're
 > Jan> actually just moving the pointer around ?
 > 
 > Jan> Just my 2 euro-cents,
 > 
 > Jan> Jan Schenkel.
 > 
 > Jan> "As we grow older, we grow both wiser and more foolish at the same time."
 > Jan> (De Rochefoucald)
 > 
 > 
 > Jan> -----Oorspronkelijk bericht-----
 > Jan> Van: port-mac68k-owner@netbsd.org
 > Jan> [mailto:port-mac68k-owner@netbsd.org]Namens Bruce O'Neel
 > Jan> Verzonden: dinsdag 2 april 2002 13:55
 > Jan> Aan: port-mac68k@netbsd.org
 > Jan> Onderwerp: PB540c trackpads
 > 
 > 
 > Jan> Hi,
 > 
 > Jan> In my effort to to get NetBSD running on my PB540c I'm now up to
 > Jan> having problems with the mouse (well, it's a builtin trackpad really).
 > Jan> On bootup it identifies itself as:
 > 
 > Jan> ams0 at adb0 addr 3: Logitech MouseMan (non-EMP) mouse
 > 
 > Jan> If I start X things work fine until I move the mouse, then random
 > Jan> things on the screen are selected, cut, and pasted if I'm in an xterm,
 > Jan> or the menu keeps dropping up and down if I'm over part of the screen
 > Jan> controlled by twm.
 > 
 > Jan> Thinking it was just X and the fact that I'm running a LC040, I built
 > Jan> dt, cool program btw, but if I turn on the mouse there it behaves
 > Jan> similarly to the way it behaves in X.  This implys that somewhere in
 > Jan> the kernel, say ams.c,  the mouse is getting processed wrong, right?
 > 
 > Jan> Is it possible that an external mouse would solve the problem?  I
 > Jan> could deal with that.  Otherwise I guess I'm off to find out what the
 > Jan> problem is in the kernel...
 > 
 > Jan> cheers
 > 
 > Jan> bruce
 > 
 > Jan> --
 > Jan> Of course it runs NetBSD
 > 
 > Jan> Bruce O'Neel                       phone:  +41 22 950 91 57
 > Jan> INTEGRAL Science Data Centre               +41 22 950 91 00 (switchb.)
 > Jan> Chemin d'Ecogia 16                 fax:    +41 22 950 91 35
 > Jan> CH-1290 VERSOIX                    e-mail: Bruce.Oneel@obs.unige.ch
 > Jan> Switzerland                        WWW:    http://isdc.unige.ch/
 > 
 > 
 > 

-- 
Of course it runs NetBSD

Bruce O'Neel                       phone:  +41 22 950 91 57
INTEGRAL Science Data Centre               +41 22 950 91 00 (switchb.)
Chemin d'Ecogia 16                 fax:    +41 22 950 91 35
CH-1290 VERSOIX                    e-mail: Bruce.Oneel@obs.unige.ch
Switzerland                        WWW:    http://isdc.unige.ch/