![]() |
2010-04-18
, 05:41
|
|
Posts: 61 |
Thanked: 13 times |
Joined on Mar 2010
|
#12
|
![]() |
2010-04-19
, 16:29
|
|
Administrator |
Posts: 1,036 |
Thanked: 2,019 times |
Joined on Sep 2009
@ Germany
|
#13
|
Hi,
i am not programmer but just an idea which i guess should not be very difficult to implement.
Usually we keep our phones on a hard surface when on charging mode and so when i get a call or a msg it vibrates, scratching the lower body. Plus, i also dont like the sound of vibration on a hard surface.
Can anyone make a hack that disables vibration mode when charging and re-enables it when removed from charging mode?
The Following User Says Thank You to chemist For This Useful Post: | ||
![]() |
2010-04-19
, 16:47
|
Posts: 123 |
Thanked: 46 times |
Joined on Jan 2010
@ New Delhi, India
|
#14
|
Please have a look at my signature for how to proceed in brainstorming.
A third profile automatically active while on charger would be nice, just like earphones and so on. Why only for chargers? make it an option for several things to watch.
![]() |
2010-04-28
, 12:10
|
Posts: 274 |
Thanked: 82 times |
Joined on Dec 2009
|
#15
|
![]() |
2010-04-29
, 03:57
|
Posts: 123 |
Thanked: 46 times |
Joined on Jan 2010
@ New Delhi, India
|
#16
|
![]() |
2010-04-30
, 17:20
|
|
Posts: 91 |
Thanked: 32 times |
Joined on Jan 2008
@ Near: Gilroy, CA
|
#17
|
The Following User Says Thank You to thecubed For This Useful Post: | ||
![]() |
2010-06-26
, 07:08
|
|
Posts: 91 |
Thanked: 32 times |
Joined on Jan 2008
@ Near: Gilroy, CA
|
#18
|
The Following User Says Thank You to thecubed For This Useful Post: | ||
![]() |
2010-07-17
, 19:37
|
Posts: 123 |
Thanked: 46 times |
Joined on Jan 2010
@ New Delhi, India
|
#19
|
ALL DONE!
To install:
first, make sure you have some form of root shell available (some use "sudo gainroot", others just type "root")
1. install dbus-scripts from extras-devel (I just wget and dpkg'd the deb file, since I don't like how much extras-devel slows down hildon-application-manager)
2. as root, run the following commands:
wget http://thecubed.com/n900/install-charger-power.sh
chmod +x install-charger-power.sh
./install-charger-power.sh
Once the script finishes, you should be able to disconnect and reconnect your charger and see a banner that says something about the vibration being disabled or enabled.
To disable this functionality:
edit the /etc/dbus-scripts.d/charger-vibrate-control file and comment out the two lines for enable and disablevibrate. After you comment out those lines, run "killall dbus-scripts" as root, and that'll reload the configs.
PLEASE NOTE: I have tested the actual charger power scripts on my phone all day, and it had no side effects, however, my method of packaging the scripts may be buggy. If you encounter any errors, please let me know so that I can fix it before I continue.
If anyone wants to clean up this, or has any modifications-- please let me know. Criticism is good!
![]() |
2011-03-13
, 11:09
|
Posts: 10 |
Thanked: 2 times |
Joined on Mar 2011
|
#20
|
any update on the app? am waiting to test