You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same issue is present with SW_binaries_for_Xperia_Android_13_5.4_v4a_zambezi
The camera was working fine with SW_binaries_for_Xperia_Android_13_5.4_v2b_zambezi.
Description
When I open the AOSP stock camera app the screen remains white, and after some time appear a popup that say "Can't connect to the camera".
If, instead, I switch to the front camera I can see my face (so i guess the problem is related with the back camera)
How to reproduce
Just open the stock camera app provided with android AOSP.
Additional context
I noticed that when I give the command dumpsys media.camera the output is different
output with SW_binaries_for_Xperia_Android_13_5.4_v4b_zambezi
Number of camera devices: 4
Number of normal camera devices: 4
Number of public camera devices visible to API1: 4
Device 0 maps to "0"
Device 1 maps to "1"
Device 2 maps to "2"
Device 3 maps to "3"
output with SW_binaries_for_Xperia_Android_13_5.4_v2b_zambezi
== Service global info: ==
Number of camera devices: 2
Number of normal camera devices: 2
Number of public camera devices visible to API1: 2
Device 0 maps to "0"
Device 1 maps to "1"
In the case of SW_binaries_for_Xperia_Android_13_5.4_v4b_zambezi I can see, with adb logcat, lot of errors like
09-09 16:49:23.754 0 0 I CAM_ERR : CAM-OIS: cam_ois_subdev_ioctl: 55 Failed with driver cmd: -22
09-09 16:49:23.755 0 0 I CAM_ERR : CAM-OIS: cam_ois_driver_cmd: 963 Failed in ois pkt Parsing
09-09 16:49:23.755 0 0 I CAM_ERR : CAM-OIS: cam_ois_subdev_ioctl: 55 Failed with driver cmd: -22
.....
.....
09-09 16:49:25.928 0 0 I CAM_ERR : CAM-CCI: cam_cci_read: 1389 ERROR with Slave 0xa8:
09-09 16:49:25.928 0 0 I CAM_ERR : CAM-CCI: cam_cci_read_bytes_v_1_2: 1640 failed to read rc:-22
09-09 16:49:25.928 0 0 I CAM_ERR : CAM-EEPROM: cam_eeprom_read_memory: 133 read failed rc -22
09-09 16:49:25.928 0 0 I CAM_ERR : CAM-EEPROM: cam_eeprom_pkt_parse: 1325 read_eeprom_memory failed
09-09 16:49:25.934 0 0 I CAM_ERR : CAM-EEPROM: cam_eeprom_driver_cmd: 1536 Failed in eeprom pkt Parsing
09-09 16:49:25.934 0 0 I CAM_ERR : CAM-EEPROM: cam_eeprom_subdev_ioctl: 55 Failed in Driver cmd: -22
and
09-09 16:49:19.535 6288 6833 E CamX : [ERROR][CSL ] camxcslhwinternal.cpp:3295 CSLHwInternalDefaultIoctl() Ioctl failed for device /dev/v4l-subdev16 (Type:CSLHwOIS, FD:28, Index:11) with error reason Invalid argument
09-09 16:49:19.536 6288 6833 E CamX : [ERROR][SENSOR ] camxois.cpp:1429 ReadLensPositionData() OIS[0]: failed to submit packet =1
09-09 16:49:19.536 6288 6833 E CamX : [ERROR][SENSOR ] camxois.cpp:1155 LensPositionThread() Failed to read lens position data
09-09 16:49:19.536 6288 6833 E CamX : [ERROR][CSL ] camxcslhwinternal.cpp:3295 CSLHwInternalDefaultIoctl() Ioctl failed for device /dev/v4l-subdev16 (Type:CSLHwOIS, FD:28, Index:11) with error reason Invalid argument
.....................
.....................
09-09 16:49:19.538 6288 6833 E CamX : [ERROR][SENSOR ] camxois.cpp:1155 LensPositionThread() Failed to read lens position data
09-09 16:49:19.538 6288 6833 E CamX : [ERROR][CSL ] camxcslhwinternal.cpp:3295 CSLHwInternalDefaultIoctl() Ioctl failed for device /dev/v4l-subdev16 (Type:CSLHwOIS, FD:28, Index:11) with error reason Invalid argument
09-09 16:49:19.538 6288 6833 E CamX : [ERROR][SENSOR ] camxois.cpp:1429 ReadLensPositionData() OIS[0]: failed to submit packet =1
09-09 16:49:19.538 6288 6833 E CamX : [ERROR][SENSOR ] camxois.cpp:1155 LensPositionThread() Failed to read lens position data
09-09 16:49:19.539 6288 6833 E CamX : [ERROR][CSL ] camxcslhwinternal.cpp:3295 CSLHwInternalDefaultIoctl() Ioctl failed for device /dev/v4l-subdev16 (Type:CSLHwOIS, FD:28, Index:11) with error reason Invalid argument
09-09 16:49:19.539 6288 6833 E CamX : [ERROR][SENSOR ] camxois.cpp:1429 ReadLensPositionData() OIS[0]: failed to submit packet =1
09-09 16:49:19.539 6288 6833 E CamX : [ERROR][SENSOR ] camxois.cpp:1155 LensPositionThread() Failed to read lens position data
Due to the different output reported by dumpsys media.camera my guess was that the problem could be related with a different device mapping seen by the kernel, so I update my repo with the commands
and then rebuilt the whole AOSP. Nothing change.
My guess is still the the problem could be related with the device tree, or something like this.
Any help is appreciated.
Thank you in Advance for your attention.
The text was updated successfully, but these errors were encountered:
Platform: Zambezi
Device: pdx235
Kernel version: 5.4.210
Android version: 13
Software binaries version: SW_binaries_for_Xperia_Android_13_5.4_v4b_zambezi
Previously working on
Description
When I open the AOSP stock camera app the screen remains white, and after some time appear a popup that say "Can't connect to the camera".
If, instead, I switch to the front camera I can see my face (so i guess the problem is related with the back camera)
How to reproduce
Just open the stock camera app provided with android AOSP.
Additional context
I noticed that when I give the command
dumpsys media.camera
the output is differentoutput with SW_binaries_for_Xperia_Android_13_5.4_v4b_zambezi
output with SW_binaries_for_Xperia_Android_13_5.4_v2b_zambezi
In the case of SW_binaries_for_Xperia_Android_13_5.4_v4b_zambezi I can see, with
adb logcat
, lot of errors likeand
Due to the different output reported by
dumpsys media.camera
my guess was that the problem could be related with a different device mapping seen by the kernel, so I update my repo with the commandsrebuilt the kernel by myself with
and then rebuilt the whole AOSP. Nothing change.
My guess is still the the problem could be related with the device tree, or something like this.
Any help is appreciated.
Thank you in Advance for your attention.
The text was updated successfully, but these errors were encountered: