Filled in the general device set up and kernel function call