README.TXT Driver File Contents (

Driver Package File Name:
File Size: 657.3 KB

PC-TEL HSP Modem Driver Module for Linux kernel
Serial Version 4.27.100 (7/16/99 Release)

Linux port done by William Hsu (

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.


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


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.


cd to src/serial and run 'make'.  If you have gcc installed
correctly, it should generate the output file in lib/pctel.o


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



If you have issues or questions building and running this modem driver,
please e-mail me at


server: web4, load: 1.26