Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, I have a HP compaq nc6000 laptop and I want to use the serial port
to connect to other computers and use kermit or minicom. Unfortunately,
it doesn't work. The seems to be blocked or broken in some way. It
works fine under WinXP. It also works on my desktop under FC6 but not on
the nc6000. And it also works under Solaris (Belenix) on the nc6000.
But not under FC6. This implies a problem with linux.
The laptop is running Fedora Core 6 (and will also boot WinXP). The
kernel version is:
Linux version 2.6.19-1.2895.fc6 (firstname.lastname@example.org) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Wed Jan 10 19:28:18 EST 2007
The serial port is detected during boot-up as indicated by:
# grep tty dmesg
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 3) is a 16550A
00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
If I look in /sys/devices/pnp0/00:02 I see:
bus driver id options power resources subsystem tty:ttyS0 uevent
# cat resources
state = active
This info is identical to what WinXP's hardware manager gives.
If I run lsmod I see the "serio_raw" module only and no module called
"serial" or "8250" (although 8250 is listed in /sys/modules). I also only
see "serio_raw" on my desktop which works!
It looks like its there but if I run kermit and do "set line" it says that
/dev/ttyS0 is not a terminal device. e.g.:
C-Kermit 8.0.211, 10 Apr 2004, for Red Hat Linux 9.0
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/root/) C-Kermit>set line /dev/ttyS0
/dev/ttyS0 is not a terminal device
Connection to /dev/ttyS0 failed:
(/root/) C-Kermit>set line
After this I get a line in /var/log/messages:
Feb 9 11:50:33 localhost kernel: ttyS0: LSR safety check engaged!
as if it can't see the registers on the serial device.
Question: Am I missing something? or is linux serial ports broken on this
laptop? Any ideas?
They mention that booting another distro (eg. a live distro disk) gets the serial ports working fine, so it's probably a driver problem combined with the particular h/w in the nc6000 (a wild guess, but... it does happen!).
If that's true, it's frustrating! You could try re-building the serial module with a source update from the latest kernel (or the version on whatever live distro works) and just replace that one module. As long as the versions aren't very different, that might work.