Configurating Internal ISA PnP modem
My modem is USR Sportster 56k Internal Voice(ISA slot) so everything what'll be
here is good for that modem

U know:
COM1 = /dev/ttyS0(/dev/cua0)
COM2 = /dev/ttyS1(/dev/cua1)
COM3 = /dev/ttyS2(/dev/cua2)
...
I think u know which port ur modem on. My modem is PnP and most ISA modems r
PnP, so first thing that u need to do :
u need to correct ur isapnp.conf
bash-2.05a# ls -al /etc/isapnp.conf
-rw-r--r-- 1 r3wt r3wt 13831 Jan 29 00:19 /etc/isapnp.conf
bash-2.05a#
If u haven't it just type
bash-2.05a# pnpdump > /etc/isapnp.conf
then u need to set proper options in this file and uncomment some options
Example of configuration file for my modem:
...
(CONFIGURE USR3070/4294942592 (LD 0
(IO 0 (SIZE 8) (BASE 0x03e8))
(INT 0 (IRQ 5 (MODE +E)))
(NAME "USR3070/4294942592[0]{U.S. Robotics 56K Voice INT}")
(ACT Y)
))
...
after edit type:
bash-2.05a# isapnp isapnp.conf
it will show some output, there must be a line that shows u that ur modem was successfully Enabled
after that u need to execute few commands:
bash-2.05a# setserial /dev/cua2 autoconfig
bash-2.05a# setserial /dev/cua2 irq 5
and then u can use ur modem easily
to test it type:
bash-2.05a# setserial -a /dev/cua2
/dev/cua2, Line 2, UART: 16550A, Port: 0x03e8, IRQ: 5
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
bash-2.05a#
if ur modem works good u can add those lines to ur rc.local file i added
only setserial lines couz isapnp initializing on starup
bash-2.05a# echo "setserial /dev/cua2 autoconfig" >> /etc/rc.d/rc.local
bash-2.05a# echo "setserial /dev/cua2 irq 5" >> /etc/rc.d/rc.local
That's all f0lks
P.S. писал давно... на русском писать не стал ... а надо было.. родину мать поддержать =)