Thread
:
Sailfish OS on Moto G4 (plus)
View Single Post
elros34
2018-06-12 , 17:32
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#
4
I you have new enough sensorfw and you proximity driver support enabling via sysfs then you can try add similar lines to your
/etc/sensorfw/primaryuse.conf
Code:
[proximity] powerstate_path = /sys/module/ct406/parameters/prox_enable
There is also
unblank-restart-sensors
which restarts sensorfw when display wakes up. It cause brightness change so on photon q I use simple app which stop/start/stop QProximitySensor (sic!) instead and it works in 98% cases.
Quote & Reply
|
The Following 4 Users Say Thank You to elros34 For This Useful Post:
juiceme
,
Mara
,
mosen
,
nthn
elros34
View Public Profile
Send a private message to elros34
Find all posts by elros34