RE: Serial console issues.
- From: akennedy@xxxxxxxxxxxxxx
- Date: Wed, 14 Feb 2007 17:39:22 -0700
In a previous post I incorrectly stated that my serial port is a
TI16750, as this is what /proc/tty/... revealed to me. After
re-reading the product manual, I see that this is actually a 16550.
Since Linux is seeing this port as a 16750, could that explain why I'm
seeing missing characters in the transmission. After doing some
research, I found that the 16750 has a 64-byte buffer, whereas I know
this to only have a 16-byte buffer.
The autodetect is pretty solid so you may well find the chip is 16750
compatible, 16550A is what is usually listed because it is what people
look for.
If my assumptions are correct and Linux is detecting this serial port
incorrectly, how can I force the serial driver to see this a 16550?
man setserial
Well, this is the most bastardized sucker I've ever seen. . . I have had
no end of trouble with it (couldn't even get a boot loader to work with
it - had to write my own). And, as luck would have it, the serial port
is no different. Using setserial, I changed the type of this port to a
16550A and all my problems went away. The question now remains: How
can I FORCE the Linux serial driver to see this as a 16550A -- As I
before stated, I know that this has a 16-byte buffer. Therefore, the
16750 with its mammoth buffer size is killing this serial port. Short
of modifying the kernel (which I'd rather not do) or including the
setserial with the kernel image (also I'd rather not do as I only have
2.3 MB of storage on this device) I need a command line parameter to
control the serial line -- is there one? A build option? PLEASE
SOMETHING???
Andy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Serial console issues.
- From: Russell King
- Re: Serial console issues.
- Prev by Date: Re: [patch] mm: NUMA replicated pagecache
- Next by Date: Re: [PATCH 2.6.21-rc1 4/5] ehca: replace yield() by wait_for_completion()
- Previous by thread: Re: Serial console issues.
- Next by thread: Re: Serial console issues.
- Index(es):