← Back to team overview

ubuntu-phone team mailing list archive

Re: Phone Network ( help )

 

Well,

i guess i got it partialy working... but my phone froze... I will start
over what i did and see the logs to post here!

I just add the user "radio" using useradd.  Did some otehr stuff reladted
to dbus and once i runed the command i got an SMS..

I try call my phone and it "rang" he phone that was dialing were saying it
was ringing. but my phone was froze.

I will start over and post my results!

But it seens is missing the user =]

thanks

If anyone have anyother ideias it would be great!



[]'sf.rique


On Wed, Apr 10, 2013 at 11:13 PM, Henrique Santos Fernandes <
sf.rique@xxxxxxxxx> wrote:

> So this is what i got.
>
> Still not working, i just made a clean build.
>
> Running:
> root@localhost:/# initctl start ofono
> ofono start/running, process 697
>
>
> Got this on log cat:
> E/RILC    (  140): RILD can't accept socket from process root
> E/RILC    (  140): RILD must accept socket from radio
>
>
> and this on syslog:
> Apr 11 01:54:32 localhost kernel: [  485.357694] init: ofono pre-start
> process (694) exited normally
> Apr 11 01:54:32 localhost kernel: [  485.365885] init: ofono state changed
> from pre-start to spawned
> Apr 11 01:54:32 localhost kernel: [  485.392153] init: ofono main process
> (696)
> Apr 11 01:54:32 localhost kernel: [  485.410736] init: ofono main process
> (696) executable changed
> Apr 11 01:54:32 localhost kernel: [  485.424551] init: ofono main process
> (696) became new process (697)
> Apr 11 01:54:32 localhost kernel: [  485.425423] init: ofono state changed
> from spawned to post-start
> Apr 11 01:54:32 localhost kernel: [  485.426895] init: ofono state changed
> from post-start to running
> Apr 11 01:54:32 localhost ofonod[697]: oFono version 1.9
> Apr 11 01:54:32 localhost ofonod[697]: src/plugin.c:__ofono_plugin_init()
> Apr 11 01:54:32 localhost ofonod[697]: Excluding AT modem driver
> Apr 11 01:54:32 localhost ofonod[697]:
> plugins/push-notification.c:push_notification_init()
> Apr 11 01:54:32 localhost ofonod[697]:
> plugins/smart-messaging.c:smart_messaging_init()
> Apr 11 01:54:32 localhost ofonod[697]:
> src/cdma-provision.c:ofono_cdma_provision_driver_register() driver: 0x76ccc
> name: CDMA provisioning
> Apr 11 01:54:32 localhost ofonod[697]:
> src/gprs-provision.c:ofono_gprs_provision_driver_register() driver: 0x76ca0
> name: Provisioning
> Apr 11 01:54:32 localhost ofonod[697]:
> drivers/rilmodem/rilmodem.c:rilmodem_init()
> Apr 11 01:54:32 localhost ofonod[697]:
> src/modem.c:ofono_devinfo_driver_register() driver: 0x765fc, name: rilmodem
> Apr 11 01:54:32 localhost ofonod[697]:
> src/voicecall.c:ofono_voicecall_driver_register() driver: 0x7663c, name:
> rilmodem
> Apr 11 01:54:32 localhost ofonod[697]:
> drivers/rilmodem/sms.c:ril_sms_init()
> Apr 11 01:54:32 localhost ofonod[697]:
> src/sms.c:ofono_sms_driver_register() driver: 0x7669c, name: rilmodem
> Apr 11 01:54:32 localhost ofonod[697]:
> src/network.c:ofono_netreg_driver_register() driver: 0x76618, name: rilmodem
> Apr 11 01:54:32 localhost ofonod[697]:
> src/call-volume.c:ofono_call_volume_driver_register() driver: 0x76684,
> name: rilmodem
> Apr 11 01:54:32 localhost ofonod[697]: plugins/ril.c:ril_init()
> ofono_modem_register returned: 0
> Apr 11 01:54:32 localhost ofonod[697]:
> src/modem.c:ofono_modem_driver_register() driver: 0x76594, name: ril
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:ofono_modem_create()
> name: (null), type: ril
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:set_modem_property()
> modem 0x1553f38 property Interface
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:set_modem_property()
> modem 0x1553f38 property Address
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:ofono_modem_register()
> 0x1553f38
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:get_modem_property()
> modem 0x1553f38 property Interface
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:get_modem_property()
> modem 0x1553f38 property Address
> Apr 11 01:54:32 localhost ofonod[697]: plugins/ril.c:ril_probe()
> (0x1553f38) with ttys / 0
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:emit_modem_added()
> 0x1553f38
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:call_modemwatches()
> 0x1553f38 added:1
> Apr 11 01:54:32 localhost ofonod[697]:
> plugins/smart-messaging.c:modem_watch() modem: 0x1553f38, added: 1
> Apr 11 01:54:32 localhost ofonod[697]:
> plugins/push-notification.c:modem_watch() modem: 0x1553f38, added: 1
> Apr 11 01:54:32 localhost ofonod[697]: plugins/ril.c:ril_init()
> ofono_modem_register returned: 0
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:ofono_modem_reset()
> 0x1553f38
> Apr 11 01:54:32 localhost ofonod[697]: plugins/ril.c:ril_enable()
> modem=0x1553f38 with ttys
> Apr 11 01:54:32 localhost ofonod[697]: src/modem.c:modem_change_state()
> old state: 0, new state: 1
> Apr 11 01:54:32 localhost ofonod[697]: plugins/ril.c:ril_pre_sim()
> (0x1553f38) with ttys
> Apr 11 01:54:32 localhost ofonod[697]:
> drivers/rilmodem/devinfo.c:ril_devinfo_probe()
> Apr 11 01:54:32 localhost ofonod[697]: gril/gril.c:ril_request_create()
> req: RIL_REQUEST_GET_SIM_STATUS, id: 1, data_len: 0
> Apr 11 01:54:32 localhost ofonod[697]: gril/gril.c:g_ril_send() calling
> wakeup_writer: qlen: 1
> Apr 11 01:54:34 localhost ofonod[697]:
> drivers/rilmodem/devinfo.c:ril_delayed_register()
>
> But on the syslog i don't see any erros rigtht?
>
> What else can i do?
>
> Thanks
>
> []'sf.rique
>
>
> On Tue, Mar 26, 2013 at 10:41 AM, Tony Espy <espy@xxxxxxxxxxxxx> wrote:
>
>> On 03/25/2013 10:06 PM, Henrique Santos Fernandes wrote:
>> >
>> > []'sf.rique
>> >
>> >
>> > On Mon, Mar 25, 2013 at 3:31 PM, Tony Espy <espy@xxxxxxxxxxxxx
>> > <mailto:espy@xxxxxxxxxxxxx>> wrote:
>> >
>> >     On 03/24/2013 01:06 AM, Henrique Santos Fernandes wrote:
>> >     > Hello guys,
>> >     >
>> >     > Can someone help me?
>> >     > My problem is that my phone ( GT-I9000B ) is not getting any
>> >     signal from
>> >     > my operator. ( Yes, my SIM is unlocked. )
>> >     >
>> >     > The only thing i can see in the logs that maybe related is that:
>> >     > Maybe someone can show my where to look or what to do to get
>> >     Signal from
>> >     > network? To be able to call and SMS
>> >
>> >     If ofono can't talk to RILD, then you won't be able to do either.
>> >
>> >     The ofono output shows a Connection Refused (111) when ofono
>> attempts to
>> >     open the RILD command socket.
>> >
>> >     Are you sure you pulled all of our source/patches correctly for the
>> CM
>> >     side of things?
>> >
>> >
>> > I did the  /usr/bin/phablet-dev-bootstrap
>> >
>> > And just add the repo for my device...
>> >
>> > I did this one  https://wiki.ubuntu.com/Touch/Devices/galaxysbmtd   (
>> > also wrote )
>>
>> OK
>>
>> >     In particular, you want to ensure that you grabbed the RILD patch
>> which
>> >     disables credential checking:
>> >
>> >
>> http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_hardware_ril.git;a=shortlog;h=refs/heads/phablet-10.1
>> >
>> >     See the first commit listed (
>> >
>> http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_hardware_ril.git;a=commit;h=25abac715370ee5dc689715fd2cb7be612125971
>> >     ).
>> >
>> >     Without this patch, RILD will reject connections from ofono.
>> >
>> >
>> > My file is a lite diferent from the commit, but i i guess i have the
>> > right patch.
>> >
>> > The /usr/bin/phablet-dev-bootstrap -c  should take care right?
>>
>> Running this will continue a previously interrupted sync.  So if a
>> previous sync was stopped before completion, this will resume the sync
>> at the point it had stopped.
>>
>> > How can i check if it is rigth?
>>
>> You can examine the file and ensure that the lines that were supposed to
>> be removed by the patch are gone:
>>
>>
>> http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_hardware_ril.git;a=commitdiff;h=25abac715370ee5dc689715fd2cb7be612125971
>>
>> > And if it is right, can i do anything else?
>>
>> If that doesn't solve the problem, then I'd suggest making ofono a
>> manual upstart job by running the followning command in the container:
>>
>> echo "manual" >> /etc/init/ofono.override
>>
>> ** NOTE ** if you do this, don't forget to remove it, once things work.
>>
>> Reboot your phone, and from a term on your laptop/desktop run:
>>
>> adb logcat -b radio RILC:D | grep RILC
>>
>> Now from inside the container, run:
>>
>> # initctl start ofono
>>
>> In the adb output, if things are working, you should see:
>>
>> I/RILC    (  127): libril: new connection
>>
>> If not, please note any errors logged.
>>
>> Regards,
>> /t
>>
>>
>

Follow ups

References