View Single Post
  #913 (permalink)  
Old 01-10-2011, 06:27 PM
Lmiller1708's Avatar
Lmiller1708
Flashaholic!
Offline
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by natemcnutty View Post
There are two catches that I've been thinking about. First, when does machine_variant get populated? Second, what about CDMA users who use a SIM card? I'd love to find a way to detect the actual SIM card, and then you don't need machine_variant and will always use a SIM if available

For the pm.sleep_mode=1, it works great for me, but I don't know if it lowers performance or messes with drivers or anything. It seems to be stable and works well, even with an overclock, but I'd be curious to see what others think about that the full package I uploaded (since I removed force_cdma and set pm.sleep_mode=1 in that one).
Nate your CDMA detection did not work for me.
It looks like you should remove the quotes on the 1, like this...
Code:
if [ "$CDMA" = 1 ] ; then
sed -i -e "s:$: htc_hw.force_cdma=1" /tmp/cmdline
fi
__________________
Reply With Quote