Hi Daniel,

>-----Original Message-----
>From: Daniel Wagner [mailto:[email protected]]
>Sent: Friday, December 16, 2011 5:31 PM
>To: Wang, Arron
>Cc: [email protected]; [email protected]
>Subject: Re: [PATCH 2/4] ofono: Enable and disable the modem through online
>interface
>
>Hi Arron,
>
>On 16.12.2011 10:15, Wang, Arron wrote:
>>> On 16.12.2011 09:40, Wang, Arron wrote:
>>>> In the IRC, we talked use Powered to take the modem enable/disable
>actions,
>>>> but in fact we always need to powered the modem first else we can't
>>>> communicate with the modem anymore.
>>>
>>> If the technology is disabled there is no to power up new modems.
>>>
>>>> Also when we disable the modem, we set
>>>> the Powered state to False, this may lead the device is removed and we
>>>> can't
>>>> enable it again, then I use online interface for disable/enable modem.
>>>
>>> This sounds rather nasty that the Modem object goes away when the modem
>>> is powered down. Do we really have to add workaround in the ConnMan
>>> plugin for this? Is this supposed to be the right behavior, or just 'a
>>> bug' in oFono modem driver?
>>
>> The old ofono plugin use online interface and works well. ofono can
handle
>> powered and unpowered well, but connman need the modem to be powered
>before
>> create_device this may block we use powered as indicate for
enable/disable
>> modem.
>
>If the technology is disabled why would we want to call create_device()?
>We don't have to track the modems at all. If the technology is enabled
>we power up (call create_device()) and set the modems online.

If the device is not created, then the device is not registed and not added
in the technology which may lead this type technology and notifer not
registed if it does not have the rfkill, then we can't enable that
technology now.

Thanks
Arron

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to