
                            EߩMLinuxtm@n
                                       
@̡JAlexandre J. [1]alexandre12@mageos.com
Ķ̡G [2]linuxrat@gnuchina.orgAW [3]lich1@263.net

   v1.0, April 2000 ½ĶJ2000~0715
     _________________________________________________________________
   
   ɦVΤ¦pbLinuxUEߡ]Winmodem^B_ӡC
     _________________________________________________________________
   
1. E߬O\FFH

     * 1.1 ̬O......
     * 1.2 ...Ouߦ}@ˡI
     * 1.3 ګ\DڮOEߡH
       
2. OISA٬OPCIH

     * 2.1 PCI H
     * 2.2 DOISAH
       
3. w˿ߪXʵ{

     * 3.1 LTPEߡ]Ӧۮ԰TLucent^
     * 3.2 LTMODEM{ǡ]}Xʵ{ǡ^
       
4. ...

     * 4.1 vĳAvҦ
     * 4.2 ptH
     * 4.3 귽
     _________________________________________________________________
   
1. E߬O\FFH

1.1 ̬O......

   @uEߡAM䥦ߤ@ˡAOΨӳXݹqܪAȪApBBSB^SByq
   ܡBǯuCqLqܽus}ѳtרMwSʡDpGzܷQǲ߿ߪ
   hѡAګĳz\ŪModems-HOWTOC
   
1.2 ...Ouߦ}@ˡI

   ̬OEߡ]WINmodem^I]NOĄ̿_Windowsާ@tΤ~u@
   I\OH²A]̤ӤgžI̻ݭnSwnMXʵ{ǨP_
   Ӥ~৹㪺ȡCҿתSwnNOާ@tΡAHߩҴѪX
   {99H{׬OuLntΥxWaѪCOHLinuxD
   jơ]democratization^A@ǥͲtaAp԰Tޡ]LT^Bù
   ]Motorola^AMwo̦ۦͲ̶߭}oLinuxUXʵ{ǡCO
   o̦}FLinuxǡGo̴ѪXʵ{ǬO`u@AӦo̪X
   ʵ{ǫoO(Closed Source)Io̬OfreeAofreeO
   WKOAӤOGPLکҫۥѡI]NOoXʵ{ǪNX
   }jC
   
   ҥHA@ǡ«ȡqaMwsg@Ӷ}(Open Source)Xʵ{
   AOL̦}QFѤ⤤ߪޥӸ`A]ͲtӤ@NnSߪ
   ޥӸ`C]]pA}Xʵ{ǩOalphaΪbetaC
   
1.3 ګ\DڮOEߡH

   1. ݬݱz߳sfW١]|һAbWindowsΪMSDOSNOCOM1
   BCOM2B...^C
   
   bLinuxUAzߪW٬O/dev/ttySxCBxObDOSUfƦr@C
   pAbDOSUCOM1AbLinuxOttySxAox=1-1=0AҥHOttyS0C
   
   ĤGҡGbDOSUOCOM3AbLinuxUhOttyS2C
   
   䥦̦C
   
   2. /dev/ttySx@ӦW/dev/modemŸsCݭn檺ROOG
     _________________________________________________________________
   
rm -f /dev/modem<p>
ln -s /dev/ttySx /dev/modem
     _________________________________________________________________
   
   3. U}wminicomn]C۹B'minicom -s'C
   
   'Serial Port Setup']f]m^AJ'A'ӳ]w'Serial Device]'f
   ]ơ^ARҦA}J'/dev/modem'C۽Ы[Enter]^T{C
   [Esc]A}'save setup as dflAMZ'Exit']hX^C
   
   еݤ@|AMZJ'AT'CpGzߦ^'OK'A\zߤO@uE
   AӬO@uЭ㪺ߡI
   
   pGlƮɶӪA\zӬO@uEߡCХJӾ\ŪɡA
   ]_ӡCХHrootڥΤnC
   
   4. ЫCTRL+AMZXhXMinicomާ@ҡC
   
2. OISA٬OPCIH

2.1 PCI H

   ADFAڭ̲{bDڭ̪߬O@uEߤFCOEߦGISA
   OPCICictӭ̬FƱܱoV|AGNرfD`PC
   ҥHA{bڭ̴Nnդ@Uڭ̪߬OPCI٬OISACAntm@
   ⤺֡Cbmake *configL{AUCD^'yes'G
   
     * bLoadable module support]i[Ҷ^G'Enable loadable
       module support (CONFIG_MODULES)']Ei[Ҷ^A 'Set
       version information on all modules for symbols
       (CONFIG_MODVERSIONS)'(OwgwˤFmodutilsҶun]Q
       Ѿ\Kerneld-HOWTO)
     * bGeneral setupG
       'PCI support' (CONFIG_PCI)
       b'PCI Access Mode' (CONFIG_PCI_GOBIOS)B'Any'
       'PCI quirks' (CONFIG_PCI_QUIRKS)
       'Backward compatible /proc/pci' (CONFIG_PCI_OLD_PROC)
     * bFilesystems
       '/proc filesystem support' (CONFIG_PROC_FS)
       
   pGzqsĶL֡AizϥΪoM󪺤ִNwg]toǪFC
   pGQsĶ֡AӥBzٱqzLo˪ƱAаѾ\Kernel-HOWTO.
   
   {bAڭ̰wzs֤wgw˧C
   
   {bйB'cat /proc/pci'ROCpGzbRO^GݨFz
   WrA\z߬OPCIEߡCи'wXʵ{'@`
   
2.2 DOISAH

   pGz٨SzߡAܦiz쪺O@uISAߡC\TwOISA
   OH
   
   ISAb֬OҼ{]2.4.*tCַ|Ҽ{AOثe٬O
   íw^Co@ӲĤT誺nAWrNsisapnpAOΨ˴ISA]
   CzT{zwgwˤFӳn]CpG٨SwˡA]iHqLU
   isapnptoolsn]ӸѨMC
   
   @isapnptoolswgw˦nAڭ̥B@ӯSw{ǡAspnpdumpCiH
   zqtΡAqMXISA]ƨӡCbBA{Ǹչ˴]ƩҨϥ
   귽}NoǸ귽L/etc/isapnp.confCMZAzݭnsӤ
   }t~@ӵ{isapnpCӵ{Ƿ|Ūisapnp.conf}۰ʰtmz]
   ơC
   
   Hť_ӫ\HN@HUBJaG
   
   1. а'pnpdump > /etc/isapnp.conf'C
   
   2. Шϥαz̳w奻s边ӽsӤC
   
   3. wyzzߪ`qC
   
   4. hYǦC`]NOh歺#ա^CzoG
   
   1 line '(IO 0 ...)'
   
   1 line '(INT 0 ...)'
   
   1 line '(DMA 0 ...)'
   
   1 line '(DMA 1 ...)'
   
   1 line '(IO 1...)'
   
   5. ЧRҦ`IO'(CHECK)'
   
   6. а'isapnp /etc/isapnp.conf'CpGܦAЮھڱzo쪺~H
   Asisapnp.conf}ܧѼơCpGS~ܡAs
   isapnp.conf}Ѱyzzߪ`q'(ACT Y)'`CMZA
   'isapnp /etc/isapnp.conf'Atη|ܱz" [[Name of your modem]]
   Enabled OK"
   
   7. Ч'isapnp /etc/isapnp.conf'K[z/etc/rc.d/rc.localAk
   OJ 'echo "isapnp /etc/isapnp.conf" >> /etc/rc.d/rc.local'CbC@
   tαҰʪ]Ʀ۰ʰtmɡAo|_ܤj@ΡC
   
   pGjaUܡAHUNOڪ/etc/isapnp.conf󪺺K]ڤwg
   b`FA󪺪`H##Y^
     _________________________________________________________________
   

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

# ڪߥdGѫH

## Card 1: (serial identifier e2 00 00 01 00 05 50 c3 1e)
## Vendor Id GVC5005, Serial Number 256, checksum 0xE2.
## Version 1.0, Vendor version 0.1
## ANSI string -->LT Win Modem<--
##
## Logical device id HSM0140
##     Device support I/O range check register
#

# ڭ̭ntm GVC5005/256 d

(CONFIGURE GVC5005/256 (LD 0

# I/O Base address 0x03f8, with a range of 8
(IO 0 (SIZE 8) (BASE 0x03f8) )
# IRQ 4
(INT 0 (IRQ 4 (MODE +E)))
# DMA 5
(DMA 0 (CHANNEL 5))
# DMA 7
(DMA 1 (CHANNEL 7))
# I/O Base Address 2  0x0100, range 8
(IO 1 (SIZE 8) (BASE 0x0100) )
# dW
 (NAME "GVC5005/256[0]{LT Win Modem        }")
# E
(ACT Y)
# tm
))

######## The parameters for my other ISA devices ##############

## Returns all cards to the "Wait for Key" state
(WAITFORKEY)
     _________________________________________________________________
   
3. w˿ߪXʵ{

   zSn\Ū`qAuݭnǰtzߪNiHFCثeAڥuq
   Lϥή԰T]Lucent^M}Xʵ{ǨzpwLTߡCpGzwgsgF
   Ϊ̨ϥΤF䥦EXʵ{ǡAL׬O٬O}Aک@ӹLӧa
   ]ڪemaila}OGalexandre12@mageos.com^AMZڴNiH⥦oӸ`
   qӡC
   
3.1 LTPEߡ]Ӧۮ԰TLucent^

   챵URLGhttp://www.linmodems.org/linux568.zip
   
   @̡GLucent Technologies
   
   vĳGDGPL
   
   SGϥή԰T]Lucent^ISA/PCIߡAӪݤ_MarstC
   
   SʡGּҶ; fuCPPPBFax M Voice
   
   ̷s]ڧکҪ^G5.68
   
   ɡGREADME
   
   tέnDGC_2.2.12BҶ[RedHat
   
   ϥΤkGYn]]а'unzip linux568.zip'^AMZ
   ./ltinstYiC
   
   DG
   
     *
     * 'insmod: ltmodem: Unresolved symbol(s) *****': You have not a
       kernel matching with ltmodem. Get the 2.2.12 kernel from
       ftp.kernel.org, compile and install it
     * 'Warning: kernel version mismatch...": It is simply because ou
       have not the 2.2.12-20 kernel. It's only a warning, and it doesn't
       make the modem failing
     * 'ltmodem: init_module: device or resource busy':
          + zw˪ߤOltߩΪ̭ݮe
          + pGz߬OISAfA]iOSϥisapnptmL
          + pGz߬OPCIfAiOַStmPCI
       
3.2 LTMODEM{ǡ]}Xʵ{ǡ^

   챵URL: http://www.close-u-net.com
   
   @̡G Richard Close and Pavel Machek
   
   vĳGGPL
   
   SGϥή԰T]Lucent^ISA/PCIߡAӪݤ_MarstC
   
   SʡG Τš]user-space^Xʵ{; yqܡ]Voice call^Q
   PPP]V90^
   
   ̷s]ڧکҪ^G0.9.2
   
   ɡGREADME
   
   tέnDGgccsĶBautomake
   
   ϥΤkG
   
     *
     * PCI: make ; make install - MZϥ'ltmodem'{ǨөM߳qT
     * ISA: ]о\ŪREADME.ISA^mv Makefile Makefile.PCI ; mv
       Makefile.ISA Makefile QMZsconfig.h}ܧߪ(I/O Address
       BDMABIRQ)eƭ; make ; make install - MZϥ'ltmodem'{Ǩ
       M߳qTC
       
   DG
   
     * "Sorry, I can't found any modem...":
          + You have not LT modem
          + You have an ISA modem not configured by isapnp
          + You have an ISA modem configured ; but ltmodem was not
            compiled as ISA
          + You have a PCI modem with no PCI support included in the
            kernel
          + You have a PCI modem and a compliant kernel, but ltmodem was
            not compiled as PCI
       
4. ...

4.1 vĳAvҦ

   Copyright (C) 2000 Alexandre J.
   
   This program is free software; you can redistribute it and/or modify
   
   it under the terms of the GNU General Public License as published by
   
   the Free Software Foundation; either version 2 of the License, or
   
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   
   along with this program; if not, write to the Free Software
   
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
   USA
   
4.2 ptH

   pGz糧ɦ\ĳAкBn@ǵڥӯȱa
   Galexandre12@mageos.com.
   
   pGz糧媺½Ķ\ݪkΫĳA]кBnǵĶ½Ķ
   (linuxrat@gnuchina.orgΪlich1@263.net)ӯȱaD
   
4.3 귽

     * Linmodemsu{DGhttp://www.linmodems.org
     * LTModemu{DGhttp://www.close-u-net.com
     * ԰Tޡ]Lucent Technologies^u{DGhttp://www.lucent.com
     * Linux֥DGhttp://www.kernel.org
     * ISAu㶰]isapnptools^D
       Ghttp://www.roestock.demon.co.uk/isapnptools
     * Linuxɤu{LDPD]HOWTOɪa^
       Ghttp://www.redhat.com/mirrors/LDP

References

   1. mailto:alexandre12@mageos.com
   2. file://localhost/tmp/zh-sgmltools.7933/linuxrat@gnuchina.org
   3. mailto:lich1@263.net
