maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   How does the 770 know when it's cover is on? (https://talk.maemo.org/showthread.php?t=8427)

tullis 2007-08-03 15:12

How does the 770 know when it's cover is on?
 
As above. How does the 770 know that the cover is on?

It works well for me, but I can't tell how it knows.

Thanks.
Ben

dal 2007-08-03 15:18

Re: How does the 770 know when it's cover is on?
 
Through the magic of magnets.

edfick 2007-08-03 15:18

Re: How does the 770 know when it's cover is on?
 
i was actually wondering this too. I tried messing with that little clip thingy, that the lid snaps on to, but it didn't do any thing.

mwiktowy 2007-08-03 15:28

Re: How does the 770 know when it's cover is on?
 
Quote:

Originally Posted by tullis (Post 65259)
As above. How does the 770 know that the cover is on?

It works well for me, but I can't tell how it knows.

Thanks.
Ben

There is a small magnet embedded in one of the side edges of the cover that triggers some sort of microswitch on the 770. There is nothing special about the magnet. I have been able to trigger the switch with a regular magnet. I can't remember if the polarity was important or not as it was a while back. So if it doesn't work one way, flip the magnet around and try again.

tullis 2007-08-03 15:35

Re: How does the 770 know when it's cover is on?
 
Thanks very much. I'll get some magnets now and investigate further.
Cheers.

gbm 2007-08-03 15:52

Re: How does the 770 know when it's cover is on?
 
When looking at the 770 without the cover on just under the 'home' button there is a small rectangle, I believe this is where the magnet sensor thingy is, and on the cover it must be in the corresponding position.

ericdkirk 2007-08-03 16:12

Re: How does the 770 know when it's cover is on?
 
just put a paper clip on the inside of your cover, it look me like 5 seconds to find the magnet

steckel 2007-08-03 17:16

Re: How does the 770 know when it's cover is on?
 
On the software side, I believe the ke-recv daemon is responsible for mapping lid events into os-actions - at least this is true for the switches in the battery and mmc compartments

omegaone37 2007-08-03 17:35

Re: How does the 770 know when it's cover is on?
 
Truth be known... its

"Divine Provenance"!

Omega


All times are GMT. The time now is 10:42.

vBulletin® Version 3.8.8