[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatic power-on



On Sun, Sep 01, 2002 at 06:26:53PM +0200, Michel Lanners wrote:
> On  31 Aug, this message from Eric C. Cooper echoed through cyberspace:
> > On CUDA-based PowerMacs, this will set it to "file server mode" (i.e.,
> > automatically reboot upon restoration of power):
> >     echo -ne '\001\023\001' > /dev/adb
> > 
> > This Apple tech note was helpful in finding the magic '\023' that
> > enables "server mode":
> >     http://developer.apple.com/technotes/tn/tn1079.html
> 
> Emm, wouldn't that be 0x13? According to my copy of that technote, 0x23
> sets wakeup mode (i.e enable wakeup by the GPi in of the Geoport serial
> ports).

Hex vs. octal escapes (\023 == \0x13)

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                 http://arbutus.physics.mcmaster.ca/cookedm/
|cookedm@physics.mcmaster.ca



Reply to: