Camera App does not work on ICS

Bug #900714 reported by Abhishek Paliwal on 2011-12-06
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
IglooCommunity
High
Unassigned
Linaro Android
Won't Fix
Medium
Unassigned
linaro-landing-team-arm
Won't Fix
Wishlist
Unassigned

Bug Description

Description:
==========
Using
https://android-build.linaro.org/builds/~linaro-android/staging-imx53-11.12-release/#build=2

Open Camera App(with USB camera connected)
- Error message thrown -"Unfortunately, Camera has stopped"

Reproducible:
===========
Yes, 5/5 time

IMPACT:
========
Can't use camera on ICS

Hardware:
==========
8GB SD card

Software:
==========
https://android-build.linaro.org/builds/~linaro-android/staging-imx53-11.12-release/#build=2

Logs:
======
Logcat and dmesg attached.

Changed in linaro-landing-team-arm:
importance: Undecided → Medium
status: New → Confirmed
Anmar Oueja (anmar) on 2012-01-05
no longer affects: linaro-landing-team-ste
Zach Pfeffer (pfefferz) on 2012-01-30
Changed in linaro-android:
importance: Medium → High
assignee: nobody → vishal (vishalbhoj)
milestone: none → 12.02
vishal (vishalbhoj) on 2012-02-20
Changed in linaro-android:
status: New → Fix Committed
status: Fix Committed → In Progress
Tony Mansson (tony-mansson) wrote :

Bug still present in https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob-12.02-release/#build=1

Please note that the Camera app fails in exactly the same way as the Messaging app and the Music app:

E/AudioFlinger( 1414): createTrack_l() Bad parameter: sampleRate 44100 format 1, channelMask 0x00000001 "for output 0xff28 with format 1
E/AudioTrack( 1564): AudioFlinger could not create track, status: -22
E/SoundPool( 1564): Error creating AudioTrack

vishal (vishalbhoj) wrote :

Camera preview and capture is working on pandaboard. Recording is still not implemented . Camera preview and capture is failing on other boards. This needs to be analysed. Moving the bug to 12.03

Changed in linaro-android:
milestone: 12.02 → 12.03
Zach Pfeffer (pfefferz) on 2012-02-27
Changed in linaro-android:
assignee: vishal (vishalbhoj) → nobody
Zach Pfeffer (pfefferz) on 2012-02-28
Changed in linaro-android:
assignee: nobody → Chengjie HE (chengjie-he)
importance: High → Medium
tags: added: multimedia
Changed in igloocommunity:
importance: Undecided → Medium
assignee: nobody → Thomas Espersson (espersson)
Zach Pfeffer (pfefferz) on 2012-03-28
Changed in linaro-android:
milestone: 12.03 → 12.04

Will the solution produced be generically applied on all vendor tracks? Or is there any additional actions required to have this working on Snowball?

Changed in igloocommunity:
importance: Medium → High
Anmar Oueja (anmar) wrote :

A normal speed camera is known to work with Snowball. Can you please provide the model number of the camera to compare with what was tested.

Botao (botao-sun) wrote :

For iMX53, observed on:

https://android-build.linaro.org/builds/~linaro-android/imx53-ics-gcc46-freescalelt-stable-open-12.04-release/#build=3

After plugged in the camera, it can be recognized, but after launched the "Camera" app, there is a pop up window showed:

Unfortunately, Camera has stopped.

root@android:/ # [ 2653.470471] imx-ipuv3 imx-ipuv3.0: Channel already disabled 9
[ 2653.470504] imx-ipuv3 imx-ipuv3.0: Channel already uninitialized 9
[ 3125.777872] usb 2-1: USB disconnect, device number 99
[ 3133.943815] usb 2-1: new high speed USB device number 100 using fsl-ehci
[ 3134.244190] usb 2-1: New USB device found, idVendor=0ac8, idProduct=3340
[ 3134.250908] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3134.258184] usb 2-1: Product: Sirius USB2.0 Camera
[ 3134.263258] usb 2-1: Manufacturer: Vimicro Corp.

Changed in igloocommunity:
assignee: Thomas Espersson (espersson) → nobody
Anmar Oueja (anmar) wrote :

marking as "won't fix" for the igloocommunity project because we believe it is a user space issue and not a kernel one. Please re-open if proven otherwise.

Changed in igloocommunity:
status: New → Won't Fix
Zach Pfeffer (pfefferz) wrote :

Moving off the schedule due to priorities and resourcing.

Changed in linaro-android:
milestone: 12.04 → none

All User Space Libararies for Camera HAL are now added in Android.
The kernel needs to be compiled with UVC (USB Video Class) support.

Then it should be OK.

Fixed for Origen

Tixy (Jon Medhurst) (tixy) wrote :

To use a USB camera, the V4L2 code seems to require USB driver to support isosynchronous data transfers and the driver for the controller on vexpress (isp1760) doesn't support this.

Changed in linaro-landing-team-arm:
importance: Medium → Wishlist
Changed in linaro-android:
milestone: none → 12.06
Zach Pfeffer (pfefferz) on 2012-06-25
Changed in linaro-android:
milestone: 12.06 → none
Botao (botao-sun) wrote :

For vexpress board, observed on:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=71

It shows:

Unfortunately, Camera has stopped.

Amit Khare (amit-khare) wrote :

observed on snowball build
https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob-12.07-release/#build=1

error message on UI

Unfortunately, Camera has stopped.

Anmar Oueja (anmar) on 2012-11-08
Changed in linaro-landing-team-arm:
status: Confirmed → Won't Fix
Fathi Boudra (fboudra) on 2013-06-07
Changed in linaro-android:
assignee: Chengjie HE (chengjie-he) → nobody
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers