Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-01-24, 23:32
hallgreng hallgreng is offline
 
Join Date: Jan 2006
Posts: 63
Thanks!: 5
Thanked 21 Times in 11 Posts
Default Question regarding disabling vibration for IM/Email (mce.ini)

hey all,

I dont like that the n900 violently shakes when i receive a new IM. i just like the blue led notification light.
/etc/mce/mce.ini has the following lines near the end:
Code:
VibratorPatterns=PatternIncomingCall;PatternIncomingMessage;PatternPowerKeyPress;PatternTouchscreen;PatternChatAndEmail
...
PatternChatAndEmail=4;3;1;1;30;360;0;100;154
Does anyone think or know if it would be catastrophic (meaning: requiring a flash) to either remove ;PatternChatAndEmail from the above string or comment out the PatternChatAndEmail=4;3;1;1;30;360;0;100;154 line?

I am hesitant to do so as iv heard the mce.ini file is 'dangerous' and iv already had to reflash my tablet once (a little too aggressive with remapping some keys... oops), so if anyone knows flat-out i would appreciate you sharing your knowledge =]
Reply With Quote
The Following 4 Users Say Thank You to hallgreng For This Useful Post:
  #2  
Old 2010-01-25, 00:32
jaem
Guest
 
Posts: n/a
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

Quote:
Originally Posted by hallgreng View Post
hey all,

I dont like that the n900 violently shakes when i receive a new IM. i just like the blue led notification light.
/etc/mce/mce.ini has the following lines near the end:
Code:
VibratorPatterns=PatternIncomingCall;PatternIncomingMessage;PatternPowerKeyPress;PatternTouchscreen;PatternChatAndEmail
...
PatternChatAndEmail=4;3;1;1;30;360;0;100;154
Does anyone think or know if it would be catastrophic (meaning: requiring a flash) to either remove ;PatternChatAndEmail from the above string or comment out the PatternChatAndEmail=4;3;1;1;30;360;0;100;154 line?

I am hesitant to do so as iv heard the mce.ini file is 'dangerous' and iv already had to reflash my tablet once (a little too aggressive with remapping some keys... oops), so if anyone knows flat-out i would appreciate you sharing your knowledge =]
It worksforme. Just make sure you comment out both the name in the VibratorPatterns list and the Pattern definition itself, otherwise it will probably complain at you. As for MCE being dangerous, it handles things like the power button and device state, so it is possible to do dumb things with it, but my guess is that the LED/vibra patterns are pretty safe to fiddle with. You'll probably want to reboot after changing it, as this will make it take effect immediately (this being Linux, I'm sure you can do it without rebooting, but I don't know how off the top of my head). The vibra controller chip itself is capable of changing the strength of vibration, but I'm not sure if you can do that through MCE directly.
Cheers
Reply With Quote
The Following 5 Users Say Thank You to For This Useful Post:
  #3  
Old 2010-01-25, 00:40
hallgreng hallgreng is offline
 
Join Date: Jan 2006
Posts: 63
Thanks!: 5
Thanked 21 Times in 11 Posts
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

i commented out the second string and restarted the mce service.
works perfectly and it even boots up =]

to stop/start the mce service (and others) do the following:
Code:
stop mce
start mce
dont use
Code:
/etc/init.d/mce stop|restart
it just reboots =]

thanks for your help!
Reply With Quote
The Following 5 Users Say Thank You to hallgreng For This Useful Post:
  #4  
Old 2010-01-25, 00:45
jaem
Guest
 
Posts: n/a
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

Quote:
Originally Posted by hallgreng View Post
i commented out the second string and restarted the mce service.
works perfectly and it even boots up =]

to stop/start the mce service (and others) do the following:
Code:
stop mce
start mce
dont use
Code:
/etc/init.d/mce stop|restart
it just reboots =]

thanks for your help!
Riiight, I forgot they were using Upstart, and in any case, it's not something I'm familiar with (having moved away from Ubuntu before they switched). Glad to be of assistance.
On an aside, though, is using the old SysV-style init.d scripts generally the Wrong Way on the N900? My impression was that Upstart still supported that mechanism as legacy.
Reply With Quote
  #5  
