[linux] problem s modemom

Mario majo na nextra.sk
Sobota Listopad 7 13:33:12 CET 1998


Ako rozchodiť modem Sysgration ?

Sú 2 možnosti:

1. nakonfigurovať podľa dokumentácie pomocou prepojek na modeme:
      -vypnúť PnP
      -nastaviť port,adresu,IRQ - pozor na konflikt ak  
                                  mate myš na COM1 nemôžete použiť COM3
                                  COM2 nemôžete použiť COM4
      -symlink /dev/modem nastaviť  /dev/cua2 ak mate nastavení COM3
                                    /dev/cua3 ak mate nastavení COM4
				    
				    
2. pomocou isapnp				    
     - treba mať nainštalovaný balík - isapnptools
     - nastavíme v isapnp.conf port,adresu,IRQ treba dať pozor na konflikty
     - v /etc/rc.d/rc.sysinit doplníme riadky podľa konfigurácie
       napríklad pre COM4 IRQ3:

# set up pnp 
if [ -x /sbin/isapnp -a -f /etc/isapnp.conf ]; then
    if [ -n "$PNP" ]; then
	action "Setting up ISA PNP devices" /sbin/isapnp /etc/isapnp.conf
        setserial /dev/cua3 irq 3 autoconfig
        setserial /dev/cua3 spd_vhi
        setserial /dev/cua3
        stty -echo < /dev/cua3
    else
	action "Skipping ISA PNP configuration at users request" /bin/true
    fi
fi

     -nastaviť symlink /dev/modem 
     

   - príklad  /etc/isapnp.conf pre COM4 IRQ3:

	
# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier dd 00 00 12 88 60 01 73 4a)
# RSS0160 Serial No 4744 [checksum dd]
# Version 1.0, Vendor version 0.0
# ANSI string -->33.6K INTERNAL SPEAKER PHONE MODEM<--
#
# Logical device id RSS0160
#     Device support I/O range check register
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE RSS0160/4744 (LD 0

# Multiple choice time, choose one only !

#     Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x03f8
#             Maximum IO base address 0x03f8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x03f8))
#       IRQ 4.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 4 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x02f8
#             Maximum IO base address 0x02f8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x02f8))
#       IRQ 3.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 3 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x03e8
#             Maximum IO base address 0x03e8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x03e8))
#       IRQ 4.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 4 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x02e8
#             Maximum IO base address 0x02e8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
 (IO 0 (BASE 0x02e8))
#       IRQ 3.
#             High true, edge sensitive interrupt (by default)
 (INT 0 (IRQ 3 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x03f8
#             Maximum IO base address 0x03f8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x03f8))
#       IRQ 5, 7 or 9.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x02f8
#             Maximum IO base address 0x02f8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x02f8))
#       IRQ 5, 7 or 9.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x02e8
#             Maximum IO base address 0x03e8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x02e8))
#       IRQ 5, 7 or 9.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x02e8
#             Maximum IO base address 0x02e8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x02e8))
#       IRQ 5, 7 or 9.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))

#       Start dependent functions: priority acceptable
#       Logical device decodes 16 bit IO address lines
#             Minimum IO base address 0x0100
#             Maximum IO base address 0xfff8
#             IO base alignment 8 bytes
#             Number of IO addresses required: 8
# (IO 0 (BASE 0x0100))
#       IRQ 3, 4, 5, 7 or 9.
#             High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 3 (MODE +E)))

#     End dependent functions
 (ACT Y)
))
# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

   



Další informace o konferenci linux