Go Back   maemo.org - Talk > Old > Newbie
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2008-07-08, 19:06
dkarale dkarale is offline
 
Join Date: Feb 2008
Posts: 11
Thanks!: 0
Thanked 0 Times in 0 Posts
Default How to disable the sensor on N810?

Hello, can someone tell me how to disable the sensor on the N810. thank you.
Reply With Quote
  #2  
Old 2008-07-08, 19:09
josiahg777 josiahg777 is offline
 
Join Date: Mar 2008
Location: California
Posts: 425
Thanks!: 121
Thanked 132 Times in 104 Posts
Send a message via AIM to josiahg777 Send a message via MSN to josiahg777 Send a message via Yahoo to josiahg777
Default Re: How to disable the sensor on N810?

Which sensor are you talking about?

Do you mean the ambient light sensor? There's no "easy" way to just disable it. Although I'm sure you could by deleting a few key libraries somewhere.

However, you can go into Control Panel --> Display and set the "Brightness Period" to 1440 minutes. This should keep the ambient light sensor from checking to adjust the screen brightness for 24 hours.
__________________
Promises are like babies. Fun to make, but hard to deliver.

Warning: dates on calendar are closer than they appear.
Reply With Quote
  #3  
Old 2008-07-08, 19:18
brontide's Avatar
brontide brontide is offline
 
Join Date: Oct 2007
Location: Capital District, NY, USA
Posts: 868
Thanks!: 139
Thanked 474 Times in 188 Posts
Send a message via AIM to brontide Send a message via Yahoo to brontide Send a message via Skype™ to brontide
Default Re: How to disable the sensor on N810?

AS ROOT
Edit the /etc/mce/mce.ini file

The top of the file will look like this

Code:
# Configuration file for MCE

[Modules]

# Path to modules
#
# Do not modify unless you're sure that you know what you're doing!
ModulePath=/usr/lib/mce/modules

# Modules
#
# List of modules to load
# Note: the name should not include the "lib"-prefix
Modules=homekey;battery;filter-brightness-als;inactivity;camera;alarm
edit the Modules line, removing the filter-brightness-als.

Code:
# Modules
#
# List of modules to load
# Note: the name should not include the "lib"-prefix
#Modules=homekey;battery;filter-brightness-als;inactivity;camera;alarm
Modules=homekey;battery;inactivity;camera;alarm
reboot.


I'll leave the "getting root" and "edit file" as an exercise for the user.
Reply With Quote
The Following 7 Users Say Thank You to brontide For This Useful Post:
  #4  
Old 2008-07-08, 19:20
qwerty12's Avatar
qwerty12 qwerty12 is offline
 
Join Date: Sep 2007
Location: Looking at y'all and sighing
Posts: 4,274
Thanks!: 5,528
Thanked 5,358 Times in 1,954 Posts
Default Re: How to disable the sensor on N810?

I think fanoush posted method, something about removing the sensor module from /etc/mce/mce.ini

or even better, look above.
Reply With Quote
  #5  
Old 2008-07-08, 21:47
iancumihai's Avatar
iancumihai iancumihai is offline
 
Join Date: Jun 2007
Location: Romania
Posts: 274
Thanks!: 46
Thanked 143 Times in 47 Posts
Talking Re: How to disable the sensor on N810?

Quote:
Originally Posted by brontide View Post
AS ROOT
... I'll leave the "getting root" and "edit file" as an exercise for the user.
does "OMG how do I quit VI " rings a bell ? :P
Reply With Quote
  #6  
Old 2008-07-08, 23:09
callanish callanish is offline
 
Join Date: Dec 2007
Posts: 190
Thanks!: 32
Thanked 54 Times in 31 Posts
Default Re: How to disable the sensor on N810?

Quote:
Originally Posted by josiahg777 View Post
Which sensor are you talking about?

Do you mean the ambient light sensor? There's no "easy" way to just disable it. Although I'm sure you could by deleting a few key libraries somewhere.

