-d /dev/socket/rild is wrong.
try /dev/ttyUSB(*) 

make sure your device driver is loaded.





2011-01-31 



lnxarm 



发件人: PingZhen Zhang 
发送时间: 2011-01-31  15:20:36 
收件人: Hamilton Vera 
抄送: android-porting 
主题: Re: [android-porting] problem with use " /system/bin/rild " dynamically 
 
I have tried these devices:
/dev/socket/rild
/dev/ttyHS0
/dev/tty
/dev/smd0



they are all fail.


I found someone said "/dev/ttyS0", but my phone don't have this device, and i 
guess this device is only in emulator. 


which device should i use?





On Tue, Feb 1, 2011 at 2:57 AM, PingZhen Zhang <[email protected]> wrote:

My Devices is G1,  rooted,  and there is another App could switch ril .


So, i think my device is ok.




On Tue, Feb 1, 2011 at 2:28 AM, Hamilton Vera <[email protected]> wrote:

Please make sure that these devices are able to understand AT commands.

[]'s

Hamilton Vera


On Mon, Jan 31, 2011 at 8:06 AM, Acmee <[email protected]> wrote:
> Hi All,
>
> i have a 3th party ril, and have used it's switcher to load this
> xxx_ril.so succesfully.
>
> and i use:
>
> # /system/bin/rild -l /system/lib/libhtc_ril.so -- -d /dev/socket/rild
>
> to dynamic load htc_ril.
>
> but the "logcat -b radio" always tell
>
> "Failed to get socket 'rild'"
>
> and i try to replace the devpath " /dev/socket/rild" with "/dev/
> ttyHS0" and "/dev/tty" or "/dev/smd0" and so on.
>
> the logcat also shows "Failed to get socket 'rild'"
>
> and if i use the 3th party software  to switch ril,
>
> the logcat shows
>
> ”E/RILJ    (  155): Hit EOS reading message length
> I/RILJ    (  155): Disconnected from 'rild' socket
> ........“
>
> what do i miss?
>
> thanks verymuch for help.
>
> best regards.
>

> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



--
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com





-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to