WoWLAN support in Chromeboxes

429 views
Skip to first unread message

Andrey Butirsky

unread,
Jun 23, 2023, 3:21:21 PM6/23/23
to ChromiumOS Development
Hi, could somebody clarify to me if WoWLAN feature (wake over wireless) is supported on Asus Chromebox 3 or any other Chromeboxes?
I can't find any info but see it was in development since 10 years ago or so.

Mike Frysinger

unread,
Jun 23, 2023, 3:26:20 PM6/23/23
to Andrey Butirsky, ChromiumOS Development
you want to wake up your Chromebox by sending it a WOL packet from a different machine ?
or you want to use the Chromebox to send a WOL to a different machine ?
-mike

On Fri, Jun 23, 2023 at 3:21 PM Andrey Butirsky <buti...@gmail.com> wrote:
Hi, could somebody clarify to me if WoWLAN feature (wake over wireless) is supported on Asus Chromebox 3 or any other Chromeboxes?
I can't find any info but see it was in development since 10 years ago or so.

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev

Andrey Butirsky

unread,
Jun 23, 2023, 3:27:40 PM6/23/23
to ChromiumOS Development, Mike Frysinger, ChromiumOS Development, Andrey Butirsky
I want to wake the Chromebox

Mike Frysinger

unread,
Jun 23, 2023, 3:50:26 PM6/23/23
to Andrey Butirsky, ChromiumOS Development
but like, why ?  if you aren't physically at the Chromebox, you can't remote access it, and it's just going back to sleep.

we aren't shipping ethtool on release images, and off the top of my head, that's the normal way one would enable it.  short of making the ioctls/netlink calls directly of course.
-mike

Andrey Butirsky

unread,
Jun 23, 2023, 3:57:03 PM6/23/23
to Mike Frysinger, ChromiumOS Development

I use it with alternative Linux OS, so my question if it's supported from firmware/hardware side.

I tried to enable the feature but the device doesn't wake up.

I saw it was supposed to use it to pass push notifications from GCM so the feature was implemented on Chrome OS back in the days, not sure about current status.

Andrey Butirsky

unread,
Jun 29, 2023, 7:04:36 AM6/29/23
to ChromiumOS Development, Andrey Butirsky, ChromiumOS Development, Mike Frysinger
Anyone? I really need to sort it out.
If I would have better luck asking elsewhere, please advice me.

Luigi Semenzato

unread,
Jun 29, 2023, 1:00:27 PM6/29/23
to Andrey Butirsky, ChromiumOS Development, Mike Frysinger
Since you're using an alternative Linux OS, the question isn't really for this group.

In general, first I'd try to find out if the WiFi adapter for your device supports the feature.  Then you need to figure out if the adapter remains powered on during whatever sleep state you're planning to use (if it's S3, most likely it will stay on).  Then you'll have to configure the adapter---did you use something like "iw phy phy0 wowlan enable patterns <pattern>"?  That may be enough, but I don't remember what you need to do in the kernel, and you also need to deal with any power management daemon you're running (powerd in CrOS).

Andrey Butirsky

unread,
Jun 30, 2023, 8:07:11 AM6/30/23
to Luigi Semenzato, ChromiumOS Development, Mike Frysinger

Thank you for your answer Luigi, yes I know my question doesn't quite belong here but it might be my last chance as I can't get the information anywhere else.
Having that, it seems to be Chrome OS has a Android-like feature: "keep the WiFi on". Isn't it the same WoWLAN feature actually?

My hardware is original Asus Chromebox 3, so WiFi there apparently has the feature - I can say that as after I the feature ON in Network Manager, now I can see from router Web UI the adapter keeps connected even after S3 suspend. It didn't behave that way before.

I set it up in Network Manager as per this instruction and made sure wake up on Magic Packet  is enabled in the result:
https://discourse.ubuntu.com/t/wake-on-wlan/19938
$ sudo wireless-tools.iw phy phy0 wowlan show WoWLAN is enabled: * wake up on magic packe

Still I have no reaction from the system when I send the Magic Packet to it (I checked it with the packet sniffer it actually can reach the interface when the system is awake).

So now I'm quite lost and have these questions to you guys:

- if it physically supported on Chromeboxes?
- if it's supported and enabled by default in Coreboot firmware used in the Chromeboxes?

Andrey Butirsky

unread,
Jun 30, 2023, 11:57:59 AM6/30/23
to ChromiumOS Development, Andrey Butirsky, ChromiumOS Development, Mike Frysinger, Luigi Semenzato
Here is the evidence the WoWLAN feature is supposed to be supported many ears ago:

Luigi Semenzato

unread,
Jun 30, 2023, 12:19:23 PM6/30/23
to Andrey Butirsky, ChromiumOS Development, Mike Frysinger
Yes, I vaguely remember!  Unfortunately IIRC I didn't have a similar problem, it all worked as expected, so I don't know what the next step would be.  Offhand first I would first make sure that the adapter notion of magic packet matches what you're sending to it (it's programmable).  The next question is, how does the adapter get the CPU out of S3?  And will it stay out? If I knew that I forgot it, sorry.