However, you can go into Control Panel --> Display and set the "Brightness Period" to 1440 minutes. This should keep the ambient light sensor from checking to adjust the screen brightness for 24 hours.
My brightness period is maxed out at 2 minutes. Is there something I need to change to allow me to have the option of 1440 minutes?
Reply With Quote
  #7  
Old 2008-07-08, 23:14
josiahg777 josiahg777 is offline
 
Join Date: Mar 2008
Location: California
Posts: 425
Thanks!: 121
Thanked 132 Times in 104 Posts
Send a message via AIM to josiahg777 Send a message via MSN to josiahg777 Send a message via Yahoo to josiahg777
Default Re: How to disable the sensor on N810?

hmmmm try changing the "Switch Screen Off" value to a higher value.

Then try changing it again.

Are you running Diablo?
__________________
Promises are like babies. Fun to make, but hard to deliver.

Warning: dates on calendar are closer than they appear.
Reply With Quote
  #8  
Old 2008-07-09, 03:01
callanish callanish is offline
 
Join Date: Dec 2007
Posts: 190
Thanks!: 32
Thanked 54 Times in 31 Posts
Default Re: How to disable the sensor on N810?

Yeah, I am running Diablo. Tried everything. Strange that my only options are 10 and 30 seconds and 1 and 2 minutes. Won't lose sleep over it, but it's weird never the less. Did a full chinook backup restore, rather than start Diablo from scratch. Don't know if that has anything to do with it. Still, if that's the only issue I've got to worry about with an upgrade to Diablo, and so far it is, then I've got no reason to complain
Reply With Quote
  #9  
Old 2008-07-09, 03:10
brontide's Avatar
brontide brontide is offline
 
Join Date: Oct 2007
Location: Capital District, NY, USA
Posts: 868
Thanks!: 139
Thanked 474 Times in 188 Posts
Send a message via AIM to brontide Send a message via Yahoo to brontide Send a message via Skype™ to brontide
Default Re: How to disable the sensor on N810?

It's something that can be changed via gconf, they probably had made the tewak at some point and restored the backup. There are a number of neat tweaks that can be done including, but not limited to..

backlight timout > defaults
lock timeouts > defaults
networking scanning < 5 minutes

I'l dig them up.
Reply With Quote
  #10  
Old 2008-07-09, 03:26
brontide's Avatar
brontide brontide is offline
 
Join Date: Oct 2007
Location: Capital District, NY, USA
Posts: 868
Thanks!: 139
Thanked 474 Times in 188 Posts
Send a message via AIM to brontide Send a message via Yahoo to brontide Send a message via Skype™ to brontide
Default Re: How to disable the sensor on N810?

Here are the defaults from gconftool-2

Code:
~ $ gconftool-2 -R /system/osso/dsm/display
 display_on_with_charger = true
 display_brightness_level_step = 1
 display_blank_timeout = 300
 display_brightness = 1
 display_dim_timeout = 120
 max_display_brightness_levels = 5
 possible_display_dim_timeouts = [10,30,60,120]
 possible_display_blank_timeouts = [30,60,120,300]
Then we can change the lists like the following. Each value is in seconds

Code:
~ $ gconftool-2 -s --type list --list-type int /system/osso/dsm/display/possible_display_dim_timeouts [10,30,60,120,600,3600,86400]
~ $ gconftool-2 -s --type list --list-type int /system/osso/dsm/display/possible_display_blank_timeouts [30,60,120,300,600,900,3600,86400]
~ $ gconftool-2 -R /system/osso/dsm/display
 display_on_with_charger = true
 display_brightness_level_step = 1
 display_blank_timeout = 300
 display_brightness = 1
 display_dim_timeout = 120
 max_display_brightness_levels = 5
 possible_display_dim_timeouts = [10,30,60,120,600,3600,86400]
 possible_display_blank_timeouts = [30,60,120,300,600,900,3600,86400]
That should give you 10, 60, and 1440 minutes under brightness period and 10,15,60, and 1440 minutes under switch off display.
Reply With Quote
The Following 3 Users Say Thank You to brontide For This Useful Post:
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:40.