More device-depend functions.