I am having some trouble with a custom serial port setup on
my machine. Specifically, I have a mouse on cua0(com1), modem on
cua1(com2), and a Sparc IPC connected to cua3(com4) for use as the
console. The setup is as follows:
TTY Port IRQ UART
cua0 0x3f8 4 16550A
cua1 0x2f8 3 16550A
cua3 0x2e8 5 16550A
The problem is that new characters arriving on cua3 are not
generating any interrupts as can be seen in /proc/interrupts:
0: 24631883 timer
1: 28211 keyboard
2: 0 cascade
4: 87955 + serial
5: 0 + serial
11: 592724 + aha152x
13: 0 math error
14: 81888 + ide0
15: 915 3c509
If I send characters out of the port via minicom, they appear to get
sent *very* slowly. Some(not many) chars. being sent from the sun to
cua3 leak through to the minicom session, but that's also *very* slow,
and a lot of the characters get dropped.
I have been setting the parameters on this port using setserial
for quite a while and I can't seem to get it to work. I also recompiled
minicom suspecting that something might have broke between 1.2.13 and
now, but it didn't have any effect.
Before everyone suggests it's the serial cable or something
similar, I will say that this setup works perfectly under dos/win, and
nothing changes hardware-wise when I boot Linux. Also, I don't suspect
minicom to be the problem since seyon displays the same behavior.
Finally, I tried using ttyS3 instead of cua3 but it didn't make any
difference, either so it must be something common to both drivers.
Any ideas?
--Darrin
ps - kernel v2.0.8, libc 5.2.18, and my .config follows:
#
# Automatically generated by make menuconfig: don't edit
#
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
#
# General setup
#
CONFIG_NET=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_M486=y
#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_CMD640=y
CONFIG_IDE_CHIPSETS=y
CONFIG_BLK_DEV_DTC2278=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_RAM=m
#
# Networking options
#
CONFIG_INET=y
CONFIG_INET_RARP=m
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_SCSI_CONSTANTS=y
#
# SCSI low-level drivers
#
CONFIG_SCSI_AHA152X=y
#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_PPP=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_VENDOR_3COM=y
CONFIG_EL3=m
#
# Filesystems
#
CONFIG_MINIX_FS=y
CONFIG_EXT_FS=m
CONFIG_EXT2_FS=y
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_UMSDOS_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_ISO9660_FS=y
CONFIG_SYSV_FS=m
CONFIG_UFS_FS=m
CONFIG_SMD_DISKLABEL=y
#
# Character devices
#
CONFIG_SERIAL=y
CONFIG_PRINTER=y
CONFIG_FTAPE=m
#
# Sound
#
CONFIG_SOUND=m
CONFIG_SB=y
CONFIG_ADLIB=y
CONFIG_AUDIO=y
CONFIG_YM3812=y
SBC_BASE=220
SBC_IRQ=10
SBC_DMA=1
SB_DMA2=5
SB_MPU_BASE=330
SB_MPU_IRQ=-1
DSP_BUFFSIZE=65536
-- FAQ Suggestions: Q: I upgraded without reading release notes, now my system's broke - why? A: What the @!#* did you expect? (this assumes that someone reads the faq, of course ;)