当前位置:Linux教程 - Linux - 瘟猫和Linux配置实作指南(二)

瘟猫和Linux配置实作指南(二)

瘟猫和Linux配置实作指南(二)

如果能对大家有帮助的话,以下就是我的/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地址是:[email protected]),然后我就可以把它放到这个节段当中来。



3.1 LT牌瘟猫(来自朗讯科技Lucent)
链接URL:http://www.linmodems.org/linux568.zip

作者:Lucent Technologies

版权协议:非GPL

支持范围:使用朗讯(Lucent)芯片的ISA/PCI猫,该芯片属于Mars系列

特性:内核模块化; 串口仿真。支持PPP、Fax 和 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)﹔不支持PPP(V90)

最新版本(据我所知):0.9.2

相关文档:README

系统要求:gcc编译器、automake

使用方法:



PCI: make ; make install - 然后使用''ltmodem''程序来和猫通讯
ISA: (请阅读README.ISA说明文件)mv Makefile Makefile.PCI ; mv Makefile.ISA Makefile ﹔然后编辑config.h并变更猫的(I/O Address、DMA、IRQ)当前数值; make ; make install - 然后使用''ltmodem''程序来和猫通讯。

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 联系信息
如果您对本文档有什么建议,请慷慨一些给我丢个纸条吧:[email protected].

如果您对本文的翻译有什么看法或建议,也请慷慨些给中译版翻译者([email protected]或者[email protected])丢个纸条吧.


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


问题:

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