View Single Post
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#8
Originally Posted by Temporal View Post
No, the problem is that the optical sensor (hardware) looks like is broke. The back cover is fine, I even tried with other back cover that I have spare here and nothing happened.


Oh no, that was my main fear... so I should rewrite some of the code, and then I need to recompile and learn how to synchronize with the kernel... oh my... I'll loose all the rest of my leisure time on this... OR I could try to replace the optical sensor for an equivalent one. Thank you for the answer, sorry if I'm not happy for it
Actually it is kernel code what I'm talking about. Don't worry, if you are able to do some basic C coding it is not hard at all. You can just make it return always 1 and use the camera button to open the camera application, or if you want something configurable you can modify the read function to use a static variable and add a write function to change its value.
 

The Following User Says Thank You to maacruz For This Useful Post: