mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
210bcd7e42
commit
270b3e1907
|
@ -1035,7 +1035,7 @@ PCTel-MicroModem-Config</ULink>, <CiteTitle>
|
|||
PCTel HSP MicroModem Configuration mini-HOWTO</CiteTitle>
|
||||
</Para><Para>
|
||||
<CiteTitle>
|
||||
Updated: November 2002</CiteTitle>.
|
||||
Updated: December 2002</CiteTitle>.
|
||||
Make your PCTel HSP MicroModem work in Linux. </Para>
|
||||
</ListItem>
|
||||
|
||||
|
|
|
@ -1216,7 +1216,7 @@ PCTel-MicroModem-Config</ULink>, <CiteTitle>
|
|||
PCTel HSP MicroModem Configuration mini-HOWTO</CiteTitle>
|
||||
</Para><Para>
|
||||
<CiteTitle>
|
||||
Updated: November 2002</CiteTitle>.
|
||||
Updated: December 2002</CiteTitle>.
|
||||
Make your PCTel HSP MicroModem work in Linux. </Para>
|
||||
</ListItem>
|
||||
|
||||
|
|
|
@ -19,9 +19,22 @@ Sayamindu</firstname> <surname>Dasgupta</surname> <affiliation>
|
|||
|
||||
<revhistory>
|
||||
|
||||
<revision>
|
||||
<revnumber> 2.5.10 </revnumber>
|
||||
<date>2002-12-04</date>
|
||||
<revremark> Added new FAQ entry, and other minor clean ups.</revremark>
|
||||
</revision>
|
||||
|
||||
|
||||
<revision>
|
||||
<revnumber> 2.5.9 </revnumber>
|
||||
<date> November 11th 2002 </date>
|
||||
<revremark> Added new driver info, made corrections and clarifications in the GCC 3 FAQ .</revremark>
|
||||
</revision>
|
||||
|
||||
<revision>
|
||||
<revnumber> 2.5.8 </revnumber>
|
||||
<date>2002-11-10</date>
|
||||
<date> November 10th 2002 </date>
|
||||
<revremark> Added information on GCC 3, fixed typos, and other minor corrections. </revremark>
|
||||
</revision>
|
||||
|
||||
|
@ -89,7 +102,7 @@ your PCTel HSP MicroModem work in GNU/Linux.</para>
|
|||
<title>Copyright Information</title>
|
||||
|
||||
<blockquote><para>
|
||||
Copyright (c) 2002 Sayamindu Dasgupta, Jan Stifter.
|
||||
Copyright © 2002-2003 Sayamindu Dasgupta, Jan Stifter.
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.1
|
||||
or any later version published by the Free Software Foundation;
|
||||
|
@ -188,8 +201,8 @@ your PCTel HSP MicroModem work in GNU/Linux.</para>
|
|||
<para> I am extremely grateful to the howtos[NO_SPAM]@frodo.hserus.net list members for their support, especially to <ulink url="http://geocities.com/usmbish/">USM Bish</ulink>.
|
||||
</para><para>
|
||||
The members of the discuss@linmodems.org list have been very helpful too, specially in the initial phase of the howto-writing.
|
||||
I am also extremely grateful to Phil Richard Burchill, Rajesh Fowkar, KV Pham, Bram Vonk, Derek Cordeiro and Andrew Kar (akar)
|
||||
for their valuable suggestions.
|
||||
I am also extremely grateful to Phil Richard Burchill, Rajesh Fowkar, KV Pham, Bram Vonk, Derek Cordeiro, Steven Sangster and
|
||||
Andrew Kar (akar) for their valuable suggestions and corrections.
|
||||
</para>
|
||||
<para>
|
||||
The sgml-stuff has been done with the help of the template written by Stein Gjoen, Gregory Leblanc and Greg Ferguson.
|
||||
|
@ -378,12 +391,12 @@ the <ulink url="http://modems.dewback.cl/pctel-2.2.tar.gz">pctel 2.2x </ulink> d
|
|||
</para>
|
||||
<para>
|
||||
If you see something like 2.4x, go to <ulink url="http://linmodems.technion.ac.il/pctel-linux/">http://linmodems.technion.ac.il/pctel-linux/</ulink>
|
||||
and download the pctel 0.9.4 (pctel-0.9.4.tar.gz) drivers from that site.
|
||||
and download the pctel 0.9.6 (pctel-0.9.6.tar.gz) drivers from that site.
|
||||
</para>
|
||||
<para>
|
||||
<important>
|
||||
<para>
|
||||
Also note that only the pctel 0.9.4 drivers have support for the new <link linkend='amr'>AMR</link> modems.
|
||||
Also note that only the pctel 0.9.6 drivers have support for the new <link linkend='amr'>AMR</link> modems.
|
||||
</para>
|
||||
</important>
|
||||
</para>
|
||||
|
@ -408,7 +421,8 @@ which supports loadable modules.</para>
|
|||
And of course, you need to have gcc installed, check it by issuing the command <command>bash$ gcc -v </command>. If you do not get any errors, then everything is all right </para>
|
||||
<note>
|
||||
<para>
|
||||
If you have gcc version 3 or above please refer to <link linkend="gcc3">this section</link> in the FAQ.
|
||||
If you have gcc version 3 or above , and have problems during compiling, please refer to
|
||||
<link linkend="gcc3">this section</link> in the FAQ.
|
||||
</para>
|
||||
</note>
|
||||
<sect2><title>Installing the 2.2x drivers.</title>
|
||||
|
@ -447,14 +461,14 @@ the script, but once you reboot, you will have to load the modules by</para><par
|
|||
<para><command>bash$ insmod ptserial.o </command>)</para>
|
||||
</sect2>
|
||||
<sect2>
|
||||
<title>Installing the pctel-0.9.4 driver</title>
|
||||
<title>Installing the pctel-0.9.6 driver</title>
|
||||
<para>Make sure that you have kernel 2.4.0 or greater by the command</para>
|
||||
<para><command>bash$ uname -r</command></para>
|
||||
<para>Unpack the downloaded files with the commands</para>
|
||||
<para><command>bash$ tar -xzvf pctel-0.9.4.tar.gz</command></para>
|
||||
<para>Now you will have a pctel-0.9.4 directory</para>
|
||||
<para><command>bash$ tar -xzvf pctel-0.9.6.tar.gz</command></para>
|
||||
<para>Now you will have a pctel-0.9.6 directory</para>
|
||||
<para>cd into that with the command</para>
|
||||
<para><command>bash$ cd pctel-0.9.4/</command></para>
|
||||
<para><command>bash$ cd pctel-0.9.6/</command></para>
|
||||
<para>Now comes the complicated part.</para>
|
||||
<para>To proceed further you will have to know what chip set your modem has.See section <link linkend="identify"> 9.4 </link>for more information on this.</para>
|
||||
<para>Once you have got the name of the chip set, just type one of the following commands (depending on the chip set)
|
||||
|
@ -473,10 +487,10 @@ If you have a CM8738 chip set,
|
|||
./configure -with-hal=cm8738</command>
|
||||
</para>
|
||||
<para>
|
||||
If you have a chip set integrated with an 810 chip set based box,
|
||||
If you have a chip set integrated with an i8** chip set based box,
|
||||
</para>
|
||||
<para> <command>bash$
|
||||
./configure --with-hal=i81x </command>
|
||||
./configure --with-hal=i8xx </command>
|
||||
</para>
|
||||
<para>
|
||||
If you have a chip set integrated with an VIA 686a chip set based motherboard ,
|
||||
|
@ -525,14 +539,14 @@ NOTE: If you get a message that says <computeroutput> configure: error: You must
|
|||
</para>
|
||||
<para>
|
||||
However, if you have an <link linkend='amr'>AMR</link> modem, then you will have to
|
||||
use the 0.9.4 drivers.
|
||||
use the 0.9.6 drivers.
|
||||
</para>
|
||||
</sect2>
|
||||
<sect2>
|
||||
<title>Installing the pctel-0.8.6 driver</title>
|
||||
<caution>
|
||||
<para>
|
||||
Use this driver only if you experience problems with the pctel-0.9.4 drivers
|
||||
Use this driver only if you experience problems with the pctel-0.9.6 drivers
|
||||
</para>
|
||||
</caution>
|
||||
<para>Make sure that you have kernel 2.4.0 or greater by the command</para>
|
||||
|
@ -604,7 +618,7 @@ Then just load the drivers with the commands
|
|||
<command>bash$ insmod ptserial</command>
|
||||
</para>
|
||||
<para>
|
||||
(these too, like in the case of the pctel-0.9.4 drivers, can be issued from any directory as the <application>insmod</application> program will automatically find
|
||||
(these too, like in the case of the pctel-0.9.6 drivers, can be issued from any directory as the <application>insmod</application> program will automatically find
|
||||
the drivers <application>pctel.o</application> and <application>ptserial.o</application> in <filename>/lib/modules/`your kernel version`/misc/ </filename>)
|
||||
</para>
|
||||
</sect2>
|
||||
|
@ -1054,7 +1068,7 @@ rmmod pctel
|
|||
</sect2>
|
||||
<sect2>
|
||||
<title>
|
||||
Bugs in the pctel-0.9.4 and the 0.8.6 versions.
|
||||
Bugs in the pctel-0.9.6 and the 0.8.6 versions.
|
||||
</title>
|
||||
<para>
|
||||
<anchor id="bug">
|
||||
|
@ -1086,7 +1100,7 @@ insmod ptserial
|
|||
<para>
|
||||
<note>
|
||||
<para>
|
||||
NOTE:You must exit from your dialer before trying to unload the drivers, otherwise you will get a <computeroutput>device or resource busy </computeroutput> error.
|
||||
You must exit from your dialer before trying to unload the drivers, otherwise you will get a <computeroutput>device or resource busy </computeroutput> error.
|
||||
</para>
|
||||
</note>
|
||||
</para><para>
|
||||
|
@ -1111,7 +1125,7 @@ ln -s /usr/src/myspecialdirectory/ /usr/src/linux/
|
|||
<para>
|
||||
<note>
|
||||
<para>
|
||||
NOTE: In case of the PCTel-0.8.6 or newer drivers you can also specify the location of your kernel source by using the option
|
||||
In case of the PCTel-0.8.6 or newer drivers you can also specify the location of your kernel source by using the option
|
||||
</para>
|
||||
<para>
|
||||
<command>bash$
|
||||
|
@ -1149,7 +1163,7 @@ AMR modems
|
|||
<para>
|
||||
There are certain PCTel chip set based internal modems that go into AMR slots instead of the normal PCI slots. They are
|
||||
usually identified as <computeroutput> HSP MR </computeroutput> by the <command>bash$ lspci </command> command. These modems
|
||||
are supported by the pctel-0.9.4 drivers only.
|
||||
are supported by the pctel-0.9.6 drivers only.
|
||||
</para>
|
||||
</sect2>
|
||||
<sect2 id="sound">
|
||||
|
@ -1197,7 +1211,7 @@ cat configure.patch | patch -p0
|
|||
</command>
|
||||
<note>
|
||||
<para>
|
||||
I am supposing that you are in the pctel-0.9.4 directory, and the <filename>configure.patch</filename> is also in that directory
|
||||
I am supposing that you are in the pctel-0.9.6 directory, and the <filename>configure.patch</filename> is also in that directory
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
|
@ -1253,7 +1267,9 @@ make[3]: *** [ptserial.o] Error 1
|
|||
<answer>
|
||||
<para>
|
||||
<anchor id="gcc3">
|
||||
To solve this, you will have to edit the file <filename>~/pctel-0.9.4/src/ptserial/Makefile</filename>.
|
||||
This should not happen anymore since the pctel-0.9.6 driver was released to address this issue. However, if you
|
||||
still face such a problem, (with an older driver or something like that), you will have to edit the file
|
||||
<filename><your pctel directory>src/ptserial/Makefile</filename>.
|
||||
In that file, find out the line which says
|
||||
</para>
|
||||
<para>
|
||||
|
@ -1266,12 +1282,18 @@ and change that to
|
|||
</para>
|
||||
<para>
|
||||
<programlisting>
|
||||
CFLAGS = -D__KERNEL__ -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe\ -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D$(HAL_TARGET) $(AUDIO_ROUTING) -DBUILD_SYSTEM=\""$(BUILD_SYSTEM)\\"" -DGCC_VERSION=\""$(GCC_VERSION)\"" -I$(top_srcdir)/include -I$(KERNEL_INCLUDES) -include $(KERNEL_INCLUDES)/linux/modversionns.h
|
||||
CFLAGS = -D__KERNEL__ -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D$(HAL_TARGET) $(AUDIO_ROUTING) -DBUILD_SYSTEM=\""$(BUILD_SYSTEM)\"" -DGCC_VERSION=\""$(GCC_VERSION)\"" -I$(top_srcdir)/include -I$(KERNEL_INCLUDES) -include $(KERNEL_INCLUDES)/linux/modversions.h
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>
|
||||
....and then recompile.
|
||||
</para>
|
||||
<tip>
|
||||
<para>
|
||||
If you cannot find the file <filename>src/ptserial/Makefile</filename>, then run the <application>configure
|
||||
</application> script, and try again.
|
||||
</para>
|
||||
</tip>
|
||||
<para>
|
||||
Alternatively, you may also try out the pre-compiled (distro specific) drivers at
|
||||
<ulink url="http://www.geocities.com/jcmp3/">http://www.geocities.com/jcmp3/</ulink>. Just note that I have not personally
|
||||
|
@ -1442,6 +1464,29 @@ you are using an unsupported module.
|
|||
</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
<qandaentry>
|
||||
<question>
|
||||
<para>
|
||||
I get a <computeroutput>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.
|
||||
</computeroutput> message while loading the modules.
|
||||
</para>
|
||||
</question>
|
||||
<answer>
|
||||
<para>
|
||||
Try to load the modules with the commands with <command>insmod -f pctel</command> and <command>insmod -f ptserial</command>
|
||||
instead of the plain <command>insmod pctel</command> and <command>insmod ptserial</command>.
|
||||
</para>
|
||||
<para>
|
||||
<warning>
|
||||
<para>
|
||||
Just remember that this is not a very nice hack.
|
||||
</para>
|
||||
</warning>
|
||||
</para>
|
||||
</answer>
|
||||
</qandaentry>
|
||||
|
||||
</qandaset>
|
||||
|
||||
</sect2>
|
||||
|
@ -1582,10 +1627,11 @@ tail /var/log/messages
|
|||
<para>
|
||||
will give you a lot of information if anything goes wrong
|
||||
The normal output should be something like this</para><para><screen>
|
||||
Sep 20 18:48:46 peacefulaction kernel: PCTel device[00:09.0](0x48) found "PCTel Inc HSP MicroModem 56 (rev 01)", iobase=0xe400, irq=12.
|
||||
Sep 20 18:48:46 peacefulaction kernel: PCTel driver version 0.9.4 [5.05c-4.27.215 (09-14-2001)] (PCT789) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
|
||||
Sep 20 18:48:46 peacefulaction kernel: PCTel driver built on [Linux 2.4.19 i686 unknown "2.4.19 <132115>"] with gcc-2.96.
|
||||
Sep 20 18:48:46 peacefulaction kernel: ttyS15 at 0xe400 (irq = 12) is a PCTel
|
||||
Nov 11 10:50:24 localhost kernel: PCTel device[00:09.0](0x48) found "PCTel Inc HSP MicroModem 56 (rev 01)", iobase=0xe400, irq=12.
|
||||
Nov 11 10:50:24 localhost kernel: PCTel driver version 0.9.5 [5.05c-4.27.215 (09-14-2001)] (PCT789) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
|
||||
Nov 11 10:50:24 localhost 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).
|
||||
Nov 11 10:50:24 localhost kernel: ttyS15 at 0xe400 (irq = 12) is a PCTel
|
||||
</screen>
|
||||
</para>
|
||||
<para>Mail the output you get to the <email>discuss@linmodems.org</email> list( more on this in section <link linkend="mailinglist">9.2.2</link>), and wait for a reply.</para>
|
||||
|
@ -1660,6 +1706,11 @@ I have seen a number of modem manufacturers (Dax, Zoltrix, Lectron, Tiacom etc)
|
|||
Actually most (if not all) of these drivers are slightly modified form of the drivers at Jan's and the modems.dewback.cl
|
||||
site, and so, in most cases, there is no point in downloading them.</para>
|
||||
<para>
|
||||
However, you may try out the pre-compiled (distro specific) drivers at
|
||||
<ulink url="http://www.geocities.com/jcmp3/">http://www.geocities.com/jcmp3/</ulink>. Just note that I have not personally
|
||||
tested out these drivers, and I don't know much about them.
|
||||
</para>
|
||||
<para>
|
||||
Moreover, in the early days of 2.4x kernels, Thomas Wright had made a PCTel driver and you can find it in his website at <ulink url="http://www.geocities.com/tom_in_rc/">http://www.geocities.com/tom_in_rc/</ulink>.</para>
|
||||
</sect2>
|
||||
<sect2 id="identify">
|
||||
|
|
Loading…
Reference in New Issue