Search found 2 matches

by kalidomra
Fri Sep 04, 2015 5:44 pm
Forum: V-USB
Topic: Wakeup the system
Replies: 22
Views: 26386

Re: Wakeup the system

Not sure if this is the right way or to add a user configurable variable to the config file and check it here with a pre-processor. Either way this works. The Power Management tab shows up in the windows device setting now.
by kalidomra
Thu Sep 03, 2015 11:11 pm
Forum: V-USB
Topic: Wakeup the system
Replies: 22
Views: 26386

Re: Wakeup the system

This is a little old but I think V-USB is missing the USBATTR_REMOTEWAKE bit. Would it be correct to add it here in usbdrv.c: #if USB_CFG_IS_SELF_POWERED (1 << 7) | USBATTR_SELFPOWER | USBATTR_REMOTEWAKE, /* attributes */ #else (1 << 7)|USBATTR_REMOTEWAKE, /* attributes */ #endif