The hotsync button is actually wired to a processor input line, it
basically pulls the line to ground. The system detects the press and
'wakes'.
You could make up a special serial cable which connected the hotsync
button to an unused PC serial handshake line. Then you could map the
hotsync button to your palm app and monitor the button in your palm app.
BUT YOU WOULD NEED TO BE VERY CAREFUL! RS-232 is nominally +/- 12 VDC,
connecting a line direct might very well destroy the Moto processor in
your palm (and almost certainly void your warrantee...)
Depending upon the actual RS-232 circuitry in the palm, it might be
possible to install an interrupt handler for either break detection or
the existing handshaking input. IE, you would basically make a port
event or a handshaking line do the same work as the hotsync button.
But, you'd have to check a schematic. It wouldn't surprise me if the
RS-232 level conversion is powered down when the unit is 'asleep', in
which case, the signal wouldn't be making it to the processor for
detection.
The Modem HDK gives pinouts, etc. for the cradle connection. I don't
recall seeing any schematics of the actual port though.
One last approach might be to wake your palm app periodically with an
alarm and check comm line status. The problems would be that the
polling rate would be pretty slow and uneven (poor wakup response time),
and you'd be murder on batteries.
Good Luck,
-jjf
-----Original Message-----
From: Alexander Foborg [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 28, 2000 8:51 AM
To: Palm Developer Forum
Subject: Wake up Palm via serial port?
(Sorry for the empty post earlier).
Is there a way to power on the Palm by doing something to its serial
port?
I've noticed that it powers itself on when the hotsync button on the
cradle
is pressed.
/Alex/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html