Page 1 of 1

WakeOnUSB

Posted: Thu Feb 28, 2008 4:54 pm
by JojoS
hello, is there a way to wake up a PC with an AVR-USB device? I want to build a remote control to wake up my PC via USB.
As an alternative, I could connect my device to a Fritzbox DSL modem and create a WakeOnLan paket. But therefore I need the usblib on the fritzbox, would this be possible?

Posted: Thu Feb 28, 2008 11:07 pm
by christian
When the PC is in sleep mode, you can wake it with an USB RESET status for a couple of CPU cycles. You could do this with:

Code: Select all

    usbDeviceDisconnect();
    for(i=0;i<10;i++);
    usbDeviceConnect();


If the PC is powered off, this won't help.