Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,086 Members 54,337 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Proximity sensor

Tip us?
 
ftgg99
Old
#1  
Account currently disabled - OP
Thanks Meter 2044
Posts: 7,047
Join Date: Mar 2010
Default [Q] Proximity sensor

Hey guys. I have looked around and can find no info on some of the tabs sensors. From what i understand the chipset is straight out of the galaxy s phones, which is the reason i see the existence of a proximity sensor but dont see any data from it.

Anyone have a clue whether it actually exists?
 
triplex76
Old
#2  
Senior Member
Thanks Meter 53
Posts: 309
Join Date: May 2008
chipset and sensors are different things....even if the chipset supports a certain type of sensor doesn't mean it should be there if there is no need to be there.
galaxy tab doesn't need a proxy sensor cause you are not going to put it beside your face when calling...
 
lambstone
Old
#3  
lambstone's Avatar
Senior Member
Thanks Meter 220
Posts: 1,328
Join Date: Mar 2008

 
DONATE TO ME
Quote:
Originally Posted by triplex76 View Post
chipset and sensors are different things....even if the chipset supports a certain type of sensor doesn't mean it should be there if there is no need to be there.
galaxy tab doesn't need a proxy sensor cause you are not going to put it beside your face when calling...
Doesn't need and doesn't have are different things. Point is, if it was stated that the tab has a proximity sensor, where is it?
 
TheGrammarFreak
Old
#4  
TheGrammarFreak's Avatar
Senior Member
Thanks Meter 684
Posts: 2,805
Join Date: Jul 2010
I'm pretty sure it has one, in the unofficial CM build Technomancer says he fakes i at 10CM
Nexus 4: CM10.2
Nexus 7: CM10.2

Twitter | Blog
 
Technomancer
Old
#5  
Technomancer's Avatar
Retired Recognized Developer
Thanks Meter 423
Posts: 557
Join Date: Feb 2010
Location: SF Bay Area
There is no proximity sensor in Galaxy Tab.
My CM7 sensors driver pretends there is one and reports 10CM distance so the Phone app behaves better.
The Following 2 Users Say Thank You to Technomancer For This Useful Post: [ Click to Expand ]
 
ftgg99
Old
#6  
Account currently disabled - OP
Thanks Meter 2044
Posts: 7,047
Join Date: Mar 2010
Thanks mate, that's what you said in the last thread back in October, but why do all the sensor pingers see it? Are they checking code rather than hardware?

Also, is there a working, sensitive light meter anywhere for the tabs ambient light sensor? The couple I've tried refuse to work...
 
Technomancer
Old
#7  
Technomancer's Avatar
Retired Recognized Developer
Thanks Meter 423
Posts: 557
Join Date: Feb 2010
Location: SF Bay Area
There is working light sensor in the Tab. Both my CM7 and Samsung ROMs support it just fine. It has range from 0 to 6000 Lux snapped to one of several levels in the kernel driver. You can actually read it from sys interface.

The proximity sensor in my CM7 sensors driver is just software reporting constant 10cm to the system. The sensors test apps in my CM7 (I uses Sensor Test and Plot http://www.appbrain.com/app/sensor-t...oid.SensorTest) just reports 10cm from my fake sensor.

I think there is some leftover code in Samsungs sensors driver that may report presence of proximity sensor.
 
ftgg99
Old
#8  
Account currently disabled - OP
Thanks Meter 2044
Posts: 7,047
Join Date: Mar 2010
Yep, i use it as well, but my issue is with the three avaliable states the driver seems to report.

I get 5, 22 and 75. Are there only three levels then? And no way to modify them outside the kernel?
 
Technomancer
Old
#9  
Technomancer's Avatar
Retired Recognized Developer
Thanks Meter 423
Posts: 557
Join Date: Feb 2010
Location: SF Bay Area
I can get up to 6000lux using strong LED flashlight directly on the sensor.
There is another sys device that can read unprocessed data that has values not snapped to 5,22,75 etc... but Samsung's driver uses the snapped device (and so is mine).
 
ftgg99
Old
#10  
Account currently disabled - OP
Thanks Meter 2044
Posts: 7,047
Join Date: Mar 2010
This is very annoying... im trying to make an app that needs a proximity sensor to work as intended so the light sensor as well as the sleep mode implementation are really no substitute.

In any case, im sure it will be quite usefull for all tablet owners running 2.2 and up and using a case. I will have a closed beta for xda members by the end of the day, so people can test it over the weekend.

Would you like a shot, mancer?

Tags
galaxy tab, proximity, sensor, sensors
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more

Android 4.4.3 Begins Rolling Out to European HTC One M8

Shortly after the USA Unlocked and Developer Editions of the HTC One M8 received the … more

Modernize Your Emails with Email Popup

SMS andHangouts messages likely won’t ever replace traditional Emails for more formal … more

Change Your Toast Notification Style with XToast

Android uses multipletypes of notifications. One of these isknown as a toast notification. … more