Quote:
Originally Posted by NiLuJe
@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!