All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: RE: The way to install proper driver for 3G dongle in oFono
Date: Thu, 22 Dec 2011 19:26:23 -0800	[thread overview]
Message-ID: <1324610783.1965.228.camel@aeonflux> (raw)
In-Reply-To: <688E999A39D0DD478D9CFCDC485D64828892@SHSMSX102.ccr.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]

Hi Ying An,

> >and what about the case when the SIM card is present, but PIN locked?
> >
> >> According to the result, it might be interesting to send ATI when the
> >> constructor plugin is probe by oFono.
> >> Thus with +GCAP info we can decide which driver to use.
> >
> >Is sending +GCAP after ATI really a standard? Have we tried anything
> >else besides Huawei or ZTE?
> 
> I tried with more dongles from different vendors, as attached table.
> The scenarios include:
> With valid sim card, sim card PIN locked, no sim card, sim card locked.
> N(ROM) in table indicates the SIM in ROM already.
> ATI command can always return GCAP content in all tests.

and what about other manufactures other than Huawei, ZTE and SpeedUp?
What about Sierra, Ericsson etc.?

> >Also you do realize that the GAtChat object and thus the file descriptor
> >is owned by the modem plugin. The plugin itself is the only one that
> >should do any kind of IO.
> >
> >So if we require to run ATI first to identify if we are GSM or CDMA,
> >then this is a per modem manufacture specific detail. And we rather add
> >a helper function like we did for CPIN polling that makes this easier.
> >
> 
> In current code the 'driver' is hardcoded by comparing with vendor_list[].
> So if it possible to break the step into several:
> vendor_list[] in udevng just cares about vendor - by comparing vendor ID only,
> and add all possible drivers according to that vendor - (for example add 
> WCDMA, CDMA2k, TDSCDMA, LTE ...drivers if Huawei dongle is plugged in),
> and the probe interface in each driver does real probe work as to issue
> ATI command to ensure only correct driver will be loaded?

As I said before, the only time IO can be started is when the ->enable()
callback of the modem plugin is called. Not a second earlier.

Regards

Marcel



  reply	other threads:[~2011-12-23  3:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20  8:44 The way to install proper driver for 3G dongle in oFono Deng, Ying An
2011-12-20 11:02 ` Guillaume Zajac
2011-12-20 16:01   ` Guillaume Zajac
2011-12-20 16:41     ` Marcel Holtmann
2011-12-21  7:34       ` Deng, Ying An
2011-12-21 16:05         ` Marcel Holtmann
2011-12-22  9:48           ` Guillaume Zajac
2011-12-22 17:09             ` Marcel Holtmann
2011-12-23  3:18               ` Deng, Ying An
2011-12-23  3:26                 ` Marcel Holtmann [this message]
2011-12-23  4:01                   ` Deng, Ying An
2011-12-23  4:44                     ` Marcel Holtmann
2011-12-23 14:03                       ` Deng, Ying An
2012-01-04  9:57                         ` Guillaume Zajac
2012-01-04 15:29                           ` Marcel Holtmann
2012-01-04 15:48                             ` Guillaume Zajac
2012-01-04 16:12                               ` Marcel Holtmann
2012-01-04 16:31                                 ` Guillaume Zajac
2012-01-04 16:48                                   ` Marcel Holtmann
2012-01-05  8:59                                     ` Guillaume Zajac
2012-01-05 10:44                                       ` Marcel Holtmann
2012-01-05 16:17                                         ` Guillaume Zajac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1324610783.1965.228.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.