what happens if you just comment the ioctl calls?
(I know that the pin manipulation wont work)
Does it crash then too?