I probably missed it, but what ioctl file? Can you paste the relevant lines from strace?
It might well be another process that is responsible for putting the device into standby. Maybe a signal is being sent via an IPC (inter process communication) message. In fact, that would be a clean approach, and I hope that such an interface exist and that we can plug into it. From a perspective of a Kobo developer, I would want to keep the hardware details out of Nickel and implement standby logic in a platform dependent hardware abstraction layer. But such a thing or its interface would have to be found...
|