LinuxSir.cn,穿越时空的Linuxsir!

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

请问这个猫的驱动如何装上。

[复制链接]
发表于 2002-7-24 21:20:24 | 显示全部楼层 |阅读模式
各位大侠好!我是个Linux初学者,我在龙维的网站上下载了猫的驱动,但是不知道如何装上。下面这个驱动的Readme,请帮个忙。

contents:
1. Installation
2. Instructions for Debian Users
3. File Descriptions
4. International Users
5. Beta Tester appreciation
6. Comments, ideas, problems, fixes

---------------------------------------------------------------------------------
1 INSTALLATION


3 steps to install

1. Type: make clean
2. Type: make all
3. Type: make install


The installation script has been designed for the following distributions release versions
mandrake-release
SuSE-release
redhat-release
debian_version (including Corel)
slackware-version
conectiva-version
Unknown distributions install driver in a redhat-release style.

Please examine the haminst script if you have a different distribution.

The driver is split in two. A ham serial driver and core driver.
The core driver must be loaded first since the serial driver depends on it.
The serial driver registers itself as character device major number 240, minor number 1.
The serial driver takes one argument right now, which is a number to override the default major number if you need to.

The eratta.html has useful information concerning both positive and
negative driver issues.


---------------------------------------------------------------------------------
2 DEBIAN USERS

the file /usr/include/linux/modversions.h does not exist in debian 2.2
you must comment out the #include line from both hamdefs.h files
in the HaM source code for it to compile.

---------------------------------------------------------------------------------
3 FILE DESCRIPTIONS

haminst installation script to install HaM modules and supporting files


files copied to /lib/modules/(kernel-version)/misc
hamcore.o driver core code module
ham.o pseudo serial driver for HaM, depends on hamcore.o

files copied to /etc/rc.d/... (path differes per distribution)
hamboot boot scrip to start and stop HaM modules

files copied to /usr/sbin
hamtool a GUI that assists in the country selection for homologation purposes
hamcfg hamcfg is the "registry" like tool that the modem uses to get and store persistant data
such as county info and profile strings.

files copied to /etc
hamdata file that stores persistant data for modem.


---------------------------------------------------------------------------------
4 INTERNATIONAL USERS

if hamcfg currently depends on gnome libraries.
if you do not have gnome installed then you will
have to put an extra command in your 'AT' init string.

the commmand to change country setting is "AT+GCI="
the command takes a t.35 country code in hexadecimal.
here is a list of currently supported t.35 country codes:

if you are a CTR-21 country I think you should be able to
choose a CTR-21 country on the list and be ok. but
that's no guarantee.


country code , t.35 code
---------------------------
USA 1, b5
JPN 81, 00
GBR 44, b4
DEU 49, 42
SWE 46, a5
DNK 45, 31
FIN 358, 3c
NOR 47, 82
AUT 43, 0a
CHE 41, a6
RUS 7, b8
AUS 61, 09
MYS 60, 6c
CHN 86, 26
BEL 32, 0f
CYP 357, 2d
FRA 33, 3d
GRC 30, 46
ISL 354, 52
IRL 353, 57
ISR 972, 58
ITA 39, 59
LIE 423, 68
LUX 352, 69
NLD 31, 7b
PRT 351, 8b
ESP 34, a0


---------------------------------------------------------------------------------
5 Thanks to the following beta testers for their valuable input and suggestions.
January 2 - 26, 2001

Sean Walbran
Rob Clark
Marvin Stodolsky
Dominique Duval
Roman Krais
Ulrich Guenther
Marcelino Viana Pinheiro
Thomas S. Iversen
Jospeh Teichman
Michel Bartolone (MED)
Ramon Gonzalez Montoiro
Ryoji Kawagishi
Torsten Vogel
"jandro"
Ian Carr-de Avelon
Helga Weindl
Ed Casas
Bernhard Hoelcker
Alexander "Sasha" Voytov
Albert Woo
Peter Hirschmann


---------------------------------------------------------------------------------
6 Comments, ideas, problems, fixes:
please contact

Dorian S. Araneda (dorian.araneda@intel.com)
Product Engineer, Host Accelerated Modem (HaM) Team
Intel Corporation, Modem Silicon Operations (MSO)
http://developer.intel.com/design/modems/
www.intel.com www.intc.com (ticker: INTC)
110 Horizon Dr., Suite 300, Raleigh, NC 27615



我按照readme执行了
make clean
make all
make install


但还是不好使呀。
发表于 2002-7-24 21:38:58 | 显示全部楼层
进入驱动所在的目录,打入
make clean
make all
make install
发表于 2002-7-24 21:39:02 | 显示全部楼层
什么提示?还有在什么系统上的什么界面操作的?
发表于 2002-7-24 21:42:47 | 显示全部楼层
是否在make all是出错,如果是的话可以在别的发行版上make all后,再到你现在用的发行版上make install
 楼主| 发表于 2002-7-24 21:56:29 | 显示全部楼层
最初由 Linuxfish 发布
什么提示?还有在什么系统上的什么界面操作的?

我用的是Rathat7.3。
 楼主| 发表于 2002-7-24 21:58:46 | 显示全部楼层
最初由 tutu 发布
是否在make all是出错,如果是的话可以在别的发行版上make all后,再到你现在用的发行版上make install
确实是在make all时出错了,让我别的发行版上执行make all,你让我上哪里去找啊?
发表于 2002-7-24 22:47:42 | 显示全部楼层
兄弟,不要急,说出他的错误信息,然后咱们再想办法。。就是make all就是出错,也应该有个错误信息吧。
#sh make all
或者把这个文件夹的权限改一下,试一试。
 楼主| 发表于 2002-7-24 23:41:12 | 显示全部楼层
运行sh make all出现make: /usr/bin/make: cannot execute binary file
运行make all时出现
cd src/hamcore; make hamcore-release
make[1]: Entering directory
`/mnt/wind/Linux/temp/v90hamlinuxv2.2/release/src/hamcore'
cc -Wall -O -I /usr/include -I../inc   -c -o coredrv.o coredrv.c
In file included from hamcore.h:38,
                 from coredrv.c:33:
hamdefs.h:45:25: linux/config.h: No such file or directory
hamdefs.h:62:25: linux/kernel.h: No such file or directory
hamdefs.h:66:24: linux/types.h: No such file or directory
hamdefs.h:89:8: warning: extra tokens at end of #endif directive
In file included from coredrv.c:33:
hamcore.h:39:27: linux/proc_fs.h: No such file or directory
hamcore.h:261:8: warning: extra tokens at end of #endif directive
coredrv.c:34:26: linux/kernel.h: No such file or directory
coredrv.c:35:26: linux/module.h: No such file or directory
coredrv.c:36:25: linux/delay.h: No such file or directory
coredrv.c:37:25: linux/sched.h: No such file or directory
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory
`/mnt/wind/Linux/temp/v90hamlinuxv2.2/release/src/hamcore'
make: *** [all] Error 2
发表于 2002-7-24 23:48:40 | 显示全部楼层
兄弟,你把这个驱动COPY到root目录下的一个文件夹试一下。最好建一个单独的文件夹。。make一下,试一试。。。
 楼主| 发表于 2002-7-25 00:05:07 | 显示全部楼层
照你说的做但还是有错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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