View Single Post
  #377 (permalink)  
Old 10-28-2010, 11:36 PM
natemcnutty's Avatar
natemcnutty
VIP Member
Offline
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Auto-brightness Testing: 10-28. Automatic Keyboard Detection!

Quote:
Originally Posted by coolsilver View Post
Works ok on my Rhod500.

Then again you been building for RHOD500, so maybe someone else can confirm.
Quote:
Originally Posted by damage_them View Post
new roots is a go on rhod400 it detected it
Excellent. I took a little different approach. I had been trying to use cat /sys/class/htc_hw/machine_variant | grep -q RHOD50000 to return true, and it kept telling me file does not exist. Instead I created a variable in init called LAYOUT:

LAYOUT=`/bin/grep ".*0*" /sys/class/htc_hw/machine_variant`
and then did a if $LAYOUT="RHOD50000" elseif $LAYOUT="RHOD40000", etc.
Reply With Quote
This post has been thanked 3 times.