[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    [Buildroot] wake on ring support
From:       rep.dot.nop () gmail ! com (Bernhard Reutner-Fischer)
Date:       2008-09-30 21:29:10
Message-ID: 20080930212910.GE26825 () mx ! loc
[Download RAW message or body]

On Tue, Sep 30, 2008 at 09:07:06PM +0000, Will C wrote:
> > I am trying to get wake on ring working on an advantech
> > board with linux (built using buildroot, kernel version
> > 2.6.24). I can make linux go to sleep using the command echo
> > standby >/sys/power/state. But I am unable to wake it up
> > using wake on ring. Advantech documents applying 5 volts on
> > some pin to wake it up. Is there any parameter in buildroot
> > config which enables/disables this support? It does work
> > with windows Xp.
> 
> I'm not sure if buildroot has specific support for this or not.

This is unrelated to buildroot per se.

I don't know what you mean with "ring", but, as Will wrote below, you
can possibly use either ether-wake and/or rtcwake both of which are
provided in busybox. Please refer to docs/README for further details on
how to configure busybox to suite your needs.
> 
> If it works in XP then it should work in Linux without using +5v on that pin. What \
> is the device you are using to wake up the board? If you know what kind of bus it \
>                 is connected to (and are using acpi) look in
> /proc/acpi/wakeup to see if it is wakeup enabled:
> 
> cat /proc/acpi/wakeup
> 
> if not do (for example with PCI0 device) :
> 
> echo PCI0 > /proc/acpi/wakeup
> 
> then try going to standby. If it works you will probably want to add it to your \
> init scipts so that it is enabled whenever it goes into standby. 
> Of course if it is a NIC then you also need to use ethtool, e.g:
> 
> /usr/sbin/ethtool -s eth0 wol g


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic