
                            èLinuxʵָ
                                       
ߡAlexandre J. [1]alexandre12@mageos.com
ߣ̩ [2]linuxrat@gnuchina.org [3]lich1@263.net

   v1.0, April 2000 ڡ20000715
     _________________________________________________________________
   
   ĵûLinuxèWinmodemת
     _________________________________________________________________
   
1. èʲô

     * 1.1 è......
     * 1.2 ...Ǹèһ
     * 1.3 ô֪õè
       
2. ISAPCI

     * 2.1 PCI 
     * 2.2 ѵISAģ
       
3. װè

     * 3.1 LTèѶƼLucent
     * 3.2 LTMODEM򣨿Դ
       
4. ...

     * 4.1 ȨЭ飬Ȩ
     * 4.2 ϵϢ
     * 4.3 Դ
     _________________________________________________________________
   
1. èʲô

1.1 è......

   һֻèèһʵ绰ģBBSӢ
   ȵȡͨ绰ӲٶȾԣѧϰèĸ
   ֪ʶҽĶModems-HOWTO
   
1.2 ...Ǹèһ

   ǡèWINmodemҲ˵Windowsϵͳܹ
   Ϊʲôأܼ򵥣Ϊ̫ҪضЭͬ
   νضָľǲϵͳèṩ
   99ĳ̶ֻΪ΢Ӵϵͳƽ̨ṩġLinux
   ڻdemocratizationһЩңѶƼLTĦ
   MotorolaȣΪèǿLinuxµ򡣵
   ǲ˽Linuxѧṩܹģǵ
   ȴǡԴ(Closed Source)ģfreeģfreeָǼ۸
   ϵġѡGPLָġɡҲ˵ЩԴ
   ڡ
   
   ԣһЩڿ͡ҡдһԴ(Open Source)
   ǲʮ˽еèļϸڣΪ̲Ըй¶è
   ϸڡҲΪˣԴèalphabeta汾ġ
   
1.3 ô֪õè

   1. èӵĴڵƣ˵WindowsMSDOSCOM1
   COM2...ȵȣ
   
   Linux£è/dev/ttySx˴xDOSµĴںּһ
   磬DOSµCOM1LinuxttySxx=1-1=0ttyS0
   
   ڶDOSCOM3LinuxttyS2
   
   ơ
   
   2. /dev/ttySxһΪ/dev/modemķӡҪִеǣ
     _________________________________________________________________
   
rm -f /dev/modem<p>
ln -s /dev/ttySx /dev/modem
     _________________________________________________________________
   
   3. زװminicom'minicom -s'
   
   ѡ'Serial Port Setup'ã'A'趨'Serial Device'
   豸ɾеУ'/dev/modem'밴[Enter]سȷϡ
   [Esc]ѡ'save setup as dflȻѡ'Exit'˳
   
   ȴһȻ'AT'èӦ'OK'ôèһֻè
   һֻ׼è
   
   ʼʱ̫ôèӦһֻèϸĶĵ
   rootû¼
   
   4. 밴CTRL+AȻX˳Minicom
   
2. ISAPCI

2.1 PCI 

   ţ֪ˣ֪ǵèһֻèˡèͣISA
   PCIġɶĳΪø⣬ֽӿķǳͬ
   ԣǾҪһǵèPCIĻISAġȣҪһ
   ںˡmake *configĹ̵Уش'yes'
   
     * Loadable module supportɼģ֧֣֣'Enable loadable
       module support (CONFIG_MODULES)'ɼģ֧֣ 'Set
       version information on all modules for symbols
       (CONFIG_MODVERSIONS)'(мǱѾװmodutilsģ鹤
       Kerneld-HOWTO)
     * General setup֣
       'PCI support' (CONFIG_PCI)
       'PCI Access Mode' (CONFIG_PCI_GOBIOS)ѡ'Any'
       'PCI quirks' (CONFIG_PCI_QUIRKS)
       'Backward compatible /proc/pci' (CONFIG_PCI_OLD_PROC)
     * Filesystems
       '/proc filesystem support' (CONFIG_PROC_FS)
       
   δرںˣʹõķ׼ں˾ѾЩ
   رںˣδɹ飬Kernel-HOWTO.
   
   ڣǼٶںѾװ׵
   
   'cat /proc/pci'зصĽпè
   ֣ôèPCIè'װ'һ
   
