Linux HSP Driver
Installation Guide
This file was re-written by me after none of the files gave a clear and error free method of configuring the driver.
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.
Installation Guide
PC-TEL HSP Modem Driver Module for Linux kernel 2.2.xx.xx
===============================================================
1. Minimum Hardware Requirements
Note: This driver works with PCTEL HSP 56 PCI modems. I could get this to work on my AMD K-6 III 450
based machine with an ASUS P5A motherboard. Hope you have a similar or better configuration. Has to be
good as the modem sucks your Processor power like anything ! Pentium/Cyrix with MMX will do.
The modem driver autodetects the correct PCI vender and device ID to
install the correct interrupt handler.
2. File Content
Unzip the distribution zip file to a directory say "/pctel". you should have:
lib/pctel.o Installable modem driver (if compilation fails)
lib/control.a Relocatable object for Controller module
lib/dsp.a Relocatable object for DSP module
lib/hal.a Relocatable object for HAL module
lib/ptserial.a Relocatable object for PTSERIAL module
src/module/Makefile Makefile for linking all objects
src/module/ptmodule.c Source file for linking all objects
README This file
3. Logging In
All operations should be carried out with root privileges.
4. Make a Node for the modem (only one time)
Go to terminal mode as root and type the following.
Make sure you type everything as it appears below.
This will make a node for the modem, give access to everyone and make a link between that mode and /dev/modem.
Linux is case sensitive. This has to be done only once after a fresh installation of the OS.
mknod /dev/ttyS15 c 62 79
chgrp uucp /dev/ttyS15
chmod 666 /dev/ttyS15
ln -s /dev/ttyS15 /dev/modem
4.1. Compile the driver or if not use the compiled driver already there.
cd /pctel/src/module
make clean
make
4.2. Copy the pctel.o file to the /lib/modeles/2.2.14.xxx(Your Kernel here)/net directory
cp ../../lib/pctel.o /lib/modules/<you kernel ver>/net
5. Load the driver
insmod pctel
(if you didn't compile the driver you may need to use 'insmod -f pctel')
(if this doesn't start insmod try /sbin/insmod pctel.o)
This will start the modem.
THIS NEEDS TO BE DONE EVERY TIME YOU START THE SYSTEM.
6. Set and report country code ( May avoid this step if your modem works
after the previous step)
(this doesn't seem to work - but the driver works fine without it)
This driver takes a module parameter to setup the correct country code
setting for various country's telephone networks and it also can report back the
country code been set..
Here are the two versions for country_code selection and reporting:
VERSION #1:
To set country code:
"country_sel_rep sel 7" will sets the country code to 7.
To query the driver for the currently set country code:
"country_sel_rep rep" returns the current country code as the
exit code.
VERSION #2:
To set country code:
"country_sel 7" to set the country code to 7.
To query the driver for the currently set country code:
"country_rep" return the current country code as the exit code.
country_code country_name
1 USA
2 FRANCE
3 GERMANY
4 ITALY
5 SWEDEN
6 UK
7 JAPAN
8 AUSTRALIA
9 SPAIN
10 TAIWAN
11 SINGAPORE
12 KOREA
13 SWITZERLAND
14 NORWAY
15 NETHERLANDS
16 BELGIUM
17 CANADA
18 IRELAND
19 PORTUGAL
20 POLAND
21 HUNGARY
22 FINLAND
23 DENMARK
24 AUSTRIA
25 S.AFRICA
26 CTR21 COUNTRIES
27 CHINA
28 MALAYSIA
29 LUXUMBURG
30 GREECE
31 ICELAND
32 NEW ZEALAND
33 BRAZIL
6. Test the modem
Type:
minicom
You should see someting like this-
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
Close minicom with
ctrl+a
z
x.
7. Set up ISP
(Read this if you use KDE)
Click on the button with the letter "K" on the task bar.
A menu will pop up. Click on Internet -> KPPP.
If using Red-Hat (Gnome), click on the start button (a foot icon), select KDE Menu -> Internet -> KPPP.
Note: You may have log as root for it to work-
su
<you password>
kppp
If you get a message saying 'kpp had detected a 'lock' ....'. You will to unlock it. To do so, open a terminal,
change directory to /etc/ppp. Use Emacs or any other editor to open the file options. Find a line with the word lock.
Comment this line out by putting a # in front of it. Close and re open KPPP again.
A window with title "Recent Changes" will come up. Click on Don't Show This Hint Again box and click on the OK button.
The KPPP Box will come up. Click on the Setup button. This will bring up the KPPP Configuration window.
Click on the Accounts tab. Click on New. Another window will come up. Click on the Dial tab.
Type Connection Name and phone number in the boxes provided.
The connection name could be anything like the name of the ISP provider.
Phone number is the number of the ISP you would dial to connect. Leave Authentication as either PAP or CHAP.
PAP is usually the default.
Click on the DNS tab. In the Domain Name section, give any name. You will need two DNS addresses.
If you don't already know the DNS addresses of your ISP, you can call their tech support and find out.
Here are a couple of DNS addresses.
If you are using Pacific Bell, you can use the following numbers.
Primary: 206.13.28.12
Secondary: 206.13.31.12
If you are using Earth Link, you can use the following numbers.
Primary: 207.217.77.82
Secondary: 207.217.120.82
After you enter the two DNS numbers, click on the OK button and get back to the KPPP window. Click on Show Log Window check box.
Type Login ID and Password and click on the Connect button.
After connection, launch Netscape by clicking on the Netscape icon on the task bar.
8. Important
You will have to start up (load) the modem every time the computer is booted.
To do this, open a terminal and type-
su
<your password>
insmod pctel.o
Good Luck.
Pradip Somasundaran
Lecturer in Electronics,
College of Applied Science,
Vadakkencherry, Palakkad, India.
www.pradeepsomasundaram.com
Please contact me for any further clarifications at
pradip_s@vsnl.com
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.