From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] wake on ring support
Date: Tue, 30 Sep 2008 23:29:10 +0200 [thread overview]
Message-ID: <20080930212910.GE26825@mx.loc> (raw)
In-Reply-To: <811828.28896.qm@web26001.mail.ukl.yahoo.com>
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
next prev parent reply other threads:[~2008-09-30 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 20:12 [Buildroot] wake on ring support Muktabh Anchlia
2008-09-30 21:07 ` Will C
2008-09-30 21:29 ` Bernhard Reutner-Fischer [this message]
2008-10-01 13:07 ` Muktabh Anchlia
2008-10-08 14:08 ` Muktabh Anchlia
2008-10-09 19:39 ` Will C
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080930212910.GE26825@mx.loc \
--to=rep.dot.nop@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.