l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2003 Nov 03 23:25

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Serial on RedHat 9?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Serial on RedHat 9?



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

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.