LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 644|回复: 1

我有猫的驱动,怎样安?

[复制链接]
发表于 2003-2-4 18:49:19 | 显示全部楼层 |阅读模式
install中说要./configure但没有这个文件只有CONFIGURE,也没有makefile文件




PCTEL Linux PCI driver, version 0.8.6
        -------------------------------------

Description
-----------
This package contains the PCTEL driver for various PCTEL modems for linux.
It is meant for kernel 2.4.x, up to 2.4.9 so far.

Installation
------------
0) Unpack the tarball by typing "tar zxvf pctel-0.8.5.tar.gz"

1) Go into that directory by typing "cd pctel-0.8.5"

2) Find out what chipset you have in your board:

3) ./configure
Options:

--with-hal=hal         
Select one of: pct789, cm8738, i810intel, i810sis, via686a

--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
your includes

4) Compile the modules by typing "make"

5) If everything went fine, get root by typing "su"

7) Install the drivers by typing "make install"

8) You are now ready to use your modules.
  Type "insmod pctel" and "insmod ptserial".

You should see in your logs ("tail /var/log/messages") something like:
May 16 23:28:17 suba kernel: PCTel initialization. Country code is 2.
May 16 23:28:17 suba kernel: PCTel device[00:11.0](0x88) found "CTel Inc HSP MicroModem 56 (rev 01)" IOBASE 0xe800 IRQ 9.
May 16 23:28:17 suba kernel: PCTel driver version 0.8.5 [5.05c-4.27.212] (PCT789) (2001-08-18) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
May 16 23:28:17 suba kernel: PCTel driver built on [Linux 2.4.8 i686 unknown] with [2.95.3].
May 16 23:28:17 suba kernel: ttyS15 at 0xe800 (irq = 9) is a PCtel

Notes:
You can always uninstall the modules by typing "make uninstall". If you
need to recompile the modules, "make clean" and "make" are your friends.

Questions, Infos
----------------
First of all, please read the FAQ.
If you have any questions, feel free to ask me or the linmodems mailing
list. However, if your question is in the FAQ, the only answer from me
is RTFM (Read The F*** Manual).
If you send questions, send us the output of the command, that failed, not
only a description.

If you send me questions, please send me the output of the command that did
not work! Do not just describe your problem, copy & paste me the output of
your console.
output of the following commands can be helpful:

$ make clean
$ make
$ make install
$ insmod pctel
$ insmod ptserial
$ tail /var/log/messages
$ uname -a

do not just write me "it did not work", otherwise, I might be unable to help
you and your email will be trashed.

- More info about Linux Modems and the mailing list:
http://www.linmodems.org
- More info about the PCTEL modems:
http://www.pctel.com/consumer_faq.htm
- AT Commands of the PCTEL modems:
http://www.pctel.com/atcommands_dev.htm
- List of the S Registers:
http://www.pctel.com/sregisters_dev.htm


Jan Stifter, 2001-07-05
j.stifter@medres.ch
http://www.medres.ch/~jstifter/linux/pctel.html

2001-08-05: Updated for Linux 2.4.7.
- Daniel Caujolle-Bert <segfault@club-internet.fr>

2001-08-08: Some bugs fixes/cleanups.
- Daniel Caujolle-Bert <segfault@club-internet.fr>



请写个详细步骤。谢谢。
发表于 2003-2-4 20:44:15 | 显示全部楼层
你键入./configure 尝试过了吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表