Program sleep and wakeup for a minix device

Perhaps have a look here?