alanorth / android_device_huawei_u8150

Huawei IDEOS U8150 build configuration for CyanogenMod 7
9 stars 6 forks source link

Video Camera broken (for different reason this time?) #5

Open bfazen opened 12 years ago

bfazen commented 12 years ago

Just noticed that I am not able to use the video camera either, but logcat is different than the previous post. Seems like it is a media profile issue or an issue with searching for autofocus rather than a permissions issue? Camera works fine at first, but then switching to video results in a force close. After that, the camera will not work again until reboot. I tried tweaking/adding the media_profile.xml from the u8220 build as most of the media_profiles.xml are somewhat similar, but no luck... still crashing.

Is this in the build, or something I messed up along the way? Any thoughts on why this might occur?

08-07 15:45:47.456: I/ActivityManager(201): Starting: Intent { act=android.media.action.VIDEO_CAMERA flg=0x6000000 cmp=com.android.camera/.VideoCamera } from pid 655
08-07 15:45:47.486: V/camera(655): stopPreview
08-07 15:45:47.496: E/QualcommCameraHardware(137): disableMsgType,mMsgEnabled=5d,msgType=10
08-07 15:45:47.696: E/QualcommCameraHardware(137): disableMsgType,mMsgEnabled=4d,msgType=10
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found
08-07 15:45:47.896: V/videocamera(655): startPreview
08-07 15:45:47.906: D/Camera(655): app passed NULL surface
08-07 15:45:47.956: D/CameraSettings(655): Parameters: [af-single=off, antibanding-values=off,60hz,50hz, antibanding=60hz, effect-values=none,mono,negative,solarize,sepia,aqua, effect=none, exposure-compensation-step=1, exposure-offset-values=0,1,2,3,4,5,6,7,8,9,10, exposure-values=frameaverage,centerweighted,spotmetering, exposure=frameaverage, focal-length=25.000, focus-mode-values=unsupported, focus-mode=fixed, horizontal-view-angle=176.0, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800, iso=auto, jpeg-quality=85, jpeg-thumbnail-height=144, jpeg-thumbnail-size-values=0x0,176x144,192x144,240x144,256x144, jpeg-thumbnail-width=192, lensshading-values=enable,disable, lensshading=disable, luma-adaptation=3, max-exposure-compensation=50, max-zoom=9, min-exposure-compensation=0, picture-format-values=jpeg, picture-format=jpeg, picture-size-values=2048x1536,1600x1200,1024x768,640x480,320x240, picture-size=2048x1536, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-frame-rate-values=15, preview-frame-rate=20, preview-size-values=800x480,640x480,480x320,352x288,320x240,176x144,128x96, preview-size=352x288, vertical-view-angle=176.0, whitebalance-values=auto,warm-fluorescent,incandescent,fluorescent,daylight,cloudy-daylight,twilight,shade, whitebalance=auto, zoom-ratios=100,120,140,160,180,200,220,240,260,280, zoom-supported=true, zoom=0]
08-07 15:45:47.996: D/CameraSettings(655): Parameters: [af-single=off, antibanding-values=off,60hz,50hz, antibanding=60hz, effect-values=none,mono,negative,solarize,sepia,aqua, effect=none, exposure-compensation-step=1, exposure-offset-values=0,1,2,3,4,5,6,7,8,9,10, exposure-values=frameaverage,centerweighted,spotmetering, exposure=frameaverage, focal-length=25.000, focus-mode-values=unsupported, focus-mode=fixed, horizontal-view-angle=176.0, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800, iso=auto, jpeg-quality=85, jpeg-thumbnail-height=144, jpeg-thumbnail-size-values=0x0,176x144,192x144,240x144,256x144, jpeg-thumbnail-width=192, lensshading-values=enable,disable, lensshading=disable, luma-adaptation=3, max-exposure-compensation=50, max-zoom=9, min-exposure-compensation=0, picture-format-values=jpeg, picture-format=jpeg, picture-size-values=2048x1536,1600x1200,1024x768,640x480,320x240, picture-size=2048x1536, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-frame-rate-values=15, preview-frame-rate=20, preview-size-values=800x480,640x480,480x320,352x288,320x240,176x144,128x96, preview-size=352x288, vertical-view-angle=176.0, whitebalance-values=auto,warm-fluorescent,incandescent,fluorescent,daylight,cloudy-daylight,twilight,shade, whitebalance=auto, zoom-ratios=100,120,140,160,180,200,220,240,260,280, zoom-supported=true, zoom=0]
08-07 15:45:48.006: E/QualcommCameraHardware(137): enableMsgType,mMsgEnabled=77,msgType=16
08-07 15:45:48.006: E/QualcommCameraHardware(137): pmem pool /dev/pmem_adsp ioctl(PMEM_GET_SIZE) is 155648
08-07 15:45:48.016: E/QualcommCameraHardware(137): hal_mmap #0 start = 4100c000 end = 410311ff
08-07 15:45:48.219: E/QualcommCameraHardware(137): Auto Focus is not supported for this Sensor (0)
08-07 15:45:57.406: I/InputDispatcher(201): Dropped event because of pending overdue app switch.
08-07 15:45:57.406: I/InputDispatcher(201): Dropped event because of pending overdue app switch.
alanorth commented 12 years ago

