android usb camera for dm8148
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
1.cat /proc/bus/usb/devices
2.chmod 777 /dev/video2
3.setprop camera.defaults.index 3
What is the expected output? What do you see instead?
expected USB Camera display working.
Instead :
# logcat
***************************************************************
E/SurfaceFlinger( 100): LayerBuffer::BufferSource::postBuffer() invalid buffer
(offset=345600, size=153600, heap-size=462848
V/camera ( 393): stopPreview
V/Camera ( 393): stopPreview
V/Camera ( 393): stopPreview
V/Camera ( 393): setPreviewCallbackFlags
V/Camera ( 393): disconnect
W/OrientationEventListener( 393): Cannot detect sensors. Invalid disable
D/dalvikvm( 165): GC_EXTERNAL_ALLOC freed 8K, 51% free 3022K/6087K, external
9752K/11800K, paused 37ms
E/dalvikvm-heap( 165): 8005440-byte external allocation too large for this
process.
***********************************************************************
What version of the product are you using? On what operating system?
Gingerbread, for dm8148, OS-linux
Please provide any additional information below.
```
Original issue reported on code.google.com by `manishaa...@gmail.com` on 6 Sep 2012 at 10:04
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the listed USB and camera property commands, then reproduce the failure while collecting the provided logcat output. Trace the invalid buffer and oversized external allocation errors on the dm8148 Gingerbread system; done means the USB camera preview displays successfully without these failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, linux
- Domain
- embedded-iot, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100