Hi Jompra,
Welcome to Microsoft Community.
I'm Hahn and I'm here to help you with your concern.
Yes, it looks like the information you obtained from powercfg -lastwake is indicating that the USB Composite Device with the Instance Path USB\VID_046D&PID_C517\6&24d8e55e&0&2 was the last device that caused your PC to wake up.
Regarding your question about finding out what time the wakeup occurred, you can use the Event Viewer to check the system logs for power events. Here's how you can do it:
- Press
Win + X and select "Event Viewer" from the menu.
- In the Event Viewer, navigate to "Windows Logs" > "System."
- Look for events with the source named "Kernel-Power." You can filter the logs by clicking on "Filter Current Log..." in the right-hand panel and selecting "Kernel-Power" as the event source.
- Look for events with an Event ID of 1, which indicates a system startup or wake event.
- Check the "General" tab of the event to find the timestamp and details about the wakeup event.
This should provide you with information about the time the last wakeup occurred.
You can try to disable the wake feature for your keyboard by following these steps:
- Press Win+X on your keyboard and select Device Manager.
- Expand Keyboards and right-click on your USB keyboard.
- Click on Properties and go to the Power Management tab.
- Uncheck the box saying Allow this device to wake the computer.
- Click OK and close the Device Manager.
This should prevent your keyboard from waking up your PC from sleep mode. If you have other USB devices connected to your PC, you may also want to disable the wake feature for them as well.
If the issue persists and you suspect the USB keyboard is causing the problem, you may want to try a different USB port or even a different keyboard to see if the behavior continues. Additionally, make sure your keyboard drivers are up-to-date.
Safe mode starts Windows in a basic state, using a limited set of files and drivers. If a problem doesn't happen in safe mode, this means that default settings and basic device drivers aren't causing the issue. Observing Windows in safe mode enables you to narrow down the source of a problem, and can help you troubleshoot problems on your PC. Start your PC in safe mode in Windows - Microsoft Support
I hope this helps. If there is anything not clear, please do not hesitate to let me know.
Your Sincerely
Hahn - MSFT | Microsoft Community Support Specialist