xen0n / android_device_meizu_arale

Device tree for Meizu MX4 (common part + Ubuntu Edition)
34 stars 28 forks source link

phone automatically locks when making a call #7

Closed Blatteman closed 8 years ago

Blatteman commented 8 years ago

When making a call, the phone locks automatically and it is impossible to hang up, the only way is to turn off the phone.

xen0n commented 8 years ago

Hi, this is known and is caused by incorrect initialization of proximity sensor. Actual fix is pretty hard and I'm working on this right now, but don't expect anything soon; the fix will be done as it's extremely annoying for me too. BTW you can enable the setting "hang up by power button" in the meanwhile, although you still cannot access the dialpad while making a call this way.

Blatteman commented 8 years ago

Thanks for the hint !

Le 13 octobre 2015 10:19:04 GMT+02:00, Wang Xuerui notifications@github.com a écrit :

Hi, this is known and is caused by incorrect initialization of proximity sensor. Actual fix is pretty hard and I'm working on this right now, but don't expect anything soon; the fix will be done as it's extremely annoying for me too. BTW you can enable the setting "hang up by power button" in the meanwhile, although you still cannot access the dialpad while making a call this way.


Reply to this email directly or view it on GitHub: https://github.com/xen0n/android_device_meizu_arale/issues/7#issuecomment-147642989

Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.

xen0n commented 8 years ago

Fsck yeah, I echoed the incorrect (drifted by ~150, which really should be 0) reading from /sys/class/meizu/ps/ps_data into the appropriately named ps_calibration file, in despair, and it magically worked... Release scheduled in ~3 days. And I'm closing this as "fixed", as no elegant solution is possible because the kernel side of this differs from the released Ubuntu Edition's kernel source.