2.2 ѵISAģ

   ûҵèпõһֻISAèôȷISAè
   أ
   
   ISA֧ںǲֱֵ֧ģ2.4.*ϵں˻ῼǣĿǰ
   ȶģһ־ͽisapnpISA豸
   ġȷѾװ˸ûаװҲͨ
   isapnptools
   
   һisapnptoolsѾװãһض򣬽pnpdumpԼ
   ĵϵͳѰҳISA豸еУͼ豸ʹ
   ԴЩԴӡļ/etc/isapnp.confСȻҪ༭
   ִһisapnpóȡisapnp.confļԶ
   
   
   ţôǾһµĲɣ
   
   1. ִ'pnpdump > /etc/isapnp.conf'
   
   2. ʹϲı༭༭ļ
   
   3. λèĽڶβ֡
   
   4. ȥļеĳЩеעͣȥ׵#ã
   
   1 line '(IO 0 ...)'
   
   1 line '(INT 0 ...)'
   
   1 line '(DMA 0 ...)'
   
   1 line '(DMA 1 ...)'
   
   1 line '(IO 1...)'
   
   5. ɾδעIOее'(CHECK)'
   
   6. ִ'isapnp /etc/isapnp.conf'ʾдõĴ
   Ϣ༭ļisapnp.confûдʾ༭
   isapnp.confèĽڶβֵ'(ACT Y)'ע͡Ȼִ
   'isapnp /etc/isapnp.conf'ϵͳʾ" [[Name of your modem]]
   Enabled OK"
   
   7. 'isapnp /etc/isapnp.conf'ӵ/etc/rc.d/rc.localУ
    'echo "isapnp /etc/isapnp.conf" >> /etc/rc.d/rc.local'ÿһ
   ϵͳ豸Զʱ𵽺ܴá
   
   ܶԴаĻ¾ҵ/etc/isapnp.confļժ¼Ѿ
   ļעˣԭļע##ͷ
     _________________________________________________________________
   

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

# ҵèıʶϢ

## 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
#

# Ҫ GVC5005/256 

(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) )
# 
 (NAME "GVC5005/256[0]{LT Win Modem        }")
# ֮
(ACT Y)
# 
))

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

## Returns all cards to the "Wait for Key" state
(WAITFORKEY)
     _________________________________________________________________
   
3. װè

   ûбҪȫĶڶΣֻҪƥèĲ־ͿˡĿǰֻͨ
   ʹѶLucentͿԴΰװLTèѾд
   ʹèǱԴǿԴģҷһ
   ҵemailַǣalexandre12@mageos.comȻҾͿ԰ŵ
   ε
   
3.1 LTèѶƼLucent

   URLhttp://www.linmodems.org/linux568.zip
   
   ߣLucent Technologies
   
   ȨЭ飺GPL
   
   ַ֧ΧʹѶLucentоƬISA/PCIèоƬMarsϵ
   
   ԣںģ黯; ڷ档֧PPPFax  Voice
   
   °汾֪5.68
   
   ĵREADME
   
   ϵͳҪ󣺰汾Ų2.2.12֧ģصRedHatں
   
   ʹ÷Ƚѹִ'unzip linux568.zip'Ȼִ
   ./ltinstɡ
   
   ⣺
   
     *
     * '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':
          + װèltè߼è
          + èISAӿڵģԭûʹisapnpù
          + èPCIӿڵģں˵ûPCI֧
       
3.2 LTMODEM򣨿Դ

   URL: http://www.close-u-net.com
   
   ߣ Richard Close and Pavel Machek
   
   ȨЭ飺GPL
   
   ַ֧ΧʹѶLucentоƬISA/PCIèоƬMarsϵ
   
   ԣ ûuser-space; ֧绰Voice call֧
   PPPV90
   
   °汾֪0.9.2
   
   ĵREADME
   
   ϵͳҪgccautomake
   
   ʹ÷
   
     *
     * PCI: make ; make install - Ȼʹ'ltmodem'èͨѶ
     * ISA: ĶREADME.ISA˵ļmv Makefile Makefile.PCI ; mv
       Makefile.ISA Makefile Ȼ༭config.hè(I/O Address
       DMAIRQ)ǰֵ; make ; make install - Ȼʹ'ltmodem'
       èͨѶ
       
   ⣺
   
     * "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 ȨЭ飬Ȩ

   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 ϵϢ

   Աĵʲô飬뿶һЩҶֽ
   alexandre12@mageos.com.
   
   Աĵķʲô飬Ҳ뿶Щ淭
   (linuxrat@gnuchina.orglich1@263.net)ֽɣ
   
4.3 Դ

     * Linmodemsҳhttp://www.linmodems.org
     * LTModemҳhttp://www.close-u-net.com
     * ѶƼLucent Technologiesҳhttp://www.lucent.com
     * Linuxںҳhttp://www.kernel.org
     * ISA߼isapnptoolsҳ
       http://www.roestock.demon.co.uk/isapnptools
     * LinuxĵLDPҳȡHOWTOĵĵط
       http://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