Ahh! Dunno. I'm in Switzerland right now and won't be able to check this for at least 2 weeks egehehe. On 7 Aug 2012 14:35, "bfazen" notifications@github.com wrote:

Just noticed that I am not able to use the video camera either, but logcat is different than the previous post. Seems like it is a media profile issue or an issue with searching for autofocus rather than a permissions issue? Camera works fine at first, but then switching to video results in a force close. After that, the camera will not work again until reboot. I tried tweaking/adding the media_profile.xml from the u8220 build as most of the media_profiles.xml are somewhat similar, but no luck... still crashing.

Is this in the build, or something I messed up along the way? Any thoughts on why this might occur?

08-07 15:45:47.456: I/ActivityManager(201): Starting: Intent { act=android.media.action.VIDEO_CAMERA flg=0x6000000 cmp=com.android.camera/.VideoCamera } from pid 655 08-07 15:45:47.486: V/camera(655): stopPreview 08-07 15:45:47.496: E/QualcommCameraHardware(137): disableMsgType,mMsgEnabled=5d,msgType=10 08-07 15:45:47.696: E/QualcommCameraHardware(137): disableMsgType,mMsgEnabled=4d,msgType=10 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.886: E/MediaProfiles(655): The given camcorder profile camera 0 quality 2 is not found 08-07 15:45:47.896: V/videocamera(655): startPreview 08-07 15:45:47.906: D/Camera(655): app passed NULL surface 08-07 15:45:47.956: D/CameraSettings(655): Parameters: [af-single=off, antibanding-values=off,60hz,50hz, antibanding=60hz, effect-values=none,mono,negative,solarize,sepia,aqua, effect=none, exposure-compensation-step=1, exposure-offset-values=0,1,2,3,4,5,6,7,8,9,10, exposure-values=frameaverage,centerweighted,spotmetering, exposure=frameaverage, focal-length=25.000, focus-mode-values=unsupported, focus-mode=fixed, horizontal-view-angle=176.0, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800, iso=auto, jpeg-quality=85, jpeg-thumbnail-height=144, jpeg-thumbnail-size-values=0x0,176x144,192x144,240x144,256x144, jpeg-thumbnail-width=192, lensshading-values=enable,disable, lensshading=disable, luma-adaptation=3, max-exposure-compensation=50, max-zoom=9, min-exposure-compensation=0, picture-format-values=jpeg, picture-format=jpeg, picture-size-values=2048x1536,1600x1200,1024x768,640x480,320x240, picture-size=2048x1536, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-frame-rate-values=15, preview-frame-rate=20, preview-size-values=800x480,640x480,480x320,352x288,320x240,176x144,128x96, preview-size=352x288, vertical-view-angle=176.0, whitebalance-values=auto,warm-fluorescent,incandescent,fluorescent,daylight,cloudy-daylight,twilight,shade, whitebalance=auto, zoom-ratios=100,120,140,160,180,200,220,240,260,280, zoom-supported=true, zoom=0] 08-07 15:45:47.996: D/CameraSettings(655): Parameters: [af-single=off, antibanding-values=off,60hz,50hz, antibanding=60hz, effect-values=none,mono,negative,solarize,sepia,aqua, effect=none, exposure-compensation-step=1, exposure-offset-values=0,1,2,3,4,5,6,7,8,9,10, exposure-values=frameaverage,centerweighted,spotmetering, exposure=frameaverage, focal-length=25.000, focus-mode-values=unsupported, focus-mode=fixed, horizontal-view-angle=176.0, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800, iso=auto, jpeg-quality=85, jpeg-thumbnail-height=144, jpeg-thumbnail-size-values=0x0,176x144,192x144,240x144,256x144, jpeg-thumbnail-width=192, lensshading-values=enable,disable, lensshading=disable, luma-adaptation=3, max-exposure-compensation=50, max-zoom=9, min-exposure-compensation=0, picture-format-values=jpeg, picture-format=jpeg, picture-size-values=2048x1536,1600x1200,1024x768,640x480,320x240, picture-size=2048x1536, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-frame-rate-values=15, preview-frame-rate=20, preview-size-values=800x480,640x480,480x320,352x288,320x240,176x144,128x96, preview-size=352x288, vertical-view-angle=176.0, whitebalance-values=auto,warm-fluorescent,incandescent,fluorescent,daylight,cloudy-daylight,twilight,shade, whitebalance=auto, zoom-ratios=100,120,140,160,180,200,220,240,260,280, zoom-supported=true, zoom=0] 08-07 15:45:48.006: E/QualcommCameraHardware(137): enableMsgType,mMsgEnabled=77,msgType=16 08-07 15:45:48.006: E/QualcommCameraHardware(137): pmem pool /dev/pmem_adsp ioctl(PMEM_GET_SIZE) is 155648 08-07 15:45:48.016: E/QualcommCameraHardware(137): hal_mmap #0 start = 4100c000 end = 410311ff 08-07 15:45:48.219: E/QualcommCameraHardware(137): Auto Focus is not supported for this Sensor (0) 08-07 15:45:57.406: I/InputDispatcher(201): Dropped event because of pending overdue app switch. 08-07 15:45:57.406: I/InputDispatcher(201): Dropped event because of pending overdue app switch.

— Reply to this email directly or view it on GitHubhttps://github.com/alanorth/android_device_huawei_u8150/issues/5.