If a usb keyboard is detached, check if the intrpipe is still active. Console keyboard will still be active and must be shut down for successful detach. This change and previous change to wskbd.c both from NetBSD. Tested by miod@ and myself.
If a usb keyboard is detached, check if the intrpipe is still active.
Console keyboard will still be active and must be shut down for successful
detach. This change and previous change to wskbd.c both from NetBSD.
Tested by miod@ and myself.

Hot plug/unplug on USB console keyboard now works on macppc.
(this and wskbd.c may be errata candidates).

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars