[TriLUG] OT: IBM NetVista serial ports
Andrew Perrin
clists at perrin.socsci.unc.edu
Mon Jun 17 13:23:49 EDT 2002
On 17 Jun 2002, Ed Hill wrote:
> Hi Andrew,
>
> 1) Is the serial port turned on in the BIOS? Many machines ship
> by default with serial ports disabled.
Yes, just checked that.
>
> 2) As the root user, what does "/bin/setserial -g /dev/ttyS[0-8]"
> output? This will tell us if (and on what device) the serial
> port(s) are assigned on Linux.
>
perrin:~# setserial -g /dev/ttyS[0-8]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 0
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
> 3) What does "ls -al /dev/ttyS[0-8]" say? This will tell us if
> you have permissions set so that any user can access the port.
perrin:~# ls -al /dev/ttyS[0-8]
crw-rw--w- 1 root dialout 4, 64 Apr 14 2001 /dev/ttyS0
crw-rw--w- 1 root dialout 4, 65 Jun 13 13:04 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Apr 14 2001 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Apr 14 2001 /dev/ttyS3
BUT... this all fails to work as root, too, and the DOS experience I
related makes me think it might be some bizarre hardware thing.
Thanks,
Andy
----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
More information about the TriLUG
mailing list