while true; do cat /sys/devices/platform/gpio-switch/proximity/state; done
I have the opposite issue of the screen goes black while making a call.
thats the response i get:
/home/developer $ cat: can't open '/sys/devices/platform/gpio-switch/proximity/state': No such file
or directory
> cat: can't open '/sys/devices/platform/gpio-switch/proximity/state': No such file or directory
-sh: cat:: not found
/home/developer $ cat: can't open '/sys/devices/platform/gpio-switch/proximity/state': No such file
or directory
>
/home/developer $ cat: can't open '/sys/devices/platform/gpio-switch/proximity/state': No such file
or directory
> cat: can't open '/sys/devices/platform/gpio-switch/proximity/state': No such file or directory
-sh: cat:: not found
/home/developer $ cat: can't open '/sys/devices/platform/gpio-switch/proximity/state': No such file
or directory
>