Open Source Telephony
 help / color / mirror / Atom feed
From: Olivier Guiter <olivier.guiter@linux.intel.com>
To: ofono@ofono.org
Subject: Re: Dedug Log for Huawei EC168C
Date: Wed, 04 May 2011 18:08:22 +0200	[thread overview]
Message-ID: <4DC179F6.6050104@linux.intel.com> (raw)
In-Reply-To: <BANLkTi=a3hHpUUQ2crGgBb3WFQU40W37eg@mail.gmail.com>

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


On 05/04/2011 06:04 PM, rajeshkumar s.a wrote:
> rules
> ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", 
> ENV{OFONO_IFACE_NUM}=="00", ENV{OFONO_HUAWEI_TYPE}="Modem"
> ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", 
> ENV{OFONO_IFACE_NUM}=="02", ENV{OFONO_HUAWEI_TYPE}="Pcui"
> ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", 
> ENV{OFONO_IFACE_NUM}=="04", ENV{OFONO_HUAWEI_TYPE}="gps"
> ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1412", 
> ENV{OFONO_IFACE_NUM}=="05", ENV{OFONO_HUAWEI_TYPE}="pcvoice"
>
> lsusb
> Bus 003 Device 002: ID 12d1:1412 Huawei Technologies Co., Ltd.
>
> rajesh
>
> On Wed, May 4, 2011 at 9:31 PM, rajeshkumar s.a 
> <rajeshkumar.s.a(a)gmail.com <mailto:rajeshkumar.s.a@gmail.com>> wrote:
>
>     How do I get the proper ofono_interface_num ? (n00b ques)
>
>     rajesh
>
>
>     On Wed, May 4, 2011 at 9:26 PM, Olivier Guiter
>     <olivier.guiter@linux.intel.com
>     <mailto:olivier.guiter@linux.intel.com>> wrote:
>
>         On 05/04/2011 05:35 PM, rajeshkumar s.a wrote:
>>         PFA, the debug log with AT commands
>>
>>         I am still getting a timeout on enable-modem operation
>>
>>         and list-modem gives following o/p
>>
>>         $ ./list-modems
>>         [ /huawei0 ]
>>             Features =
>>             Emergency = 0
>>             Powered = 0
>>             Lockdown = 0
>>             Interfaces =
>>             Online = 0
>>
>>         Regards,
>>         Rajesh
>>
>         As far i can see, ofono communicates using the wrong USB
>         interface .... I suggest you to modify the
>         //etc/udev/rules.d/ofono.rules///to use the correct one
>         First, get the idvendor and id product of your key (e.g: lsusb)
>         Then check in the ofono.rules  a line like this one:
>         |ATTRS{idVendor}=="19d2",
>         ATTRS{idProduct}=="0121",ENV{OFONO_IFACE_NUM}=="04", 
>         ENV{OFONO_ZTE_TYPE}="modem"
>         |And update the OFONO_IFACE_NUM
>         These keys publish multiple interfaces with different purposes
>         (like modem diag, traces, etc...)
>         Hope this help
>         Olivier
>
>
>
>
It is modem specific...so i don't know :( ... you must test ...
Olivier

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 4651 bytes --]

  reply	other threads:[~2011-05-04 16:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 15:35 Dedug Log for Huawei EC168C rajeshkumar s.a
2011-05-04 15:56 ` Olivier Guiter
2011-05-04 16:01   ` rajeshkumar s.a
2011-05-04 16:04     ` rajeshkumar s.a
2011-05-04 16:08       ` Olivier Guiter [this message]
2011-05-04 16:41 ` Aygon, Bertrand

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=4DC179F6.6050104@linux.intel.com \
    --to=olivier.guiter@linux.intel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox