Subject: Re: what is ddb keystroke on dual usb ibook?
To: None <port-macppc@netbsd.org>
From: Derek Peschel <dpeschel@eskimo.com>
List: port-macppc
Date: 12/27/2001 13:34:24
> After some debugging, I determined that the keystroke
> is in fact command-option-power.  However, it must be
> entered on /dev/console.  After editing /etc/ttys to
> turn /dev/ttyE0 off and /dev/console on, I am able
> to enter DDB without problem.

My machine (G4 tower) doesn't have a power key. It has
power buttons on the monitor and CPU, but nothing on
the keyboard.  Am I stuck?

It _does_ have an interrupt switch... is there some reason
why ddb can't just use that?  Then we wouldn't have to go
messing with virtual-console functionality by turning off
/etc/ttyE0 (not that we _support_ virtual consoles,
but it's the principle of the thing).

Messing with /dev/console and /dev/ttyE0 runs into another
problem: the "security" setting for /dev/console in /etc/ttys
is special; it determines whether the root password must be
entered when booting in single-user mode.  So you can't just
blindly start using /dev/console instead of /dev/ttyE0 and
expect things to work the same as before.

-- Derek