g_keyboard_detach
static device_detach_t g_keyboard_detach;
DEVMETHOD(device_detach, g_keyboard_detach),
g_keyboard_detach(dev);