WakeOnUSB

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
JojoS

WakeOnUSB

Post by JojoS » Thu Feb 28, 2008 4:54 pm

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?

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Thu Feb 28, 2008 11:07 pm

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.

Post Reply