Andrey Butirsky

unread,
Jun 30, 2023, 12:47:07 PM6/30/23
to ChromiumOS Development, Luigi Semenzato, ChromiumOS Development, Mike Frysinger, Andrey Butirsky
Thanks Luigi, that info alone gives a lot!
So it makes sense to try the feature on ChromeOS at least. For me it would mean rollback all the system which is quite invasive, so if anyone here has the chance to test it I would be very appreciated.

Unfortunately I also don't have access to the setup document from the conversation, which might shed light to the problem:

> Offhand first I would first make sure that the adapter notion of magic packet matches what you're sending to it (it's programmable).

You mean "iw phy phy0 wowlan enable patterns <pattern>" here? Because the magic packet itself is quite a standard thing as I can see it:
And this command should confirm adapter is set to wake up on it:
```
$ sudo wireless-tools.iw phy phy0 wowlan show 
WoWLAN is enabled: * wake up on magic packe
```

About the CPU wakeup question, I think it's described here:

Daisuke Nojiri

unread,
Jun 30, 2023, 2:27:27 PM6/30/23
to Andrey Butirsky, ChromiumOS Development, Luigi Semenzato, Mike Frysinger
- if it's supported and enabled by default in Coreboot firmware used in the Chromeboxes?
 
WLAN_WAKE is connected to GPP_C6/SML1CLK on Puff. So, at least this line doesn't look right to me.

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.

Andrey Butirsky

unread,
Jun 30, 2023, 2:56:29 PM6/30/23
to Daisuke Nojiri, ChromiumOS Development, Luigi Semenzato, Mike Frysinger

Oh, thank you!
But is it really Asus Chromebox 3 has "Puff" board name? I can't remember something like that..

Andrey Butirsky

unread,
Jun 30, 2023, 3:07:03 PM6/30/23
to Daisuke Nojiri, ChromiumOS Development, Luigi Semenzato, Mike Frysinger

According to this page, Asus Chromebox 3 (CN65) is TEEMO, no?
https://mrchromebox.tech/#devices


On 01.07.2023 01:27, Daisuke Nojiri wrote:

Daisuke Nojiri

unread,
Jun 30, 2023, 3:09:28 PM6/30/23
to Andrey Butirsky, ChromiumOS Development, Luigi Semenzato, Mike Frysinger
Yes, that's correct. Sorry about that.

Andrey Butirsky

unread,
Jun 30, 2023, 3:11:01 PM6/30/23
to Daisuke Nojiri, ChromiumOS Development, Luigi Semenzato, Mike Frysinger

It's OK, could you help me to check the WLAN_WAKE configuration for TEEMO, please?

Reply all
Reply to author
Forward
0 new messages