From: Will C <willjcroz@yahoo.co.uk>
To: buildroot@busybox.net
Subject: [Buildroot] wake on ring support
Date: Tue, 30 Sep 2008 21:07:06 +0000 (GMT) [thread overview]
Message-ID: <811828.28896.qm@web26001.mail.ukl.yahoo.com> (raw)
In-Reply-To: <BAY107-W4782F02FE41BDF61DCBA39D430@phx.gbl>
> 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.
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
regards,
Will Crozier
next prev parent reply other threads:[~2008-09-30 21:07 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 [this message]
2008-09-30 21:29 ` Bernhard Reutner-Fischer
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=811828.28896.qm@web26001.mail.ukl.yahoo.com \
--to=willjcroz@yahoo.co.uk \
--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.