Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.1.r1] msm: camera: actuator: Fix range for BU64747 actuator #2118

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

kholk
Copy link
Contributor

@kholk kholk commented Dec 3, 2019

The actuator has a sensible range of 200-800, where 800 is
for near subjects and 200 is "infinity".

Address the userspace framework issues with the actuator range
by normalizing the incoming position request data in the
supported range.

NOTE: THIS IS A WORKAROUND - MOSTLY THE SAME THAT I
PUSHED FOR KERNEL 4.9 BASED BSPs.

THIS IS NOT THE SOLUTION (but myopia stops, so feel free
to use it while the camera userspace gets properly fixed/calibrated).

@kholk
Copy link
Contributor Author

kholk commented Dec 3, 2019

@sraase I don't know whether that was already known or not, but this appears
to be the same issue that we had on the previous k4.9 based CamX.

Tagging you to make you aware of the issue again.

The actuator has a sensible range of 200-800, where 800 is
for near subjects and 200 is "infinity".

Address the userspace framework issues with the actuator range
by normalizing the incoming position request data in the
supported range.
@sraase
Copy link
Contributor

sraase commented Dec 4, 2019

The actual drivers have not changed between CamX versions, so I did not expect any change in behaviour. I hope to be able to investigate this in more detail in the near future.

scripts/kconfig/lxdialog/check-lxdialog.sh Outdated Show resolved Hide resolved
scripts/kconfig/lxdialog/check-lxdialog.sh Outdated Show resolved Hide resolved
scripts/kconfig/lxdialog/check-lxdialog.sh Outdated Show resolved Hide resolved
@jerpelea
Copy link
Collaborator

jerpelea commented Jan 9, 2020

for now we add the patch while a solution is investigated

@jerpelea jerpelea merged commit 4883db4 into sonyxperiadev:aosp/LA.UM.7.1.r1 Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants