Closed Bug 1163557 Opened 9 years ago Closed 7 years ago

[aries-l] camera does not work

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(tracking-b2g:+, b2g-master affected)

RESOLVED WONTFIX
tracking-b2g +
Tracking Status
b2g-master --- affected

People

(Reporter: seinlin, Assigned: gerard-majax)

References

Details

(Keywords: qablocker, regression, Whiteboard: [2.5-Daily-Testing][Spark] [aries-l-support])

Attachments

(1 obsolete file)

      No description provided.
Blocks: aries-l
This will work once Alin completes the needed kernel work :)
Whiteboard: [2.5-Daily-Testing][Spark] [aries-l-support]
[Blocking Requested - why for this release]:
This is needed for lollipop support of Aries device and fails smoke/sanity tests.
blocking-b2g: --- → 2.5?
QA Whiteboard: [QAnalyst-Triage+]
hayden, could you help on this?
blocking-b2g: 2.5? → 2.5+
Flags: needinfo?(hahuang)
Bobby, do you expect hayden to do Sony's work? Support on kernel side is not yet finished.
Flags: needinfo?(bchien)
Alexandre is right, Sony hasn't release necessary libraries and kernel support for camera to work on Aries-l.
Flags: needinfo?(hahuang)
Thanks for update, Hayden and Alex. Let's wait for Alin's response.
Flags: needinfo?(bchien)
FYI Alin is back from holidays and Camera is his top priority :)
Hey Hema?  Can you assign this to a dev to follow up with Alin please?
Flags: needinfo?(hkoka)
Alin is currently working on this with top priority.
Flags: needinfo?(hkoka)
Alin, any update on this?
(In reply to Hema Koka [:hema] from comment #10)
> Alin, any update on this?

There is ongoing work which is progressing:
 - https://github.com/sonyxperiadev/kernel/commits/aosp/AU_LINUX_ANDROID_LA.BF64.1.2.1_RB1.05.00.02.019.067
 - https://github.com/sonyxperiadev/device-sony-shinano/commits/l-mr1
2.5 won't use L.
blocking-b2g: 2.5+ → -
tracking-b2g: --- → +
remove from smoketest blockers due to not support with L
Keywords: smoketest
I believe we're switching over to L as soon as possible because our vendor doesn't support kk, they support L?  We need to do some L testing to ensure that we don't have L bugs.
ni ken for Aries-L porting in further release.
blocking-b2g: - → ---
Flags: needinfo?(kchang)
camera related blob has not been released yet.
Munro is following up this bug.
Flags: needinfo?(kchang)
Assignee: nobody → mchiang
Priority: -- → P1
Depends on: 1226158
Depends on: 1236535
Depends on: 1236536
Added bug 1236535 and bug 1236536 to land what we can already land. This will leave the only moving piece for that to be the kernel, thus lowering the barrier to testers
Michael, can you have a look at the reviews for bug 1236535 and bug 1236536? Thanks!
Flags: needinfo?(mwu)
Flags: needinfo?(mwu)
Depends on: 1239679
FYI, current builds just need a different kernel. Branch can be found at: https://github.com/lissyx/codeaurora_kernel_msm/commits/sony_v1.1-rb1.27_camera_20160113
Assignee: mchiang → lissyx+mozillians
Attached file PR for gonk-misc master (obsolete) —
Attachment #8708324 - Attachment is obsolete: true
Depends on: 1240110
Depends on: 1243648
Everything should be in tree now to support the experimental camera driver from Sony AOSP. It might be possible there are stil bugs. For example, you might need to disable front camera this way otherwise it might crash mm-qcamera-daemon:

diff --git a/dom/camera/GonkCameraManager.cpp b/dom/camera/GonkCameraManager.cpp
index bd74870..4e75dfc 100644
--- a/dom/camera/GonkCameraManager.cpp
+++ b/dom/camera/GonkCameraManager.cpp
@@ -75,7 +75,7 @@ ICameraControl::GetCameraName(uint32_t aDeviceNum, nsCString& aDeviceName)
 nsresult
 ICameraControl::GetListOfCameras(nsTArray<nsString>& aList)
 {
-  int32_t count = android::Camera::getNumberOfCameras();
+  int32_t count = 1; // android::Camera::getNumberOfCameras();
   DOM_CAMERA_LOGI("getListOfCameras : getNumberOfCameras() returned %d\n", count);
   if (count <= 0) {
     aList.Clear();
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: