how to restart USB?

Sometimes USB devices (like my keyboard and mouse) stop working while I’m away from my opensuse 11.2 PC. A reboot fixes it, but can I just restart the USB devices (physical unplug and replug doesn’t work). Googling hasn’t given me the answer to what must be an easy one. Thanks

It might be worth having a look in /var/log/Xorg.0.log and /var/log/messages for any errors that may be occurring.

Not a common problem, but I did find this thread detailing a similar type of problem FWIW.

I guess you could try restarting HAL. Remove the usb devices, type

rchal restart

then plug the affected devices back in again.

Okay, thanks, I’ll give that a go the next time it happens.

How do you restart USB hardware when hal is not used any more in later version of Suse?

How do you restart USB hardware when hal is not used any more in later version of Suse?

Udev acts as a dynamic user space device manager, and interacts with the kernel (via uevent), loading and loading modules as required. (It uses udev rules to determine the action taken). Although, the udev daemon can be restarted, this will not cause usb connected devices to be re-detected. If you’re trying to hard reset a usb device, you’ll need to physically remove and reconnect it.