View Single Post
Old 01-20-2023, 01:30 PM   #933
akadaedalus
Enthusiast
akadaedalus began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Jun 2008
Device: Sony PRS-500
Quote:
Originally Posted by NiLuJe View Post
@akadaedalus: That unfortunately depends on the device, and this only affects powering up/down the chip, which is only less than half the battle (and apparently, doing it wrong breaks Nickel's own handling of it, c.f., https://github.com/koreader/koreader...r.sh#L192-L206 which successfully kills it, but apparently kills it for good ).

EDIT: There's a /bin/ioctl binary on Kobo FW, but I have no idea of its provenance and whether it deals sanely w/ by-reference vs. by-value ioctl shenanigans...
If you think it's non-trivial, and I had suspected that it would be device dependent, I guess I'm not going to be able to come up with an elegant solution. I guess it will have to wait until I have more time to beat my head against the wall.

I looked at the ioctl binary and was stymied by the arguments which didn't really match other examples I found. I think you have to pass data to STDIN.

Thanks for the tips!
akadaedalus is offline   Reply With Quote