@cinnamon oh! if this is linux, you can watch journalctl -f, and if it's windows, you can check the event viewer for "system events" to get a hint about what it might be
if that doesn't give you anything useful and you're cool with installing something, this might be able to help if it's usb: http://www.nirsoft.net/utils/usb_log_view.html