public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@thunk.org>
To: "W. Michael Petullo" <mike@flyn.org>
Cc: edschulz@lucent.com, linux-kernel@vger.kernel.org
Subject: Re: Lucent Microelectronics Venus Modem, serial 5.05, and Linux 2.4.0
Date: Tue, 6 Feb 2001 14:39:19 -0500	[thread overview]
Message-ID: <200102061939.OAA24337@thunk.org> (raw)
In-Reply-To: <20010114201045.A1787@dragon.flyn.org>

On Sun, Jan 14, 2001 at 08:10:45PM +0100, W. Michael Petullo wrote:
> > In serial.c, you seem to perform a check by writing to a possible
> > modem's interrupt enable register and reading the result.  This seems to
> > be one of the points at which the auto-configuration process occasionally
> > fails.  If I make the following change to this code my modem seems to
> > be auto-detected correctly all of the time:
> 
> >                scratch = serial_inp(info, UART_IER);
> >		serial_outp(info, UART_IER, 0);
> > #ifdef __i386__
> >		outb(0xff, 0x080);
> > #endif
> >		scratch2 = serial_inp(info, UART_IER);
> >		serial_outp(info, UART_IER, 0x0F);
> > #ifdef __i386__
> >		outb(0, 0x080);
> > #endif
> > -             scratch3 = serial_inp(info, UART_IER); /* REMOVE */
> > +             scratch3 = 0x0f                        /* ADD */
> > 		serial_outp(info, UART_IER, scratch);

The problem is that if this doesn't work, there are some serious
questions about the correctness of the Lucent Microelectronic Venus
modem.  I've forwarded this to someone in the Lucent Modem group, who
can hopefully look at this (and maybe can ship me a sample hardware so
I can play with it, although I'd much rather that he tell me how to
work around the hardware bug, or tell me that all you need is a
firmware upgrade to fix the bug in the modem).....

							- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2001-02-06 22:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-14 19:10 Lucent Microelectronics Venus Modem, serial 5.05, and Linux 2.4.0 W. Michael Petullo
2001-02-01 13:39 ` tytso
2001-02-06 19:39 ` Theodore Ts'o [this message]
2001-02-06 22:37   ` Ed Schulz
2001-02-06 22:58     ` Theodore Ts'o
2001-02-06 23:07   ` Ed Schulz

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=200102061939.OAA24337@thunk.org \
    --to=tytso@thunk.org \
    --cc=edschulz@lucent.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike@flyn.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