Hardware manual
Table of Contents
Serial HOWTO
8.8 Choosing Serial IRQs.....................................................................................................................33
IRQ 0 is not an IRQ.........................................................................................................................33
Interrupt sharing, Kernels 2.2+......................................................................................................34
What IRQs to choose?.....................................................................................................................34
8.9 Choosing Addresses --Video card conflict with ttyS3....................................................................35
8.10 Set IO Address & IRQ in the hardware (mostly for PnP).............................................................35
Using a PnP BIOS to IO-IRQ Configure.......................................................................................36
8.11 Giving the IRQ and IO Address to Setserial..................................................................................36
9. Configuring the Serial Driver (high-level) "stty".............................................................................36
9.1 Overview..........................................................................................................................................36
9.2 Flow Control....................................................................................................................................37
10. Serial Port Devices /dev/ttyS2, etc..................................................................................................37
10.1 Serial Port Names: ttyS4, etc.........................................................................................................37
10.2 The PCI Bus...................................................................................................................................37
10.3 Serial Port Device Names & Numbers..........................................................................................38
10.4 More on Serial Port Names...........................................................................................................38
10.5 USB (Universal Serial Bus) Serial Ports.......................................................................................38
10.6 Link ttySN to /dev/modem............................................................................................................38
10.7 Which Connector on the Back of my PC is ttyS1, etc?................................................................39
Inspect the connectors.....................................................................................................................39
Send bytes to the port......................................................................................................................39
Connect a device to the connector...................................................................................................40
Missing connectors..........................................................................................................................40
10.8 Creating Devices In the /dev directory.........................................................................................40
11. Interesting Programs You Should Know About..............................................................................40
11.1 Serial Monitoring/Diagnostics Programs......................................................................................41
11.2 Changing Interrupt Priority............................................................................................................41
11.3 What is Setserial ?.........................................................................................................................41
Setserial problems with linmodems, laptops...................................................................................41
Introduction.....................................................................................................................................41
Serial module unload.......................................................................................................................42
Slow baud rates of 1200 or less.......................................................................................................42
Giving the setserial command.........................................................................................................43
Configuration file............................................................................................................................43
Probing...........................................................................................................................................44
Boot-time Configuration................................................................................................................45
Edit a script (required prior to version 2.15)..................................................................................45
Configuration method using /etc/serial.conf, etc............................................................................46
IRQs.................................................................................................................................................47
Laptops: PCMCIA..........................................................................................................................47
11.4 Stty................................................................................................................................................47
Introduction.....................................................................................................................................48
Flow control options........................................................................................................................48
Using stty at a "foreign" terminal....................................................................................................49
Two interfaces at a terminal...........................................................................................................49
Where to put the stty command ?...................................................................................................50
Obsolete redirection method...........................................................................................................50
Serial HOWTO
iii