Quote:
Originally Posted by arasyi
Is it possible to increase the sleep and power-off timeouts to 1 day?
I have tried changing the value in libnickel.so.1.0.0.patch but I got the error that replace_int only accepts values between 0 and 255.
|
The code that the `Custom Sleep/Power-off timeouts` patch changes can only use values from 0-255. Although the register used to hold the timeout value is 32-bit and can hold much larger values, the code uses a 16-bit 'thumb' instruction to load the register, and there isn't room to use a wider instruction in the patch. It could be that the timeout function can accept larger values, but there is no way to load those larger values without re-writing the code.