Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Question regarding disabling vibration for IM/Email (mce.ini)

    Reply
    hallgreng | # 1 | 2010-01-24, 23:32 | Report

    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 =]

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to hallgreng For This Useful Post:
    HtheB, Manul, Shivu025, zillertal

     
    jaem | # 2 | 2010-01-25, 00:32 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to For This Useful Post:
    hallgreng, HtheB, Manul, rajil.s, zillertal

     
    hallgreng | # 3 | 2010-01-25, 00:40 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to hallgreng For This Useful Post:
    egoshin, figaro, fusi, HtheB, Manul

     
    jaem | # 4 | 2010-01-25, 00:45 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    HtheB | # 5 | 2010-04-14, 20:22 | Report

    Works over here too
    Finally...
    I hate the vibrating for IM

    Edit | Forward | Quote | Quick Reply | Thanks

     
    SimonGie | # 6 | 2010-06-24, 12:50 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sivaji | # 7 | 2011-01-26, 15:52 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Switch_ | # 8 | 2011-01-26, 16:05 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Switch_; 2011-01-26 at 16:16. Reason: added mce.ini edit instructions
    The Following User Says Thank You to Switch_ For This Useful Post:
    Shivu025

     
    eefo | # 9 | 2011-03-02, 07:10 | Report

    and what if i wanted to have vibration only for calls and for texts ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Shivu025 | # 10 | 2011-05-05, 13:24 | Report

    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..

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Shivu025; 2011-05-05 at 14:01.

     
vBulletin® Version 3.8.8
Normal Logout