OI!
RECEBI UM E-MAIL DE UMA PESSOA (QUE AINDA N�O SEI QUEM �) COM UM REDAME E UM
DRIVER PARA INSTALAR MEU MODEM.

O REDAME �:

PCTEL Linux PCI driver, vers�o 4.27.211
----------------------------------------

Descri��o
-----------
Este pacote deve deix�-lo compilar o driver do PCTEL Linux modem para v�rios
Linux  Kernels 2.2.x.

O driver possui 2 modules:
pctel.o -> Este modulo contain todos os codigos do propritario incluindo
codigo
de controle, codigo DSP e o codigo da Firmware

ptserial.o -> Este modulo � o codigo sistema baseado no codigo Open
Source "serial.c" no Sistema Operacional Linux.

Instala��o
------------

0) Descompacte o arquivo "tar zxvf pctel-2.2.tar.gz"

1) Entre no diretorio "cd pctel-2.2"

2) Certifique-se que vc possui um Kernel 2.2.x "uname -r"

3) Opcional para usu�rios experientes(nao necessarias):
Edite o Makefile para os 2 Modulos:
Makefile for pctel.o    : src/module
Makefile for ptserial.o : src/ptserial

Voce pode selecionar o HAL chip, que esta no seu Modem. Selecione um desses:

HAL_CM8738, HAL_PCT789, HAL_I810, HAL_VIA686A
Por padr�o, HAL_PCT789 est� selecionado.

4) Compile o modulo "make"

5) Se tudo correr bem, entre como root "su"

7) Intale os driver "make install"

8) Voce agora est� pronto pra usar os Modulos.
Type "insmod pctel" and "insmod ptserial".

Voce deve ver em seu logs("tail /var/log/messages") algo como:
Apr 26 01:17:13 suba kernel: ptserial.o init.  country_code = 0
Apr 26 01:17:13 suba kernel: PCTEL device (68) found:  irq = 9, base =
0xcc00
Apr 26 01:17:13 suba kernel: Serial driver version 4.27.211 (PCT789)
(12-18-00)
with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ enabled
Apr 26 01:17:13 suba kernel: ttyS15 at 0xcc00 (irq = 9) is a PCtel

Notes:
Voce pode sempre desintalar os modulos digitando "make uninstall". Se voce
precisa recompilar os modulos, "make clean" e "make" S�o seus amigos.

DEPOIS DE FAZER O QUE O REDAME MANDA APARECE UMA PASTA COM UM FAQ.
O FAQ �:

Table of Contents:
------------------
1. Will my modem XXX work with this driver?
2. How do I install the driver?
3. Do you work for PCTEL?
4. My modem has been found, but doesn't work nicely?
5. Compile error: no modversions.h


1. Will my modem XXX work with your driver?
-------------------------------------------
Go to "Linux/Modem Compatibility Knowledge Base" at
http://www.idir.net/~gromitkc/winmodem.html
and follow the instructions to find your modem.


2. How do I install the driver?
-------------------------------
If you have sucessfully done "make install", the driver is located
in /lib/modules/"your-kernel-number"/misc/

The driver consists of two parts:
pctel.o
ptserial.o

You insert these drivers with the command
insmod pctel
insmod ptserial

If this doesn't work, you can do
insmod /lib/modules/"your-kernel-number"/misc/pctel.o
insmod /lib/modules/"your-kernel-number"/misc/ptserial.o

You have to make sure, that these two commands are run every time you
reboot your machine, by adding these two commands to an init script,
according to your distribution.


3. Do you work for PCTEL?
-------------------------
I don't work for PCTEL, i am maintainig this driver in my free time.


4. My modem has been found, but doesn't work nicely
---------------------------------------------------
The PCTEL modem has the possibility to select a country code.
If the country code is not selected, the default country code,
which is USA, will be used and it should work for most countries.
However, there is a way that you can select the country code for
better performance.

To select the country code, instead of "insmod ptserial.o" do:
insmod ptserial.o country_code=X

Table of country codes:

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


5. Compile error: no modversions.h
----------------------------------
If you see something like:

gcc [....] /usr/src/linux/include/linux/modversions.h:
No such file or directory

after typing "make", you have no modversions.h or you have it at the
wrong place.

First, make sure, your kernel source tree starts at /usr/src/linux. If
not, make a link from your kernel source to /usr/src/linux:
$ ln -s /path/to/your/kernel /usr/src/linux

Now, create the modversions.h by running
$ cd /usr/src/linux
$ make dep

this should make you a modversions.h in /usr/src/linux/include/

If this did not work, an ugly hack is to create an empty file there:
$ mkdir -p /usr/src/linux/include
$ touch /usr/src/linux/include/modversions.h

....S� QUE EU N�O ENTENDI MUITO ESTE FAQ E N�O SEI O QUE TENHO QUE FAZER
PARA ACABAR DE INSTALAR O MODEM.

ALGU�M PODE ME AJUDAR?!

OBRIGADO!!!!!!!!!



Assinantes em 03/03/2002: 2244
Mensagens recebidas desde 07/01/1999: 156946
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a