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

serial port question Re: [debian-user] Newbie comments & queries



On a thread in the debian-user mailing list, an answer
came up regarding the serial port.  It reminded me of
an unasked question I had on that topic, which should
probably be asked in debian-sparc rather than debian-user:

On Sun, Dec 02, 2001 at 08:41:16PM -0800, Karsten M. Self wrote:
> Check your 'dmesg' (or /var/log/dmesg) output.  Should be something
> like:
> 
>     Detected PS/2 Mouse Port.
>     Serial driver version 4.27 with no serial options enabled
>     ttyS00 at 0x03f8 (irq = 4) is a 16550A
>     ttyS01 at 0x02f8 (irq = 3) is a 16550A
>     ttyS02 at 0x03e8 (irq = 4) is a 16550A
>     pty: 512 Unix98 ptys configured
>     Real Time Clock Driver v1.09

Mine looks like:

Sparc Zilog8530 serial driver version 1.41.2.6
tty00 at 0xffede004 (irq = 44) is a Zilog8530
tty01 at 0xffede000 (irq = 44) is a Zilog8530
tty02 at 0xffedb004 (irq = 44) is a Zilog8530
tty03 at 0xffedb000 (irq = 44) is a Zilog8530
Sun TYPE 5 keyboard detected without keyclick
pty: 256 Unix98 ptys configured

but I don't have any devices /dev/tty0[0-3]

The modem goes out /dev/ttyS0 according to wvdial.conf

Actually this is what's in my /dev directory:

seal:/var/spool/exim/input# ls -la /dev | grep "4,  6" 
crw-rw-rw-    1 root     tty        4,  60 Feb 20  1999 tty60
crw-rw-rw-    1 root     tty        4,  61 Feb 20  1999 tty61
crw-rw-rw-    1 root     tty        4,  62 Feb 20  1999 tty62
crw-rw-rw-    1 root     tty        4,  63 Feb 20  1999 tty63
crw-r-----    1 root     dialout    4,  64 Dec  4 21:43 ttyS0
crw-rw----    1 root     dialout    4,  65 Jul 15  2000 ttyS1
crw-rw----    1 root     dialout    4,  66 Feb 20  1999 ttyS2
crw-rw----    1 root     dialout    4,  67 Feb 20  1999 ttyS3
seal:/var/spool/exim/input# 

There are 64 tty#, with # from 0 to 63 (yes, 0, not 00).
And then there are 4 ttyS#, with # from 0 to 3, and minor
numbers continuing after the tty# series.

Why doesn't the dmesg output tty0[0-3] match the entries in
the /dev directory?

-- 
bjb@achilles.net
Welcome to the GNU age!   http://www.gnu.org



Reply to: