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

Re: wakeup by serial port ?



On Thu, Jan 04, 2007 at 06:05:08PM +0200, Ramagudi Naziir wrote:
> On 1/4/07, Erik Mouw <mouw@xxxxxxxxxxxx> wrote:
> >On Thu, Jan 04, 2007 at 05:26:28PM +0200, Ramagudi Naziir wrote:
> >> I know that PCI and USB devices can wake up a suspended linux machine.
> >> My question is whether a serial port device can wake it up too ?
> >Sure, why not? Most BIOSes have a page where you can tell what you
> >want to use as a wake up source.
> 
> How is it done in the hardware:  via the RX line ? the CTS line ?

I have no idea, vendor dependent. Just try it out.

> and in the software ? do i need to register an interrupt on the wake-up 
> line ?
> is there any relevant API I need to use ?

You have to do nothing. BIOS should take care.


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/