Does this work in kernel mode too? I'm writing a kernel module which has to interact with arduino board..