[vox-tech] Serial on RedHat 9?
Mitch Patenaude
vox-tech@lists.lugod.org
Mon, 3 Nov 2003 22:53:47 -0800
On Monday, Nov 3, 2003, at 22:34 US/Pacific, Samuel N. Merritt wrote:
> I'm pretty sure that RH 9 includes serial port support. Try looking at
> the output of modprobe -l and seeing if it mentions a serial.o or
> something similar.
I have a device on com2 (under windows) that is spewing NMEA data.. but
in linux:
[root@localhost root]# modprobe -l | grep serial
/lib/modules/2.4.20-8/kernel/drivers/char/generic_serial.o
/lib/modules/2.4.20-8/kernel/drivers/char/pcmcia/serial_cs.o
[bunches more.. but all USB<->serial converter support]
[root@localhost root]# lsmod
Module Size Used by Not tainted
sd_mod 13516 0 (autoclean) (unused)
scsi_mod 107160 1 (autoclean) [sd_mod]
ide-cd 35708 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
ds 8680 2
yenta_socket 13472 2
pcmcia_core 57216 0 [ds yenta_socket]
3c59x 30704 1
ipt_REJECT 3928 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [hid usb-uhci]
hmm... no generic_serial
So...
[root@localhost root]# modprobe generic_serial
[root@localhost root]# lsmod
Module Size Used by Not tainted
generic_serial 12668 0 (unused)
[...]
unused eh? and still no joy talking to /dev/ttyS1.
[root@localhost root]# cat /proc/interrupts
CPU0
0: 328905 XT-PIC timer
1: 4873 XT-PIC keyboard
2: 0 XT-PIC cascade
8: 1 XT-PIC rtc
11: 4501 XT-PIC usb-uhci, eth0, Texas Instruments
PCI1450, Texas Instruments PCI1450 (#2)
12: 47322 XT-PIC PS/2 Mouse
14: 13871 XT-PIC ide0
15: 25592 XT-PIC ide1
NMI: 0
ERR: 0
[root@localhost root]# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03bc-03be : parport0
03c0-03df : vga+
03f6-03f6 : ide0
[.....]
... So.. it's not any of the proper IO ports or IRQs..... joy
and yet:
[root@localhost root]# ls -l /dev/ttyS[0-3]
crw-rw---- 1 root uucp 4, 64 Jan 30 2003 /dev/ttyS0
crw-rw-rw- 1 root uucp 4, 65 Jan 30 2003 /dev/ttyS1
crw-rw---- 1 root uucp 4, 66 Jan 30 2003 /dev/ttyS2
crw-rw---- 1 root uucp 4, 67 Jan 30 2003 /dev/ttyS3
About the only useful information in /var/log/messages
Nov 3 22:43:23 localhost modprobe: modprobe: Can't locate module
char-major-154
-- Mitch