Reply
Thread Tools
Ronaldo's Avatar
Posts: 682 | Thanked: 208 times | Joined on Jan 2010 @ UK
#41
you know what guys the auto focus thing could be true lol

on my n95-8gb i was able to take pictures of a4 documents and it would come out clear. then i decided to disable the red light by removing the joint on circuit and noticed it never focus right.

I then wanted to take a pic of a document but it never focused properly, it focused when i pressed the button but when it took the picture it was always blured.

if some one has installed that app that disables it maybe can test thoery
 
Renesis's Avatar
Posts: 47 | Thanked: 36 times | Joined on Oct 2009
#42
The red light is not for autofocus, test it for yourself.
__________________
Tiny text... Tiny Ninja-sized text.
 
Posts: 89 | Thanked: 10 times | Joined on Mar 2010
#43
now can we disable it ?
 
Posts: 82 | Thanked: 214 times | Joined on Jan 2010 @ Cape town
#44
Originally Posted by dashti View Post
now can we disable it ?
As I've said before, it would be "easily" disabled by commenting out the relevant kernel code, recompiling and flashing... However, if what I just said does not fit your definition of easy, it's probably best to not try it...
 
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#45
check out my app here, it will help you with the red light issue

http://talk.maemo.org/showthread.php?t=46427
 

The Following 2 Users Say Thank You to m2cm2c For This Useful Post:
Posts: 182 | Thanked: 540 times | Joined on Aug 2009 @ Finland
#46
In order to unconditionally disable unconditional redlight one could patch GStreamer plugin 'v4l2camsrc' (available as part of gstreamer0.10-plugins-camera):

Code:
--- gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c.orig       2009-10-08 13:57:10 +0300
+++ gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c    2010-03-07 11:11:26 +0200
@@ -1869,7 +1869,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam
                                              &flash_intensity);
 
     /* For still capture privacy light must be on during the capture phase */
-    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE);
+    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE);
 
     switch (v4l2camsrc->photoconf.flash_mode) {
       case GST_PHOTOGRAPHY_FLASH_MODE_OFF:
@@ -1893,7 +1893,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam
   }
   else if (v4l2camsrc->capture_mode == GST_V4L2CAMSRC_CAPTURE_MODE_VIDEO) {
     /* For video recording privacy light must be on all the time */
-    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE);
+    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE);
   }
   GST_V4L2CAM_STATE_UNLOCK (v4l2camsrc);
This will break your warranty and so on but if you want to keep the light down, here it is. Also, one might want to rename resulting gstreamer element to something different (gst/v4l2cam/v4l2cam.c gives this posibility), let's say to v4l2mycamsrc, and install it along with original one. In such case, by specifying it instead of v4l2camsrc in /etc/gdigicam/gdigicam-camerabin.conf would give you ability to switch the warrant and your own implementations (restarting camera app is required).
 

The Following 2 Users Say Thank You to abbra For This Useful Post:
Posts: 76 | Thanked: 41 times | Joined on Nov 2008 @ Germany
#47
@abbra: I tried your codechanges and replaced libgstv412cam.so .. it seems not to work (red light still on)...
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#48
I've contacted titan and Lehto, both custom kernel developers and they weren't interested in the idea of disabling it in the kernel. So I'm posting an open suggestion to include red light setting as a kernel parameter, which can be changed with echoing the correct value into the correct /sys file. This will further enhance already great custom kernel and because the light would be on by default, all legal issues are covered. I'm not saying you should spam them now, just remember them to reconsider the improved idea.
 
danx's Avatar
Posts: 304 | Thanked: 20 times | Joined on Jan 2010 @ irvine
#49
why don't you use qik . when you turn on the camera to take a video there is no red light . how come they did and not us . it can be done . lets find out why
 
vigilius's Avatar
Posts: 37 | Thanked: 5 times | Joined on Apr 2010
#50
Originally Posted by abbra View Post
In order to unconditionally disable unconditional redlight one could patch GStreamer plugin 'v4l2camsrc' (available as part of gstreamer0.10-plugins-camera):

Code:
--- gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c.orig       2009-10-08 13:57:10 +0300
+++ gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c    2010-03-07 11:11:26 +0200
@@ -1869,7 +1869,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam
                                              &flash_intensity);
 
     /* For still capture privacy light must be on during the capture phase */
-    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE);
+    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE);
 
     switch (v4l2camsrc->photoconf.flash_mode) {
       case GST_PHOTOGRAPHY_FLASH_MODE_OFF:
@@ -1893,7 +1893,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam
   }
   else if (v4l2camsrc->capture_mode == GST_V4L2CAMSRC_CAPTURE_MODE_VIDEO) {
     /* For video recording privacy light must be on all the time */
-    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE);
+    v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE);
   }
   GST_V4L2CAM_STATE_UNLOCK (v4l2camsrc);
This will break your warranty and so on but if you want to keep the light down, here it is. Also, one might want to rename resulting gstreamer element to something different (gst/v4l2cam/v4l2cam.c gives this posibility), let's say to v4l2mycamsrc, and install it along with original one. In such case, by specifying it instead of v4l2camsrc in /etc/gdigicam/gdigicam-camerabin.conf would give you ability to switch the warrant and your own implementations (restarting camera app is required).
I have no idea how to do this, as my linux skills aren't that great - I don't know about you.

If anyone can do this, couldn't you make the patch public/downloadable - with the necessary disclaimer, of course?

It would be fantastic to at least have the option to turn this light off, which is really a standard feature in normal phones with camera LEDs.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:25.