Closed Bug 857484 Opened 11 years ago Closed 11 years ago

Proximity sensor does not work on Ikura

Categories

(Firefox OS Graveyard :: General, defect, P1)

x86_64
Windows 7
defect

Tracking

(blocking-b2g:tef+, b2g18-v1.0.1 affected)

RESOLVED WORKSFORME
blocking-b2g tef+
Tracking Status
b2g18-v1.0.1 --- affected

People

(Reporter: dpalomino, Assigned: mchen)

References

Details

(Whiteboard: IOT, Spain, Chile, Ikura, [POVB], khepera_43259 [NPOTB])

Attachments

(1 file)

Tested on Ikura, during certification testing in Spain. 

Buildid "20130321070205". 

Proximity sensor does not work. Steps: 

1. Make a voice call
2. Block proximity sensor

Expected: screen switched off
Current: screen not switched off, but when blocking proximity sensor the brightness descreases

This is blocking for certification (adding dep). Nominating for tef+.
tef+, however, this is working in Buri devices. Alex, how can we distinguish this in order to stress this only happens in some devices, using NPTOB?
blocking-b2g: tef? → tef+
Flags: needinfo?(akeybl)
Hi, 

As this is a blocker for certification, changing prio to P1. 

Thks!
David
Priority: -- → P1
This seems to be very similar to bug 848597, not sure if it is a duplicate
See Also: → 848597
I think it is because the sensor works without calibration.
The proximity sensor need to calibrate first.
(In reply to songsy from comment #4)
> I think it is because the sensor works without calibration.
> The proximity sensor need to calibrate first.

And how should the sensor be calibrated? Do we need any changes in Gecko/Gaia for doing so?
Flags: needinfo?(song.shenyang)
Triaged on April 9th: Assigned to Marco.
Assignee: nobody → mchen
Does not sounds like a Gaia bug. Moving to General to reflect this.
Component: Gaia::Dialer → General
The issue is the same on inari. I tried to put calibration file from uangi to inari, then proximity sensor is working during in_call state.
Hi ShenYang,

If the testing image is provided by your side, then please help to update device with calibration file. Thanks.
Adding some colleagues in CC

ShenYang, please, give us the info requested
thanks
I have told Daniel Coloma how to calibrate the sensor. 
And this issue is also existing with successful calibration.
(In reply to Firefox_Mozilla from comment #11)
> I have told Daniel Coloma how to calibrate the sensor. 
> And this issue is also existing with successful calibration.

May I know more detail of calibration procedures?

I think calibration of proximity is not provided by Gaia or Gecko so I guess it needs to be done on Android version first then flashing to firefox OS. But after flashing, the calibration data is gone by new userdata.img.

I can fix this issue on inari by just pushing a calibration file into right place. Does inari use same component of prox with ikula?

Thanks.
Hi, Marco

I have send you a letter about the details, thanks.
Flags: needinfo?(akeybl)
Whiteboard: IOT, Spain, Ikura
Hi all,

I used 0410 images from partner's FTP site.
And this issue is not exist after I do the calibration. (of course that it is exist before I performed calibration).

Hi Daniel,

May I know your status on 0410 image? And could you see proximity sensor with true when you block the device on calibration screen? Thanks.
Flags: needinfo?(song.shenyang) → needinfo?(dcoloma)
it works with 0410 build. What should be the next steps to fix this bug?
Flags: needinfo?(dcoloma) → needinfo?(song.shenyang)
Issue reported in LatAm. Adding dep.
Hi all,

Since the issue is classified and verified already, could we close this bug? Or any issue there? Thanks.
Our engineers will do the calibration for every device before the device is put into market. 

And maybe these device are used for development, so they need user to calibrate by hand. 

Thanks
Whiteboard: IOT, Spain, Ikura → IOT, Spain, Ikura, [POVB]
Hi, 

Thanks for the update. 

Could you please provide more info about the calibration process? What do you mean with "will do the calibration for every device before the device is put into market"? Is this a manual process?

In any case, we'll need to have the devices that are currently being used for the certification in the same conditions as they will be after mass production.
Hi, Here is the process to calibrate proximity sensor

1) load the image to the device
2) start the Dialer app
3) Input "*983*0#" and press "send". The device should start zte engineering test app
4) Press "Down" and Select "Sensor"
5) Press "Calibrate" button to do prox sensor calibration
6) The device will show "Calibrate OK", when the calibration is complete.
7) Then you can test the sensor.
     block the sensor, the screen will show "Proximity:true"
     unblock  the sensor, the screen will show "Proximity:false"
8) Press "Back", "Quit" to quit this app, and check whether the sensor can work in voice call.
Whiteboard: IOT, Spain, Ikura, [POVB] → IOT, Spain, Chile, Ikura, [POVB]
Attached file Logcat of STR
Whiteboard: IOT, Spain, Chile, Ikura, [POVB] → IOT, Spain, Chile, Ikura, [POVB], khepera_43259
Does this problem still happen after sensor calibration? Thanks
After callibration is done, my sample works fine.

(In reply to David Palomino [:dpv] from comment #19)
> What do
> you mean with "will do the calibration for every device before the device is
> put into market"? Is this a manual process?
> 

Hi David. Callibration for every sample (not sure if it's done manually or automatically) is part of our usual mass production process.

BR
Flags: needinfo?(song.shenyang)
Just help to add needinfo for comment 23. Thanks.
Flags: needinfo?(dpv)
Whiteboard: IOT, Spain, Chile, Ikura, [POVB], khepera_43259 → IOT, Spain, Chile, Ikura, [POVB], khepera_43259 [NPOTB]
When device is calibrated, everything works properly. Vendor confirm they will do the calibration before device distribution, so we can close this as RESOLVED/FIXED.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Cancel the needinfo flag, because partner already answer it on comment 25.
Flags: needinfo?(dpv)
To change status to WORKSFORME, because there is no any patch needed to land. And this bug is related to calebration process by our partner. After clarification, partner garantee calebration will be a regular process on their mass production line.
Resolution: FIXED → WORKSFORME
Inari Build: 20130426070207
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/54285d67454b
Gaia   c47ef39de04e634d847cc86b6acc616fabce69eb
Kernel:  Feb 21st

From what I understand it appears that there is not going to be a fix for this on our end, However i will just add my comments anyway because I have something i noticed when trying to work on this bug.

I'm unable to test with a Ikura device, but In the Inari build above,the proximity censor for the phone never triggers while I make a call and am in the dialer app. 

Something interesting I noticed however. Whenever I would pull the phone away from my ear while in the dialer app and trying to make a call, the contact between the touchscreen and my ear would cause the notification screen to drop down. So when I would look to see if the proximity censor worked and the screen would go dark, instead I would see that the notification screen would be on screen now. I doubt this would happen if the proximity censor was working properly.

a. Is this going to be null once the vendors calibrate the sensor? 
b. Any point in filing a bug on this undesired behavior? 
Def don't want to see the notification drop down when making a call.
> a. Is this going to be null once the vendors calibrate the sensor? 
> b. Any point in filing a bug on this undesired behavior? 

If proximity sensor is calibrated well then screen will be turn off and touch disabled in your test case. So that will not be a issue when p-sensor works well.
I get a USSD Error when trying to calibrate my device.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: