[NTLUG:Discuss] Pctel 0.9.6 - modem driver
terry
linux at cowtown.net
Fri Mar 14 10:35:18 CST 2003
Having trouble getting Pctel Driver to work on my RH 8.0 system:
# uname -a
Linux redhat.workgroup.live 2.4.18-14 #1 Wed Sep 4 11:57:57 EDT 2002
i686 i686 i386 GNU/Linux
============================================================
pctel:
./configure --with-hal=sis
--with-kernel-includes=/usr/src/linux-2.4.18-14/include
===========================================================
A protiion of /proc/pci
Bus 0, device 1, function 4:
Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI
Audio Accelerator (rev 2).
IRQ 11.
Master Capable. Latency=64. Min Gnt=2.Max Lat=24.
I/O at 0xda00 [0xdaff].
Non-prefetchable 32 bit memory at 0xf3fff000 [0xf3ffffff].
Bus 0, device 1, function 6:
Modem: Silicon Integrated Systems [SiS] 56k Winmodem (Smart Link
HAMR5600 compatible) (rev 160).
IRQ 11.
Master Capable. Latency=64. Min Gnt=52.Max Lat=11.
I/O at 0xde00 [0xdeff].
I/O at 0xdc00 [0xdc7f].
===================================================================
[root at redhat pctel-0.9.6]# insmod pctel -force
Using /lib/modules/2.4.18-14/misc/pctel.o
Warning: The module you are trying to load
(/lib/modules/2.4.18-14/misc/pctel.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the
kernel: non-GPL license - GPL linked with proprietary libraries
See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the
kernel: forced load
Module rce loaded, with warnings
[root at redhat pctel-0.9.6]# insmod ptserial
Using /lib/modules/2.4.18-14/misc/ptserial.o
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the
kernel: non-GPL license - GPL linked with proprietary
libraries
See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module ptserial loaded, with warnings
================================================================
Module Size Used by Tainted: PF
ptserial 41892 0 (unused)
rce 1291232 0 [ptserial]
============================================================
From /var/log/messages
Mar 13 09:47:35 redhat kernel: AC97 modem device found: devnum =
80000E00, devid = 1039/7013
Mar 13 09:47:35 redhat kernel: iobase_0=0xde00, iobase_1=0xdc00,irq=11
Mar 13 09:47:35 redhat kernel: PCTel driver version 0.9.5
[5.05c-4.27.215 (09-14-2001)] (MR) (2002-01-31) with MANY_PORTS
SHARE_IRQ SERIAL_PCI AUDIO_ROUTING[SIS540] enabled.
Mar 13 09:47:35 redhat kernel: PCTel driver built on [Linux 2.4.18-14
i686 i686 "2.4.18-14 <132114>"] with gcc-gcc (GCC) 3.2
20020903 (Red Hat Linux 8.0 3.2-7).
Mar 13 09:47:35 redhat kernel: ttyS15 at 0xde00 (irq = 11) is a PCTel
Mar 13 09:47:35 redhat kernel: PCI: Found IRQ 11 for device 00:01.6
Mar 13 09:47:35 redhat kernel: PCI: Sharing IRQ 11 with 00:01.4
=========================================================================
Is it normal that it's loading rce instead of pctel ?
Am I using the right driver? Maybe that's it? ( I'm using hal=sis
instead of something else? ) ( choices are: pct789 cm8738 i8xx sis
mia686a )
Maybe it's working but I cannot get any response from minicom. [Maybe
minicom is broke?] AT or AT&F returns nothing from /dev/ttyS15 or
/dev/modem. ( Somewhere in the install process, it creates symlink from
/dev/modem to /dev/ttyS15 )
This computer I'm working on is the ThizLinux system that Fry's had on
sale last week for $199.99. I wiped ThizLinux and loaded RH8.
Everything else works okay aside from the winmodem.
Any clues?
More info:
==============================================================
[pctel-0.9.6]$ cat INSTALL
PCTEL Linux PCI driver, version 0.9.6
-------------------------------------
Description
-----------
This package contains the PCTEL driver for various PCTEL modems for linux.
It is meant for kernel 2.4.x, up to 2.4.18 so far.
Installation
------------
0) Unpack the tarball by typing "tar zxvf pctel-0.9.6.tar.gz"
1) Go into that directory by typing "cd pctel-0.9.6"
2) Find out what chipset you have in your board:
3) ./configure
Options:
--with-hal=hal
Select one of: pct789, cm8738, i8xx, sis, via686a
--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
your includes
4) Compile the modules by typing "make"
5) If everything went fine, get root by typing "su"
7) Install the drivers by typing "make install"
8) You are now ready to use your modules.
Type "insmod pctel" and "insmod ptserial".
You should see in your logs ("tail /var/log/messages") something like:
May 16 23:28:17 suba kernel: PCTel initialization. Country code is 2.
May 16 23:28:17 suba kernel: PCTel device[00:11.0](0x88) found "PCTel Inc HSP MicroModem 56 (rev 01)" IOBASE 0xe800 IRQ 9.
May 16 23:28:17 suba kernel: PCTel driver version 0.9.6 [5.05c-4.27.215 (09-14-2001)]] (PCT789) (2001-08-18) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
May 16 23:28:17 suba kernel: PCTel driver built on [Linux 2.4.8 i686 unknown] with [2.95.3].
May 16 23:28:17 suba kernel: ttyS15 at 0xe800 (irq = 9) is a PCtel
Notes:
You can always uninstall the modules by typing "make uninstall". If you
need to recompile the modules, "make clean" and "make" are your friends.
Questions, Infos, Support
-------------------------
see README
---
Jan Stifter, 2002-03-04
j.stifter@[no-spam]medres.ch
http://www.medres.ch/~jstifter/pctel/
2001-08-05: Updated for Linux 2.4.7.
- Daniel Caujolle-Bert <segfault at club-internet.fr>
2001-08-08: Some bugs fixes/cleanups.
- Daniel Caujolle-Bert <segfault at club-internet.fr>
2001-10-29: some fixes/cleanups.
--
More information about the Discuss
mailing list