[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I have no serial ports?



jdls wrote:
> 

> /dev/tty0: No such device
> /dev/tty1: No such device
> /dev/tty2: No such device
> /dev/tty3: No such device

be sure you have serial support compiled into your kernel or at least as
modules

assuming your using a packaged kernel do:

cd /boot
grep -i serial config-`uname -r`

you should see
CONFIG_SERIAL=y

if you see
CONFIG_SERIAL=m

then try 'modprobe serial'

if you see
CONFIG_SERIAL=n

then recompile your kernel. i believe all the default debian kernels come with
serial support enabled.

also it helps if your serial ports in the bios are hard coded to settings
not set to 'auto'. typically serial ports use IRQ 3 and 4, and it helps again
to set IRQ3/4 as reserved or set to ISA/Non PNP. also check the bootup logs:

dmesg | grep -i tty

on my system it shows:
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A


note that may not be accurate, once i read(i think in the setserial manpage)
that the kernel just guesses the address, so in many cases it will be correct
unless your configuration is different then it may be wrong and must be
changed
via setserial.

nate


-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
aphro@aphroland.org



Reply to: