Add syscall mock
Refactor raspi to use new sysfs interfaces