Page 49 of 55

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 07 Jan 2015, 03:51
by devilsdouble
I have two queries.

First, what is this Power Suspend Mode option under Miscellaneous? In case I don't want any suspend mode, what option shall I use? Userspace and then turn it off? Also I am unsure what's this Dynamic File Sync option is too!

Secondly, could I select 2100 mA for AC Charge Current value? I am using the stock Note 3 charger.

Thanks in advance.

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 07 Jan 2015, 07:42
by yank555
devilsdouble wrote:I have two queries.

First, what is this Power Suspend Mode option under Miscellaneous? In case I don't want any suspend mode, what option shall I use? Userspace and then turn it off? Also I am unsure what's this Dynamic File Sync option is too!

Secondly, could I select 2100 mA for AC Charge Current value? I am using the stock Note 3 charger.

Thanks in advance.


Simply put, Powersuspend is an in-kernel helper which in-kernel stuff uses to know whether the screen is currently on or off. There are 3 ways to 'detect' this screen on/off state :

- display panel driver
- autosleep driver
- userspace (= fauxclock app)

And there is hybrid mode, which is display panel and autosleep at the same time, first wins.

This is used by dynamic fsync, intelliplug, cpu hardlimit (for example to switch to/from screen off/on min/max...), touchwake etc.

Believe me, you don't WANT to have that off !! ;)

Dynamic fsync is a driver which, while the screen is on, allows apps to go on without waiting for the filesystem to actually finish writing to 'disk' (internal memory, internal/external SD), which makes apps 'faster', as soon as the screen is off, this is disabled. There is a super tiny risk of filesystem corruption when this is on, but only when a hard crash or battery pull happens, while the screen is on, I have never had this disable since faux coded it, on i9300, n9005, hammerhead... Never had a single problem !

You could up to 2100, unlikely it will change anything, 1800 is the stock value, which already allows for 2100 bursts, while 2100 will just try to pull 2100 all the time, and your charger would have to give constant 2100mA/h which stock charger probably doesn't anyway.

Fastcharge is mostly interesting for USB.

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.0.2 LRX22G on Yank555.lu v0.43 kernel.

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 07 Jan 2015, 19:30
by devilsdouble
Okay thanks mate. I more or less understand. The reason why I asked about Powersuspend mode (or any power saving feature) is lately I am noticing a problem. You see I download a lot from the device, and yesterday, or for past few days rather I am noticing that whenever the display goes off download speed decreases/falls. As soon as I turn the display back on it goes back to normal. I don't know if kernel has anything do with it or not, but just thought about making sure, I just want all the power saving related features off, that's all.

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 07 Jan 2015, 20:03
by yank555
This where most users misunderstand this :

devilsdouble wrote:Powersuspend mode (or any power saving feature)


Powersuspend as itself is not a power saving feature, it's just a messenger telling whatever mod in the kernel wants to know when the screen turns on or off, that's all.

devilsdouble wrote:I am noticing that whenever the display goes off download speed decreases/falls. As soon as I turn the display back on it goes back to normal. I don't know if kernel has anything do with it or not, but just thought about making sure, I just want all the power saving related features off, that's all.


That is absolutely normal, since most devices will either shut down or go to a low power mode (slower obviously) whenever the device enters deepsleep, it's not powersuspend related. You'd need to impeed deepsleep by setting a wakelock, some apps do it...

JP.

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 07 Jan 2015, 20:27
by devilsdouble
yank555 wrote:This where most users misunderstand this :

devilsdouble wrote:Powersuspend mode (or any power saving feature)


Powersuspend as itself is not a power saving feature, it's just a messenger telling whatever mod in the kernel wants to know when the screen turns on or off, that's all.

devilsdouble wrote:I am noticing that whenever the display goes off download speed decreases/falls. As soon as I turn the display back on it goes back to normal. I don't know if kernel has anything do with it or not, but just thought about making sure, I just want all the power saving related features off, that's all.


That is absolutely normal, since most devices will either shut down or go to a low power mode (slower obviously) whenever the device enters deepsleep, it's not powersuspend related. You'd need to impeed deepsleep by setting a wakelock, some apps do it...

JP.

Oh okay, thanks again. Could you kindly mention the name of that app. I would really appreciate it.

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 07 Jan 2015, 21:28
by yank555
devilsdouble wrote:Oh okay, thanks again. Could you kindly mention the name of that app. I would really appreciate it.


That was a generic statement, two I use and want to work during screen off are samba and ssh-server, both have an option to set a wakelock.

You need to check if for what you're doing there is an app that has such an option...

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.0.2 LRX22G on Yank555.lu v0.43 kernel.

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 09 Jan 2015, 04:29
by devilsdouble
yank555 wrote:
devilsdouble wrote:Oh okay, thanks again. Could you kindly mention the name of that app. I would really appreciate it.


That was a generic statement, two I use and want to work during screen off are samba and ssh-server, both have an option to set a wakelock.

You need to check if for what you're doing there is an app that has such an option...

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.0.2 LRX22G on Yank555.lu v0.43 kernel.

Thanks, just given a look to ssh-server on Play, that app is over my head, still will try it, thanks.

Oh one more thing, what's the difference between Custom and Force AC? I use Custom, and I charge via USB 2.0 (value set at 1 Amp), cause the USB 3.0 is at rear side of the cabby and its too far from me :p

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 09 Jan 2015, 08:17
by yank555
devilsdouble wrote:Oh one more thing, what's the difference between Custom and Force AC? I use Custom, and I charge via USB 2.0 (value set at 1 Amp), cause the USB 3.0 is at rear side of the cabby and its too far from me :p


Custom = you set your custom value.

Force AC = use 1000mAh, period (that's the base forced fast charge implementation years back)

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.0.2 LRX22G on Yank555.lu v0.43 kernel.

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 21 Jan 2015, 00:16
by devilsdouble
Hey mate is Tap2Wake/Touch2Wake implemented on this kernel?

Re: [n9005][2014/DEC/01][TWKK] faux123/Yank555.lu kernel 002

PostPosted: 21 Jan 2015, 07:43
by yank555
devilsdouble wrote:Hey mate is Tap2Wake/Touch2Wake implemented on this kernel?


Yep, since forever ;)

Touchwake, NOT dt2w, though !

JP.

Sent from my Nexus 6 running Yank555.lu SlimLP 5.0.2 LRX22G on Yank555.lu v0.5 kernel.