View Single Post
Posts: 66 | Thanked: 30 times | Joined on Feb 2010
#27
Originally Posted by fhofer View Post
I tried it via /etc/pmconfig, but experienced some issues, cf. http://talk.maemo.org/showthread.php?t=48207 . But anyways, egoshin's advice suggests that the order of the commands matters and that cannot be achieved via /etc/pmconfig I am afraid.

I was thinking about a startup script that would call a smartreflex-enabler script in MyDocs. If there was an issue, then you would just connect the N900 in USB mass storage mode and the smartreflex-enabler script would not be available..
I could not get the startup script with the external script running, so I took the risk and put a file with the following content to /etc/event.d:

Code:
start on started hildon-desktop

script
	echo "1" >/sys/power/sr_vdd2_autocomp
	echo "1" >/sys/power/sr_vdd1_autocomp
end script
This works and my device is alive so far...
 

The Following User Says Thank You to fhofer For This Useful Post: