diff options
| author | Wang Han <416810799@qq.com> | 2018-05-23 00:28:03 +0800 |
|---|---|---|
| committer | Elektroschmock <elektroschmock78@googlemail.com> | 2019-04-23 17:34:42 +0200 |
| commit | 436bd215676e0b4d2633871ff62425a2bc161ca7 (patch) | |
| tree | 104c81b82f6bf2de9480940d0f2f51f4e398e8ff | |
| parent | 745eeb617e2757cc01728b52c5bcec96991dc03c (diff) | |
shamu: Restart cameraserver after boot completed
For some reason front camera gets magically broken since
mid-November, and this is a workaround. The real problem
is in somewhere framework side.
E CamDev@1.0-impl: Could not open camera 1: -1
E CamDev@1.0-impl: getHidlStatus: unknown HAL status code -1
E CameraHardwareInterface: initialize: openSession failed! Function not implemented (-38)
E CameraFlashlight: connectCameraDevice: initializing camera 1 failed
I CameraHardwareInterface: Destroying camera 1
E CameraFlashlight: findFlashUnits: failed to check if camera 1 has a flash unit. Function not implemented (-38)
Change-Id: If3ba1dce6e8ee2ee54f23fd5f99393d309692ede
| -rw-r--r-- | rootdir/etc/init.shamu.rc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/etc/init.shamu.rc b/rootdir/etc/init.shamu.rc index ae66e341..f63dc24b 100644 --- a/rootdir/etc/init.shamu.rc +++ b/rootdir/etc/init.shamu.rc @@ -453,6 +453,8 @@ on property:sys.boot_completed=1 swapon_all ./fstab.shamu + restart cameraserver + on property:ro.data.large_tcp_window_size=true # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB) write /proc/sys/net/ipv4/tcp_adv_win_scale 2 |
