How to make my libreference-ril.so work in the HTC dream unlock developer phone?

by Weber » Thu, 22 Apr 2010 09:01:49 GMT


Sponsored Links
 i
I have the same problem with Bo
There is codes in reference-ril.c
if ( fd >= 0 && !memcmp( s_device_path, "/dev/ttyS",
9 ) ) {<<<<maybe ttyS should be changed to ttyHS or ...
/* disable echo on serial ports */
struct termios ios;
tcgetattr( fd, &ios );
ios.c_lflag = 0; /* disable ECHO, ICANON, etc...
*/
tcsetattr( fd, TCSANOW, &ios );
}
in fact,I have changed '"ttyS" ,9' to'"ttyUSB,11"'(ttyUSB is my
device file ) ,but it still not work
Could anyone tell me how to do?
Thanks
--Weber
On 49 14 Bo <zhaobo...@gmail.com> wrote:

--



Other Threads

1. How to receive process signals in a service / activity to kill child process ?

My application calls Runtime.exec to launch an executable in a
separate process at start up time. I would like this child process to
get killed when the parent activity exits. Now I can use onDestroy()
to handle regular cases, but not "Force quit", shutdowns from DDMS, or
kill from the console since those don't run onDestroy().
The addShutdownHandler() does not seem to be invoked in these cases
either.

Is there any other hook or signal handler that informs my activity
that it's about to get terminated ? As an alternative is there a way
to have the system automatically kill the child process when the
parent dies ?

-- 

2. mohon bantu root desire

ada yg bisa bantuin newbie unt rooted desire g??
klo bisa lokasi sby supaya ketemuan n chat2 :)

ato intruksi yg pake bahasa Ind/?

tq SUHU2

-- 
"Indonesian Android Community [id-android]" 

3. Nonton Gratis Wonder Girl

4. Can any Android Phones operate without a battery?

5. Can any Android Phones operate without a battery?

6. (ASK) Twitter client yg ud support Twitlonger?

7. CPM Plugins don't have permission to write external storage?