Page 1 of 1

USB keyboard/mouse not detected after resume

Posted: Sun Aug 19, 2018 7:16 am
by jeenuv
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 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?