Old 2010-04-14, 20:22
HtheB's Avatar
HtheB HtheB is offline
Moderator
 
Join Date: Dec 2009
Location: Bize Her Yer Trabzon
Posts: 3,712
Thanks!: 4,103
Thanked 7,419 Times in 1,959 Posts
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

Works over here too
Finally...
I hate the vibrating for IM
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
Reply With Quote
  #6  
Old 2010-06-24, 12:50
SimonGie SimonGie is offline
 
Join Date: Jun 2010
Location: United Kingdom....for now.
Posts: 52
Thanks!: 7
Thanked 17 Times in 10 Posts
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

I have done the above and it works for both Silent and General profiles.
Is it possible to turn off vibrate for just the General profile?
Reply With Quote
  #7  
Old 2011-01-26, 15:52
sivaji sivaji is offline
 
Join Date: Jan 2011
Posts: 2
Thanks!: 0
Thanked 0 Times in 0 Posts
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

Quote:
Originally Posted by jaem View Post
It worksforme. Just make sure you comment out both the name in the VibratorPatterns list and the Pattern definition itself, otherwise it will probably complain at you. As for MCE being dangerous, it handles things like the power button and device state, so it is possible to do dumb things with it, but my guess is that the LED/vibra patterns are pretty safe to fiddle with. You'll probably want to reboot after changing it, as this will make it take effect immediately (this being Linux, I'm sure you can do it without rebooting, but I don't know how off the top of my head). The vibra controller chip itself is capable of changing the strength of vibration, but I'm not sure if you can do that through MCE directly.
Cheers
Hi,

Today I bought a new N900.. I have problem with touch vibration. I hope this will work similarly for touch vibration. But please let me know how to comment it.. it would be great if you explain it with an example.
Thanks,
Sivaji
Reply With Quote
  #8  
Old 2011-01-26, 16:05
Switch_'s Avatar
Switch_ Switch_ is offline
 
Join Date: Mar 2010
Location: Redditch, UK
Posts: 601
Thanks!: 1,236
Thanked 549 Times in 258 Posts
Send a message via Yahoo to Switch_ Send a message via Skype™ to Switch_
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

If you don't like the haptic feedback (vibration on touch) then you can manually change that in settings without risking anything like commenting out lines in your mce.ini file.

Settings - Profiles - Untick the check box next to Vibrate.

Note that this will kill all vibration in the profile, so when it rings it won't vibrate, when you get an SMS it won't vibrate etc.

If you really want to edit mce then download leafpad / vim / nano whatever text editor you want and go, in Xterm;

Code:
leafpad /etc/mce/mce.ini
Scroll right to the bottom of the file and add a
Code:
#
to the line that currently states
Code:
PatternTouchscreen=10;3;0;0;23;0;15;50;255
so that it reads
Code:
# PatternTouchscreen=10;3;0;0;23;0;15;50;255
If it bricks your phone then have fun flashing!
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---

Last edited by Switch_; 2011-01-26 at 16:16. Reason: added mce.ini edit instructions
Reply With Quote
The Following User Says Thank You to Switch_ For This Useful Post:
  #9  
Old 2011-03-02, 07:10
eefo's Avatar
eefo eefo is offline
 
Join Date: Dec 2010
Location: pakistan
Posts: 1,444
Thanks!: 679
Thanked 461 Times in 278 Posts
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

and what if i wanted to have vibration only for calls and for texts ?
Reply With Quote
  #10  
Old 2011-05-05, 13:24
Shivu025 Shivu025 is offline
 
Join Date: Apr 2011
Posts: 7
Thanks!: 18
Thanked 3 Times in 2 Posts
Default Re: Question regarding disabling vibration for IM/Email (mce.ini)

I am new to maemo(N900).. but still easily understandable.. even though I had to make some search for getting admin authority (enable root to edit/stop/start mce).. vibration disabled and working fine.

Thanks a lot..

Last edited by Shivu025; 2011-05-05 at 14:01.
Reply With Quote
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:49.