How to make a USB wireless adapter to support WoWLAN?

08
2014-07
  • demonguy

    I heard some rumors that none of the USB wireless adapters can support Wake on Wireless LAN because USB can't maintain the adapter's power when in sleep mode. Is that true?

    I don't know why but every time I sleep my computer, the USB ports still have power and I can charge my phone. How could it be impossible for a USB wireless adapter to support WoWLAN?

  • Answers
  • allquixotic

    The decision of whether or not to leave the USB port's power circuit enabled when the system is in ACPI S3 ("Sleep" / "Suspend to RAM") is left up to the motherboard BIOS/firmware. It may even have a BIOS option you can configure for this purpose, to enable/disable the USB power when the system is asleep or even turned off.

    However, there aren't any motherboard implementations, that I know of, that will keep the data part of the USB connection enabled while in S3 or powered off. When the CPU is suspended or off, it doesn't make sense to maintain the data link layer of the USB bus, because even if you sent a message through the bus, the CPU wouldn't be there on the other side to receive the message. But the CPU doesn't have to be on for a normal ethernet card to do Wake on LAN, either, so I did a bit of research into this....

    USB controllers are usually connected to the CPU using something like PCI or PCI Express. PCI and PCI-E support Power Management Events, which are essentially what is used by an on-motherboard NIC to tell the system that it's being woken up due to a WOL. In theory, if the USB controller were receiving standby power from the PCI(-E) bus, it could then decode a wake on LAN magic packet from a USB device, and translate that into a PCI(-E) PME, which would trigger the wake. So I believe that it is possible, in theory, at a hardware / system design level, to implement a motherboard and a USB Ethernet or WiFi chipset that would support this.

    I just don't know of any that do, off the top of my head.


  • Related Question

    Wireless Adapter Turns Off Under Vista
  • Jim Millen

    I'm encountering an odd problem with a new notebook we recently helped choose & buy for an elderly neighbour. The machine doesn't have a "hard" switch to turn the WiFi adapter on or off but you can toggle this using Fn+F11, and there's a status LED that turns on/off to indicate the adapter is on.

    The problem we are finding is that any time the machine is restarted/shutdown/put into sleep mode, the WiFi adapter will turn off. Pressing Fn+F11 will immediately turn it back on again once the machine has booted back up into Vista, but we'd rather this wasn't necessary.

    What I've already tried:

    • Going through all the settings for the network connection in Vista - nothing there about turning the adapter on/off.
    • I have checked the BIOS - no options for the wireless adapter there.
    • Power Configuration - I've told it to use "Maximum Performance" settings for the wireless.
    • I've examined the adapter's options in Device Manager - there's nothing there for power options.
    • When the adapter is turned "off", it does NOT show as disabled in Device Manager - so I'm guessing it is enabled, just powered down.

    I'm at a complete loss where else these settings might be! Clearly something is handling the Fn+F11 keypress, so it seems crazy that those settings aren't configurable to keep the adapter turned on somewhere...

    Few more pieces of information: the machine is from a local company called Novatech, and I think it's a Clevo notebook chassis. It's running Vista Home Premium, and the wireless adapter is a Realtek device - afraid I can't provide model numbers as I don't have it with me at the moment.

    Would greatly appreciate any tips or advice!


  • Related Answers
  • harrymc

    Some ideas:

    1. If you don't mind the wifi card staying on, uncheck "Allow the computer to turn off this device" in "Device Manager/$device$/ Properties/Power Management", where $device$ stands for keyboard and mouse.
      This will have a bad effect on battery life during sleep.
    2. Turn off Hybrid sleep, see explanation here. If you don't need it, this may have some negative effects regarding sleep (but read very well the explanation).
    3. Look in your BIOS for the suspend ACPI options and try to switch modes among "S1 and S3", "S3" etc. See explanation here.

    Note: Any of the above manipulations that doesn't help should be undone.

  • Pär Björklund

    You seem to have done most troubleshooting you can do on this issue.

    The only thing I can suggest is to check for newer drivers for the wlan adapter.

  • priyankpatel

    My brother was having the same problem on his dell laptop (vista home premium). Wifi connection on that was not consistent. You have to enable and disable wifi radio using some Fn key combination. Few seconds after that Windows was looking for wireless network and trying to connect. But didn't connect successfully to any wireless connection.

    • I connected second laptop on same network. So it wasn't wireless router issue.
    • I thought there might be some error while getting ip address dynamically. So I changed wireless connection > ip address v4 to be static from dynamic. But this didn't work.
    • At last, i thought of checking if this laptop had Windows Vista SP2. Guess what It didn't. I updated the machine on wired connection. After update, wireless started to work without any issue.

    Hope This helps.

  • Jim Millen

    Thanks for everyone's suggestions on this - I'm sure they would have been useful in the majority of cases!

    However, since my initial post we've been in touch with the manufacturer and much to my disgust this behaviour is inherent to the machine - there's no way at all to change it. Apparently this is to prevent interference when travelling by air with your laptop! I've never heard anything so ridiculous - it's not the manufacturer's responsibility to control this, it's the owners - but there you have it.

    I'm answering my own question here so people might find this - it's definitely worth checking before buying a new notebook! I'm still aghast some manufacturers are doing this but certainly won't be buying a machine with this "feature" again.