Re: [linux-pm] [PATCH, RFC] wake up from a serial port

From: Guennadi Liakhovetski
Date: Mon Aug 27 2007 - 13:30:54 EST


On Mon, 27 Aug 2007, Pavel Machek wrote:

> Hi!
>
> > Enable wakeup from serial ports, make it run-time configurable over sysfs,
> > e.g.,
> >
> > echo enabled > /sys/devices/platform/serial8250.0/tty/ttyS0/power/wakeup
> >
> > Requires
> >
> > # CONFIG_SYSFS_DEPRECATED is not set
> >
> > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
>
> Hmm, interesting, looks ok to me. What are you using it for?

Linkstation / kurobox systems from Buffalo Tech. have an AVR controller
connected to host's UART. The AVR controls power, buttons, fan, LEDs,
sensors... So, practically the only way to wake the system up is to press
a button, which sends a byte from the AVR to the CPU.

Thanks
Guennadi
---
Guennadi Liakhovetski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/