From: "Mário Isidoro" <marioisidoro@gmail.com>
To: "Eric Bénard" <eric@eukrea.com>
Cc: gregkh@suse.de, linux-kernel@vger.kernel.org,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [PATCH n_gsm] GSM Mux in non-transparent mode
Date: Fri, 11 Mar 2011 15:27:41 +0000 [thread overview]
Message-ID: <1299857261.4444.14.camel@Paio> (raw)
In-Reply-To: <4D7A24CF.9070805@eukrea.com>
Hi Eric
My GE863-Pro^3 works well without it, however, without it the control
signals from the computer side do not seem to work correctly.
>From my tests, without the patch, the value in modem_tx will never
change when we send TIOCMSET commands.
By the way, can you confirm if your Telit modems respect the EA bit on
the MSC frame ?
Thank you,
Mário Isidoro
On Fri, 2011-03-11 at 14:34 +0100, Eric Bénard wrote:
> Hi Mário,
>
> On 10/03/2011 03:39, Mário Isidoro wrote:
> > @@ -2661,9 +2725,12 @@ static int gsmtty_tiocmset(struct tty_struct
> > *tty, struct file *filp,
> > struct gsm_dlci *dlci = tty->driver_data;
> > unsigned int modem_tx = dlci->modem_tx;
> >
> > - modem_tx &= clear;
> > + modem_tx &= ~clear;
> > modem_tx |= set;
> >
> good catch : this fix (and only this one in your patch) makes Telit modems
> work realiable here with ppp (which was failing before).
> Tested on GC864-QUAD-V2, UC864-E and UC864-WD
>
> Thanks !
>
> Eric
next prev parent reply other threads:[~2011-03-11 15:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 2:39 [PATCH n_gsm] GSM Mux in non-transparent mode Mário Isidoro
2011-03-10 11:06 ` Alan Cox
2011-03-10 16:30 ` Eric Bénard
2011-03-11 12:47 ` Mário Isidoro
2011-03-11 13:34 ` Eric Bénard
2011-03-11 15:27 ` Mário Isidoro [this message]
2011-03-11 17:00 ` Eric Bénard
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=1299857261.4444.14.camel@Paio \
--to=marioisidoro@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=eric@eukrea.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.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