Subject: Re: Well, you may be... was Re: I am happy to report...
To: Bill Studenmund <skippy@macro.Stanford.EDU>
From: David A. Gatwood <marsmail@globegate.utm.edu>
List: port-macppc
Date: 11/11/1998 14:26:45
On Wed, 11 Nov 1998, Bill Studenmund wrote:

> On Fri, 6 Nov 1998, Richard Threadgill wrote:
> 
> > That the current rev of the floppy boot (bootfloppy-981023.fs)
> > cheerfully boots a powerbook g3 series/292 into single user mode.
> > Of course, it then panics when you touch the trackpad, but what
> > do you want, a rubber biscuit?
> 
> I'd like it to go multi-user. Older floppies could on my G3/266. :-)
> 
> The new one dies on me in adb hookup:
> 
> adb0 at obio [whereever, I didn't write this one down]
> akbd0 at adb0 addr 2 [extended keyboard]
> wskbd0 at akbd0: Console keyboard
> ams0 at adb0 addr 3 Mouse systems A3 ...
> wsmouse at ams0 not configured
> akbd1 at adb0 addr 2 standard keyboard
> wskbd1 at akbd1: Console keyboard
> trap 300 at 1eXXXX  [Oops! I forgot to write that line, and the trap 300
> 			is from memory]
> Panic: trap
> rebooting
> 
> and then it sat there and didn't reboot.
> 
> So two things come to mind:
> 
> 1) We need to do ADB device re-addressing. Usually what happens under
> MacOS is that the Extended Keyboard gets readdressed to addr 15.
> 
> This problem's not an issue for mac68k as we've always booted after MacOS,
> which will do the re-addressing.

Sounds like you should consider borrowing (back?) the adb code from
MkLinux, specifically adb.c, adb_keyboard.c, adb_mouse.c....  Just a
thought.   :-)

BTW, are there really two keyboards or is one of them your mouse?  Or is
there yet a third device lurking at address 2?  Just wondering....


David

David A. Gatwood                         Visit globegate's internet
dgatwood@globegate.utm.edu                  talker, Deep Space 36
http://globegate.utm.edu                telnet globegate.utm.edu:9624

-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/CC/FA/H/L/MC/M/MU/PA/TW d-@ s:>- a-- C++ ++>$ UBLAS*++ ++>$
P+?>$ L++ +>$ !E--- W++ +>$ N++(++ +)>++ +$ !o? K-? !w--- !O
M++>$ !V-- PS+>$ !PE- Y+>$ PGP+>$ t++ +>$ 5+>++ ++$ !X- !R tv+>$
b++>$ !DI !D- G++(++ +)>$ e>++ ++ h--! r--- !y-
------END GEEK CODE BLOCK------