View Single Post
Old 07-01-2023, 12:21 PM   #1
yt587
Junior Member
yt587 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: Kindle Paperwhite 3
Lightbulb Mag sensor (front cover) closed event

Hi there. I've got a PW3 with USBNetwork Hack installed. I am wondering if I can modify some docs/codes so that the mag sensor will stop triggering the screensaver?

The problem is that there is something wrong with my mg sensor, and the device goes to Screensaver even if there is no cover, i.e. it is naked. I cannot wake it up unless I press hard with my thumb on the bottom-right of the device, and its lights are on and last only for 3-4 seconds and then it goes to screensaver again. Pressing power button is not working. That's why I want to turn the mag sensor off and unlink it with the screensaver triggering event. I think there might be some configiure docs, but I am a newbie with no specific knowledge on coding. Could anyone help? Many thanks!

Here is the message log from /var/log/messages:
Code:
230701:150304 powerd[2004]: I def:magclose-frontcover::Mag sensor (front cover) closed event
230701:150304 powerd[2004]: I def:metrics::prg_name=powerd,prg_source=active_handle_mag_sensor,name=GoingToScreensaverDueToMagSensorClose,value=1
230701:150304 powerd[2004]: I def:statech:prev=ACTIVE, next=SCREEN SAVER:State change: ACTIVE -> SCREEN SAVER
230701:150304 powerd[2004]: I def:metrics::prg_name=powerd,prg_source=state_active_exit,name=DeviceActiveDuration,value=5632
230701:150304 powerd[2004]: I lipc:evts:name=goingToScreenSaver, origin=com.lab126.powerd, fparam=4:Event sent
230701:150304 powerd[2004]: I def:powerd:low_temp_state:g_is_screensaver_drawn = (1)

Last edited by yt587; 07-01-2023 at 12:22 PM. Reason: typo
yt587 is offline   Reply With Quote