> When a device wakes up, what about the cpu , is it still on idle with cpuidle ? > for example how a mouse move trigger the screen to wake up ? > This is a case of system suspend/resume. Your mouse is a wake-up device. It is configured to send wakeup interrupts. It would wake up the cpu first and then the cpu wakes up all the devices.