All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Multiplexer PH8 Cinterion modem
Date: Wed, 04 Jun 2014 09:30:44 -0500	[thread overview]
Message-ID: <538F2D94.7010009@gmail.com> (raw)
In-Reply-To: <3921A44ACDC6C642B0BF6D8E48A862D19C0E86E02E@pdc.office.intemo.com>

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

Hi Mark,

On 06/04/2014 03:26 AM, Mark vd. Putten wrote:
> I have got a PH8 Cinterion modem.
> 
> gatmux.c        ->      g_at_mux_setup_gsm0710
> Queries the modem for available multiplex modes
> The modem only returns a list with mode 0
> 
> ofonod[7120]: Setup: > AT+CMUX=?\r
> ofonod[7120]: Setup: < \r\n+CMUX: (0)\r\n\r\nOK\r\n
> 
> This is not correctly handles by
> gatmux.c        ->      mux_query_cb
> 
> It expects another subset
> 798     /* Subset */
> 799     if (!g_at_result_iter_open_list(&iter))
> 800             goto error;
> 
> Multiplex port is on USB and therefore has no requirements on speed.

subset parameter is not about speed.  It has been a while, but I believe
we only support UIH framing mode, hence why that code checks for subset=0.

> 
> What would be the best solution in changing this?
> Hack the gatmux.c?
> 

In general GAtMux tries to make the most intelligent choice based on the
standard CMUX syntax (per 27.007).  In cases where a modem does
something different and this logic breaks down, one can always setup the
MUX manually.  Refer to plugins/ifx.c and plugins/sim900.c for examples.

Regards,
-Denis

      reply	other threads:[~2014-06-04 14:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04  8:26 Multiplexer PH8 Cinterion modem Mark vd. Putten
2014-06-04 14:30 ` Denis Kenzior [this message]

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=538F2D94.7010009@gmail.com \
    --to=denkenz@gmail.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 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.