View Single Post
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#39
Now I looked at this problem... and proximity gpio-switch is for unknown reason disabled in kernel. I looked at diff between kp52 and kp53 and there is nothing which can disable gpio-switch. So problem must be somewhere in userspace. Maybe CSSU or U-Boot? Maybe other application?

This sysfs can enable or disable proximity gpio-switch:
$ cat /sys/devices/platform/gpio-switch/proximity/disable

And this command enable it (until reboot):
$ echo 0 > /sys/devices/platform/gpio-switch/proximity/disable
 

The Following 3 Users Say Thank You to pali For This Useful Post: