|
作者: shaoxning [shaoxning] 论坛用户 | 登录 |
我的电脑是实达梦憬2000,内值猫 我想装一个Linux,可是猫驱不上不能上网, 买机器时带了一张驱动盘,里面也有Linux的驱动,但我不会用 其中给了这么一个文件,内容是: PC-TEL HSP Modem Driver Module for Linux kernel 2.2.xxx Serial Version 4.27.100 (7/16/99 Release) Linux port done by William Hsu (william_hsu@pctel.com) ======================================================================== This is the release note for the PC-TEL HSP modem driver for Linux. This file explains how to build and use the HSP modem driver. FILE CONTENTS ======================================================================== After you unzip the distribution zip file, you should have: src/serial/Makefile Makefile for serial modem driver src/serial/ptserial.c Serial modem driver (modified from Theodore Ts'o's serial.c) lib/pctel.o Installable modem driver lib/control.a Relocatable object for Controller module lib/dsp.a Relocatable object for DSP module lib/hal.a Relocatable object for HAL module include/pctel.h Header file for ptserial.c include/halwraps.h Header file for interfaces to HAL module README This file WHAT HARDWARE DO YOU NEED? ======================================================================== You need an Elite/SiS mainboard with the CM8738 Audio/Modem ASIC and PCtel Codec/DAA daughterboard. The modem daughterboard has a RJ-11 phone jack to hook up to a phone line. The modem driver autodetects the correct PCI vender and device ID to install the correct interrupt handler. HOW TO BUILD THE MODEM DRIVER? ======================================================================== cd to src/serial and run 'make'. If you have gcc installed correctly, it should generate the output file in lib/pctel.o HOW TO USE THE MODEM DRIVER? ======================================================================== If pctel.o compiles and links successfully, you can use 'insmod' to install it. The current driver source uses the major number 62 and minor number 79 (which maps into /dev/ttyS15). You can change the major number by changing the PCTEL_MAJOR #define. To change the minor number, you need to modify the rs_table[] array, and the corresponding ttyS# will change. The minor number value is 64 + port #. Make sure you have a char device node for /dev/ttyS15. Login as root and use the 'mknod' command: mknod /dev/ttyS15 c 62 79 You may want to use 'chgrp uucp /dev/ttyS15' to change its group owner and 'chmod 666 /dev/ttyS15' to grant read/write access to other users. /dev/ttyS15 will behave like a regular serial device. Open the port with a terminal application (e.g. Seyon). Make sure it is configured to use /dev/ttyS15. You probably want to create another device node named /dev/modem (or create a symbolic link using "ln -s",as some terminal and PPP dialer applications use that name as its default. If you opened /dev/ttyS15 successfully with a terminal application, you can type in AT commands to interface with the modem (please consult PC-TEL AT Command Summary Document for more information). Sample AT commands (type <CR> after all AT commands): Command What Response ======================================================================== AT Attention OK ATI3 Report version number PCtel 7.64-PCC-LN100 ATZ Reset modem OK ATDT1234567 Off-hook and dial Dials the number 1234567 ATA Answer Goes off-hook and answers ATW1 Report carrier (DCE) speed OK KNOWN BUGS ======================================================================== CONTACTS ======================================================================== If you have issues or questions building and running this modem driver, please e-mail me at william_hsu@pctel.com. 内容就是这样,我看不懂,那为大哥大姐能为小弟解忧????谢谢 |
地主 发表时间: 10/19 13:34 |
|
20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon
粤ICP备05087286号