View Single Post
Old 05-21-2016, 09:12 PM   #27
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by NiLuJe View Post
@Lucas Malor: It wouldn't appear so.

Code:
┌─(ROOT@(none):pts/0)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(/)─┐
└─(0.33:31%:19:33:96%:#)── strings /usr/local/Kobo/libnickel.so.1.0.0 | grep -e halt -e shutdown -e poweroff                                                                                                                                                ──(Sat, May 21)─┘
_ZN11EventEngine8shutdownEv
_ZN11EventEngine12shutdownSlotEv
shutdownSlot
shutdownSlot
And we have no actual way of knowing if nickel actually gets killed "cleanly" on a long-press anyway, that's an assumption I'm not willing to take for granted.
Depends on how long the press is. Tap to sleep, hold for a few seconds will initiate a shutdown and nickel will close cleanly. Hold it longer, I usually say 20 seconds but it should be shorter, and it just powers off.

It hasn't been mentioned, but have you enabled the nickel logging? I have the following in my config file:

Code:
[DeveloperSettings]
EnableDebugServices=true
EnablePacketDump=true
DebugPM=true
EnableInspector=true
"EnableDebugServices" enables a general log for nickel and writes to a syslog in the users .kobo directory. "DebugPM" enables more debugging writing to dmesg. The "PM" stands for "Power Management".

Edit: I should just add for anyone who sees this and thinks it's a good idea to add these lines. The debug services also enables a telnet service. This tends to block the WiFi from turning off and the device from automatically sleeping. And that runs the battery down a lot faster. I only use these options when I am debugging something.

Last edited by davidfor; 05-21-2016 at 09:18 PM.
davidfor is offline   Reply With Quote