Subject: Re: various mouse results
To: None <mcmahill@alum.mit.edu>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 03/03/1998 22:31:40
Dan McMahill wrote:
> short story:
> 
> LogiTech MouseMan M/N M-AH32, P/N 840015-01
> 	works with 1.3SLOTMAN+MRG (older, mid january slotman plus 1.3 released, custom kernel)
> 	works with 1.3GENERIC+MRG (stock 1.3)
> 	doesn't work with last week's SLOTMAN with HWD

That's expected.  There is a known bug with HWDIRECT kernels on II-series
hardware.  John has a fix, but it hasn't made it into -current quite yet
(John's patches are available on www.macbsd.com, tho).
 	
> Info Performance Mouse, Model IPM2
> 	partially works under MRG code.  left button works, middle is dead, right 
> 	sort of does a left click (maybe a double one).

I've never heard of this one before.  I guess we'll have to add support
for it :-)
 
> 	causes HWDIRECT to not boot.

That's a bit strange, but could be related to the bug John fixed.

> 
> Long Version:
> 
> Feb 25 21:45:08 dinah-moe /netbsd: NetBSD 1.3 (DINAH-MOE) #0: Tue Jan 13 02:02:40 EST 1998
> /* (1.3 released plus slotman, uses mrg, uses sbc) */
> Feb 25 21:45:08 dinah-moe /netbsd: Apple Macintosh IIci  (68030)
> Feb 25 21:45:08 dinah-moe /netbsd: mrg: 'Mac IIci/Q700 ROMs' ROM glue, tracing off, debug off, silen
> t traps
> Feb 25 21:45:08 dinah-moe /netbsd: mrg: I/O map kludge for ROMs that use hardware addresses directly
> .
> Feb 25 21:45:09 dinah-moe /netbsd: adb: bus subsystem
> Feb 25 21:45:09 dinah-moe /netbsd:^Hadb: extended keyboard at 2
> Feb 25 21:45:09 dinah-moe /netbsd: adb: extended mouse <LT01> 3-button 400 dpi mouse at 3
> Feb 25 21:45:09 dinah-moe /netbsd: adb: 100 dpi mouse at 15
                                          ^^^^^^^^^^^^^^^^^^^
Is this real?  Do you have an actual 100-dpi mouse attached in addition to
the Logitech mouse?
 
> This is a LogiTech MouseMan M/N M-AH32, P/N 840015-01
> 
> This Just Works.  All 3 button's work as they should.  I didn't have to do anything.

That's the same as I have (well, mine's P/N 840015-00).

 
> now, same computer, same kernel, different mouse
> Feb 27 01:43:12 dinah-moe /netbsd: adb: bus subsystem
> Feb 27 01:43:12 dinah-moe /netbsd:^Hadb: extended keyboard at 2
> Feb 27 01:43:12 dinah-moe /netbsd: adb: 100 dpi mouse at 3
> Feb 27 01:43:12 dinah-moe /netbsd: adb: 100 dpi mouse at 15
> Info Performance Mouse, Model IPM2
> 
> Now, the left button works, middle is inactive, right acts pretty much like
> the left, but makes my fvwm2 popup menu stick!

Sounds vaguely like my Mouse System's A^3 mouse before I added support for
it.  It did some screwy stuff.

> now, same mice, different computer, different kernel.
> 
> Mar  1 10:46:22 lucille /netbsd: NetBSD 1.3 (SLOTMAN_HWD) #3: Wed Feb 18 05:18:29 PST 1998
> Mar  1 10:46:22 lucille /netbsd:     paul@mac1.whooppee.com:/home/paul/src/sys/arch/mac68k/compile/S
> LOTMAN_HWD
> Mar  1 10:46:23 lucille /netbsd: adb: using II series hardware support
> Mar  1 10:46:23 lucille /netbsd: adb: ADBReInit complete
> Mar  1 10:46:23 lucille /netbsd: adb: extended keyboard at 2
> Mar  1 10:46:23 lucille /netbsd: adb: extended mouse <LT> 0-button 0 dpi unknown device at 3
> 
> this is with the logitech mouse.  I'm using SLOTMAN for my strange video card plus
> ethernet (ethernet doesn't work without slotman).  I'm using HWDIRECT   due to extended
> keyboard on a IIx (won't boot MRG kernels).  Looks like left and middle buttons work, but
> not the right one (acts dead).

That's the bug you're seeing.  Since you can compile your own kernels (I
assume), you should probably just apply John's II-series patch and
recompile.  It will work just fine.
 
> When I try the  Info Performance mouse, I get as far as:
> adb: using II series hardware support 
> and it hangs

That's a little strange...but not entirely unexpected.  Probably the bug.

> Now I get out my old regular keyboard and boot a SLOTMAN with MRG kernel on the IIx
> with the LogiTech mouse.
> 
> Mar  1 11:09:47 lucille /netbsd: NetBSD 1.3 (SLOTMAN) #214: Wed Feb 18 04:55:23 PST 1998
> Mar  1 11:09:47 lucille /netbsd:     paul@mac1.whooppee.com:/home/paul/src/sys/arch/mac68k/compile/S
> LOTMAN
> Mar  1 11:09:47 lucille /netbsd:        (current as of Tue Jan 6 07:37:52 1998)
> Mar  1 11:09:47 lucille /netbsd: Apple Macintosh IIx  (68030)
> Mar  1 11:09:47 lucille /netbsd: mrg: 'Mac II class ROMs' ROM glue, tracing off, debug off, silent t
> raps
> Mar  1 11:09:47 lucille /netbsd: mrg: I/O map kludge for ROMs that use hardware addresses directly.
> Mar  1 11:09:48 lucille /netbsd: adb: bus subsystem
> Mar  1 11:09:48 lucille /netbsd: adb: standard keyboard at 2
> Mar  1 11:09:48 lucille /netbsd: adb: extended mouse <LT01> 3-button 400 dpi mouse at 3
> 
> 100% functionality from the mouse!
> 
> >From this I conclude maybe there is a HWDIRECT bug?  I recall seeing something
> about this recently.  Thought I'd add some mouse data points though.

Yes, it is.  If you're willing to spend a little time with ADB Parser, we
can probably pretty easily figure out how your mouse works and add support
for it...

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.