Thread
:
A way to disable proximity sensor when talking?
View Single Post
hopbeat
2010-01-10 , 11:20
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#
2
You can try to set no read permissions on the proximity file
Code:
/sys/devices/platform/gpio-switch/proximity/state
afaik phone app is using this way to get the proximity state.
[EDIT] Forget it, sysf doesn't like permissions.
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!
Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello
,
Tu zaczynają nowi użytkownicy | New users start here
,
Podforum społeczności | Community subforum
,
Wiki dla początkujących | Beginners' wiki page
,
Maemo5 101
,
Często zadawane pytania | Frequently Asked Questions (FAQ)
,
Google
Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!
Bored?
Follow me
Last edited by hopbeat; 2010-01-10 at
11:26
.
Quote & Reply
|
hopbeat
View Public Profile
Send a private message to hopbeat
Find all posts by hopbeat