The files in /dev/oncrpc/ are used to communicate with the Qualcomm
baseband processor on Qualcomm chipsets.  If you are not using a
Qualcomm chipset then none of those files should be there at all.  If
you are on a Qualcomm chipset but /dev/oncrpc/3000008c:00010000 is
missing, then your chipset does not support the same version of the
GPS API.

Short answer is if you are porting android to a non-Qualcomm chipset
then the lib_locapi code won't help you at all.  You will need to
develop your own interface to whatever GPS you are using.

Mike

On Tue, Jan 18, 2011 at 2:46 AM, Danny Wu <danny.nicelo...@gmail.com> wrote:
> Hello,
> Can someone teach me how to or where can I build the rpc? I have no
> idea where the /dev/oncrpc/3000008c:00010000 can be generated...
> Thanks a lot.
>
> I m porting the Androind GPS, however, there seems something wrong in
> my android what the RPS seems does not exist. I have added chmod
> 0777 /
> dev/oncrpc in the common/init.rc but it seems no works. The following
> messages are my logcat, please teach me how to solve it, Thanks a
> lot!
>
> E/lib_api_rpc_glue(  806): Trying to create RPC client...
> E/RPC     (  806): error opening /dev/oncrpc/3000008c:00010000: No
> such file or directory
> E/RPC     (  806): ERROR OPENING [/dev/oncrpc/3000008c:00010000]: No
> such file or directory
> E/RPC     (  806): failed to initialize client (permissions?)!
> E/lib_api_rpc_glue(  806): Created loc_api_clnt ---- 0
> D/lib_locapi(  806): loc_eng_init called, client id = -1234
> D/lib_locapi(  806): loc_eng_ni_init: entered.
> I/lib_locapi(  806): Starting Loc NI thread...
> D/lib_locapi(  806): loc_eng_process_deferred_action started
> D/lib_locapi(  806): loc_eng_set_gps_lock mode, client = -1234,
> lock_type = 1
> D/lib_locapi(  806): loc_eng_set_gps_lock mode failed
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
>



-- 
Mike Lockwood
Google android team

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to