I've an external USB keyboard and mouse connected via. a hub to my laptop. I occasionally suspend/resume the machine. Sometimes, after resuming from suspend, the keyboard and mouse aren't recognized. It's as if the port has gone dead - it wouldn't recognize any device even if I plug them out and back in. The only way out is to reboot the machine.
I tried to use https://github.com/jkulesza/usbreset in the hope to "reset" the hub, but it gives me the error "Error in ioctl: Is a directory" despite passing it the character special file (in my case, it's /dev/bus/usb/005/001, which is the hub through which I've connected the keyboard and mouse), so haven't been able to get it to work.
Any other way to sort this out?
Thanks.
USB keyboard/mouse not detected after resume
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
USB keyboard/mouse not detected after resume
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.