View Single Post
Old 10-22-2014, 01:49 AM   #1827
mementomori
Enthusiast
mementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavensmementomori is a rising star in the heavens
 
Posts: 30
Karma: 13854
Join Date: Oct 2014
Device: Kobo Aura H20, Nook Simple Touch with Glowlight
Quote:
Originally Posted by hawhill View Post
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...
these lines:

open("/dev/ntx_io", O_RDWR) = 24
ioctl(24, 0xf1, 0x5) = 0
close(24) = 0

there are many of them.
mementomori is offline   Reply With Quote