Skip to content

Add oneplus rear camera actuator

How to test it?

  1. Build and install kernel with this changes
  2. Find subdev id: run
grep -r lc /sys/class/video4linux/v4l-subdev*/name

that should return something like this

/sys/class/video4linux/v4l-subdev21/name:lc898217xc 17-0074

Than subdev id will be 21

  1. To set focus you need to run
v4l2-ctl -d /dev/v4l-subdev{subdev id}  -c focus_absolute={focus value (0-4095)}

Signed-off-by: Vasiliy Doylov nekodevelopper@gmail.com

Merge request reports

Loading