From dbdbc0d26cc9744ae0cc86b85d893e81cc14373e Mon Sep 17 00:00:00 2001 From: James Dong Date: Fri, 10 Jul 2009 17:20:16 -0700 Subject: [PATCH] The antibanding (60Hz) broke the bar code scanner. bug 1962986 --- libcamera2/QualcommCameraHardware.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libcamera2/QualcommCameraHardware.cpp b/libcamera2/QualcommCameraHardware.cpp index 37cf953..9a3555b 100644 --- a/libcamera2/QualcommCameraHardware.cpp +++ b/libcamera2/QualcommCameraHardware.cpp @@ -1728,7 +1728,13 @@ void QualcommCameraHardware::setAntiBanding(int camfd, const char *antibanding) antibandvalue = attr_lookup(anti_banding, antibanding, - CAMERA_ANTIBANDING_60HZ); + /* FIXME: + * CAMERA_ANTIBANDING_60HZ broke the barcode scanner + * somehow. turn it off and revert it back to off + * for now until we figure out what is the best + * solution. + */ + CAMERA_ANTIBANDING_OFF /*CAMERA_ANTIBANDING_60HZ */); ctrlCmd.value = (void *)&antibandvalue; LOGV("In setAntiBanding: match: %s: %d", antibanding, antibandvalue);