![]() |
2010-04-05
, 07:31
|
Posts: 58 |
Thanked: 65 times |
Joined on Oct 2009
@ Finland
|
#2
|
![]() |
2010-04-05
, 10:18
|
Posts: 156 |
Thanked: 90 times |
Joined on Jan 2010
|
#3
|
The Following User Says Thank You to rooted For This Useful Post: | ||
![]() |
2010-04-05
, 10:23
|
Posts: 254 |
Thanked: 95 times |
Joined on Feb 2010
@ New Delhi, India
|
#4
|
navsin: those two commands are same. Spaces do not make difference, because they're ignored, nor do the quotation marks. They're used if you're echoing words/sentences which have spaces between them, for example: echo "I want SmartReflex enabled by default!"
Thus echo 1 = echo "1".
The only difference I see is the order in which values are echoed.
![]() |
2010-04-05
, 10:43
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#5
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
![]() |
2010-04-05
, 11:04
|
Posts: 254 |
Thanked: 95 times |
Joined on Feb 2010
@ New Delhi, India
|
#6
|
![]() |
2010-04-05
, 11:11
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#7
|
![]() |
2010-04-05
, 11:14
|
Posts: 254 |
Thanked: 95 times |
Joined on Feb 2010
@ New Delhi, India
|
#8
|
![]() |
2010-04-05
, 11:20
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#9
|
But on a serious note, are you pretty sure that these two commands do nothing?
![]() |
2010-04-05
, 12:00
|
Posts: 148 |
Thanked: 31 times |
Joined on Mar 2010
|
#10
|
One is the following post by Vasillalov which basically guides the users on various settings:
http://talk.maemo.org/showpost.php?p=410388&postcount=1
The second one, and the one relevant for this post is the smartreflex battery enhancement command set which has been described differently at different places. On the bug report page
https://bugs.maemo.org/show_bug.cgi?id=7633
it says that the text of the command is
echo 1 > /sys/power/sr_vdd1_autocomp
echo 1 > /sys/power/sr_vdd2_autocomp
In another post http://talk.maemo.org/showpost.php?p...9&postcount=16 , I came across a different syntax (and a different sequence) of the same command.
echo "1" >/sys/power/sr_vdd2_autocomp
echo "1" >/sys/power/sr_vdd1_autocomp
I have tried both and it seems that the latter seems to work better. Can someone else confirm what is the correct syntax and the sequence of these commands?