lkml.org 
[lkml]   [2001]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Lucent Microelectronics Venus Modem, serial 5.05, and Linux 2.4.0
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/

\
 
 \ /
  Last update: 2005-03-22 13:12    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site