Camera App does not work on ICS

Bug #900714 reported by Abhishek Paliwal
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
IglooCommunity
Won't Fix
High
Unassigned
Linaro Android
Won't Fix
Medium
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.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Patrik Ryd (patrik-ryd) wrote :
Changed in linaro-landing-team-arm:
importance: Undecided → Medium
status: New → Confirmed
Anmar Oueja (anmar)
no longer affects: linaro-landing-team-ste
Revision history for this message
Tony Mansson (tony-mansson) wrote :
Revision history for this message
Amit Pundir (pundiramit) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: Medium → High
assignee: nobody → vishal (vishalbhoj)
milestone: none → 12.02
vishal (vishalbhoj)
Changed in linaro-android:
status: New → Fix Committed
status: Fix Committed → In Progress
Revision history for this message
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

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
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)
Changed in linaro-android:
assignee: vishal (vishalbhoj) → nobody
Zach Pfeffer (pfefferz)
Changed in linaro-android:
assignee: nobody → Chengjie HE (chengjie-he)
importance: High → Medium
tags: added: multimedia
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Changed in igloocommunity:
importance: Undecided → Medium
assignee: nobody → Thomas Espersson (espersson)
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.03 → 12.04
Revision history for this message
Patrik Klinger (patrik-klinger) wrote :

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
Revision history for this message
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.

Revision history for this message
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
Revision history for this message
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
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Moving off the schedule due to priorities and resourcing.

Changed in linaro-android:
milestone: 12.04 → none
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

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.

Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Fixed for Origen

Revision history for this message
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)
Changed in linaro-android:
milestone: 12.06 → none
Revision history for this message
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.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
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.

Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Anmar Oueja (anmar)
Changed in linaro-landing-team-arm:
status: Confirmed → Won't Fix
Fathi Boudra (fboudra)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.