Open Source Telephony
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: [V3 PATCH 3/3] Huawei: set Huawei EM770W modem device to 00
Date: Wed, 16 Feb 2011 18:19:17 -0800	[thread overview]
Message-ID: <1297909157.2519.21.camel@aeonflux> (raw)
In-Reply-To: <4D5C119F.8050305@gmail.com>

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

Hi Denis,

> >> This contradicts commit bb58a729073abcb6c5b0b2fb8b120973dfa42a07.
> > I can't quite understand why Dietrich needs to this commit. We formal configure can just make EM770W works.
> > Could you help on this?
> 
> The Huawei firmware is funny, it can actually reconfigure the modem and
> pcui ports (e.g. swap them).  So we might have to be a bit smarter and
> figure out which ports are actually being used for what inside the modem
> driver.

so I did apply this patch now since in the default settings the MDM port
should be on interface 0. All other ones are tempered with.

> Talk to Marcel, I believe he has played with the Huawei hardware the
> most and might have ideas on how to fix this.

And yes, I will add auto-detection for this now. It should be be
possible to figure this out.

ofonod[908]: PCUI: > AT^GETPORTMODE\r
ofonod[908]: PCUI: < \r\n^getportmode:type:WCDMA:Qualcomm,MDM:0,NDIS:1,DIAG:2,PCUI:3\r\n\r\nOK\r\n

All latest modules support ^GETPORTMODE command and the ones that don't
have only two ports anyway.

Regards

Marcel



  reply	other threads:[~2011-02-17  2:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-12  9:41 [V3 PATCH 1/3] PPP: Fix transmit ACCM and receive ACCM setting issue martin.xu
2011-02-12  9:41 ` [V3 PATCH 2/3] PPP: Use default ACCM (0xffffffff) to trasmit package martin.xu
2011-02-12  9:41   ` [V3 PATCH 3/3] Huawei: set Huawei EM770W modem device to 00 martin.xu
2011-02-14 20:28     ` Denis Kenzior
2011-02-15  7:03       ` Xu, Martin
2011-02-16 18:04         ` Denis Kenzior
2011-02-17  2:19           ` Marcel Holtmann [this message]
2011-02-14 20:26   ` [V3 PATCH 2/3] PPP: Use default ACCM (0xffffffff) to trasmit package Denis Kenzior
2011-02-14 20:25 ` [V3 PATCH 1/3] PPP: Fix transmit ACCM and receive ACCM setting issue Denis Kenzior

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=1297909157.2519.21.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox