faux123/msm8660-htc-ics — pull request #7 by yank555-lu (2012-06-19 22:38:31+00:00)
Title: Sweep2wake via /sys filesystem or cmdline

Hi faux,

I've found a spare hour and made the change I was thinking of earlier.

If you're interested to add it, pull the 2 last commits (smartgit behaved strangely, and didn't commit everything at once :( ).

Show-p's scripts will still work fine (setting the default via cmdline), but it can now be changed at run time by simply echo'ing 0,1,2 to /sys/kernel/sweep2wake/s2w_switch.

A reboot will reset to the default value which (if none is specified via cmdline) is 2, enabled without backlight, my personal favorite ;)

JP.