maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   How to disable the camera cover detector (https://talk.maemo.org/showthread.php?t=91517)

Timmy 2013-10-04 05:29

How to disable the camera cover detector
 
The small board of my N900 which has the SDcard reader and magnets and camera cover detector is totally broken and is not usable anymore (actually the connector cable to the main board is broken), so the camera does not work because whenever I launch the camera app, it closes automatically and shows a Operation failed message.

Is there any method to force the phone to make the camera available? any tricks or hacks?

vi_ 2013-10-04 08:36

Re: How to disable the camera cover detector
 
But that connector connects the camera to the main board does it not?

It is possible to disable the camera slider from the command line.

Timmy 2013-10-04 15:50

Re: How to disable the camera cover detector
 
Quote:

Originally Posted by vi_ (Post 1378520)
But that connector connects the camera to the main board does it not?

Camera is on the mainboard and is ok. Only that small board which contains the Flash light is broken.

Quote:

Originally Posted by vi_ (Post 1378520)
It is possible to disable the camera slider from the command line.

Really? What is that?

sixwheeledbeast 2013-10-04 16:58

Re: How to disable the camera cover detector
 
Quote:

Originally Posted by Timmy (Post 1378568)
Really? What is that?

At a guess
Code:

/sys/devices/platform/gpio-switch/
by making correct item in here read-only?

Timmy 2013-10-04 18:11

Re: How to disable the camera cover detector
 
Quote:

Originally Posted by sixwheeledbeast (Post 1378582)
At a guess
Code:

/sys/devices/platform/gpio-switch/
by making correct item in here read-only?

I tried to change
Code:

/sys/devices/platform/gpio-switch/cam_launch/state
from inactive to active. But it is not allowed to edit this file. Even if I change the permissions to 777, it still won't let me do that.

pichlo 2013-10-04 20:23

Re: How to disable the camera cover detector
 
That would be because it isn't a real file.

Timmy 2013-10-07 09:18

Re: How to disable the camera cover detector
 
So what is the solution?


All times are GMT. The time now is 06:16.

vBulletin® Version 3.8.8