Hi everyone,
I'm using beaglebone with Android ICS and I want to use an USB camera (logitech c920) with this platform. I've seen many webs and threads in this forum talking about this topic and I saw how enable USB camera support in these links:
https://gitorious.org/rowboat/vendor-ti-am335xevm/commit/7198232cec46171ae8f6f35c796327c8abdbf4ff
http://gitorious.org/rowboat/hardware-ti-omap3/commit/386b90d2de47586eb0b892450daa6bbb1d6ce5b6
I've done it, and after it, I can use the camera, but the image isn't seen fine. I only can see the image correctly in the top of the screen. I have attached a photo with 3 images to see this error.
The logcat is:
W/AudioPolicyManagerBase( 69): getOutput() could not find output for stream 1, samplingRate 0, format 0, channels 3, flags 0
W/AudioPolicyManagerBase( 69): getOutput() could not find output for stream 1, samplingRate 0, format 0, channels 3, flags 0
W/AudioPolicyManagerBase( 69): getOutput() could not find output for stream 1, samplingRate 0, format 0, channels 3, flags 0
E/SoundPool( 195): Error creating AudioTrack
I/ActivityManager( 195): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera} from pid 342
W/NetworkManagementSocketTagger( 195): setKernelCountSet(10044, 1) failed with errno -2
I/InputReader( 195): Reconfiguring input devices. changes=0x00000004
I/InputReader( 195): Device reconfigured: id=1, name='ft5x06_ts', surface size is now 800x480, mode is 1
I/InputReader( 195): Device reconfigured: id=3, name='ti-tsc-adcc', surface size is now 800x480, mode is 1
I/ActivityManager( 195): Config changed: {1.0 0mcc0mnc en_US layoutdir=0 sw480dp w480dp h775dp lrg long port finger -keyb/v/h -nav/h s.10}
V/CameraHolder( 596): open camera 0
D/****CameraHAL( 69): cameraHal BACK 0
D/****CameraHAL( 69): cameraHal 0
I/CameraService( 69): Opening camera 0
I/****CameraHAL( 69): camera_device open
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:320,height:240
D/CameraHardware( 69): picture width:320,height:240
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 320 x 240
D/CameraHardware( 69): Preview Resolution by CamHAL 320 x 240
D/CameraHardware( 69): enableMsgType:1037
I/AwesomePlayer( 69): setDataSource_l('/system/media/audio/ui/camera_click.ogg')
I/AwesomePlayer( 69): setDataSource_l('/system/media/audio/ui/VideoRecord.ogg')
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:320,height:240
D/CameraHardware( 69): picture width:320,height:240
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 320 x 240
D/CameraHardware( 69): Preview Resolution by CamHAL 320 x 240
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:320,height:240
D/CameraHardware( 69): picture width:320,height:240
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 320 x 240
D/CameraHardware( 69): Preview Resolution by CamHAL 320 x 240
D/Camera ( 596): app passed NULL surface
D/****CameraHAL( 69): cameraHal BACK 0
D/****CameraHAL( 69): cameraHal 0
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:320,height:240
D/CameraHardware( 69): picture width:320,height:240
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 320 x 240
D/CameraHardware( 69): Preview Resolution by CamHAL 320 x 240
D/dalvikvm( 269): GC_CONCURRENT freed 417K, 70% free 7148K/23303K, paused 2ms+17ms
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:640,height:480
D/CameraHardware( 69): picture width:640,height:480
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 640 x 480
D/CameraHardware( 69): Preview Resolution by CamHAL 640 x 480
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:640,height:480
D/CameraHardware( 69): picture width:640,height:480
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 640 x 480
D/CameraHardware( 69): Preview Resolution by CamHAL 640 x 480
V/camera ( 596): Preview size is 640x480
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:640,height:480
D/CameraHardware( 69): picture width:640,height:480
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 640 x 480
D/CameraHardware( 69): Preview Resolution by CamHAL 640 x 480
V/camera ( 596): startPreview
W/****CameraHAL( 69): ----Preview not Enabled----
W/****CameraHAL( 69): window is NULL
W/CameraHardware( 69): Window is Null
D/CameraHardware( 69): startPreview width:640,height:480
D/V4L2Camera( 69): CameraConfigure PreviewFormat: w=640 h=480
V/camera ( 596): surfaceChanged. w=401. h=534
W/****CameraHAL( 69): ----Preview Enabled----
D/****CameraHAL( 69): Exiting the function
I/ActivityManager( 195): Displayed com.android.camera/.Camera: +1s526ms
W/IInputConnectionWrapper( 342): showStatusIcon on inactive InputConnection
W/InputManagerService( 195): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@41314168 (uid=10028 pid=342)
D/sensors ( 195): Control set delay 200000000 ns requetsed, using rate 6 [6.250 Hz]
D/sensors ( 195): Control set delay 200000000 ns requetsed, using rate 6 [6.250 Hz]
D/LocationManager( 596): provider does not exist provider=network
D/LocationManager( 596): provider does not exist provider=gps
D/LocationManager( 596): startReceivingLocationUpdates
D/CameraStorage( 596): External storage state=mounted
I/Thumbnail( 596): Fail to load bitmap. java.io.FileNotFoundException: /data/data/com.android.camera/files/last_thumb: open failed: ENOENT (No such file or directory)
D/CameraHardware( 69): Set Parameter...!!
D/CameraHardware( 69): PreviewFormat yuv422sp
D/CameraHardware( 69): PictureFormat jpeg
D/CameraHardware( 69): preview width:640,height:480
D/CameraHardware( 69): picture width:640,height:480
D/CameraHardware( 69): FRAMERATE 15
D/CameraHardware( 69): Picture Size by CamHAL 640 x 480
D/CameraHardware( 69): Preview Resolution by CamHAL 640 x 480
W/NetworkManagementSocketTagger( 195): setKernelCountSet(10028, 0) failed with errno -2
D/dalvikvm( 195): GC_EXPLICIT freed 216K, 12% free 8750K/9863K, paused 4ms+28ms
Could somebody help me please?
Best Regards,