This commit is contained in:
gferg 2002-11-10 19:51:31 +00:00
parent a320c384fa
commit 04f818eefa
3 changed files with 84 additions and 15 deletions

View File

@ -1035,7 +1035,7 @@ PCTel-MicroModem-Config</ULink>, <CiteTitle>
PCTel HSP MicroModem Configuration mini-HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>
Updated: September 2002</CiteTitle>.
Updated: November 2002</CiteTitle>.
Make your PCTel HSP MicroModem work in Linux. </Para>
</ListItem>

View File

@ -1216,7 +1216,7 @@ PCTel-MicroModem-Config</ULink>, <CiteTitle>
PCTel HSP MicroModem Configuration mini-HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>
Updated: September 2002</CiteTitle>.
Updated: November 2002</CiteTitle>.
Make your PCTel HSP MicroModem work in Linux. </Para>
</ListItem>

View File

@ -1,4 +1,4 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" []>
<article id="index">
@ -19,6 +19,12 @@ Sayamindu</firstname> <surname>Dasgupta</surname> <affiliation>
<revhistory>
<revision>
<revnumber> 2.5.8 </revnumber>
<date>2002-11-10</date>
<revremark> Added information on GCC 3, fixed typos, and other minor corrections. </revremark>
</revision>
<revision>
<revnumber> 2.5.6 </revnumber>
<date> September 21st 2002 </date>
@ -182,12 +188,13 @@ 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 and Andrew Kar (akar)
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.
</para>
<para>
The sgml-stuff has been done with the help of the template written by Stein Gjoen, Gregory Leblanc and Greg Ferguson.
I am also indebted to Greg Ferguson for cleaning up the mess i had made with Docbook:).
I am also indebted to Greg Ferguson for cleaning up the mess I had made with Docbook :-).
</para>
</sect2>
@ -201,10 +208,12 @@ I am also indebted to Greg Ferguson for cleaning up the mess i had made with Doc
If you have any comments, criticisms, ideas, additions, corrections, then please do mail them to
<email>unmadindu_NO_SPAM_@Softhome.net</email>. But for technical queries, we suggest that you ask at the
discuss@linmodems.org mailing list.</para>
<caution>
<para>
NOTE: Please do not mail me with your problems. You will <emphasis>NOT</emphasis> get any answer. For answers ask at
discuss@linmodems.org
Please do not mail me with your problems. You will <emphasis>NOT</emphasis> get any answer. For answers ask at
discuss@linmodems.org.
</para>
</caution>
</sect2>
<sect2 id="translations">
<title>Translations</title>
@ -397,6 +406,11 @@ source with smp support in /usr/src/linux). Also, you will need a kernel
which supports loadable modules.</para>
<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.
</para>
</note>
<sect2><title>Installing the 2.2x drivers.</title>
<para>Login as root.</para>
<para>Make sure that you have a 2.2.x kernel with the command <command>bash$ uname -r</command></para>
@ -437,7 +451,7 @@ the script, but once you reboot, you will have to load the modules by</para><par
<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 0.9.4.tar.gz</command></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>cd into that with the command</para>
<para><command>bash$ cd pctel-0.9.4/</command></para>
@ -1122,10 +1136,10 @@ During startup, when you see "Memory Test" messages, CPU information, BIOS infor
You will be presented with the BIOS configuration menu. Enter the "PNP/PCI Configuration" section and set the option for "PNP OS Installed" to "NO". Save the changes you have made, and then reboot.
</para>
<para>
<caution>
<para>WARNING: This is <emphasis>not</emphasis> applicable to all BIOSs, and you are advised to consult your PC documentation if you have a different kind of BIOS configuration menu.
<warning>
<para>This is <emphasis>not</emphasis> applicable to all BIOSs, and you are advised to consult your PC documentation if you have a different kind of BIOS configuration menu.
</para>
</caution>
</warning>
</para>
</sect2>
<sect2 id="amr">
@ -1168,12 +1182,12 @@ Compiling Problems
<qandaentry>
<question>
<para>
<anchor id='patch-configure'>
I get a <computeroutput>configure: error: You must have linux kernel >= 2.4.0 installed</computeroutput> during ./configure
</para>
</question>
<answer>
<para>
<anchor id='patch-configure'>
If this occurs, you will have to patch your configure script. Download the file <filename>configure.patch</filename> from <ulink url="http://www.peacefulaction.org/sayamindu/configure.patch">
here</ulink> and give the command
</para>
@ -1181,11 +1195,11 @@ here</ulink> and give the command
<command>
cat configure.patch | patch -p0
</command>
<tip>
<note>
<para>
NOTE: 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.4 directory, and the <filename>configure.patch</filename> is also in that directory
</para>
</tip>
</note>
</para>
</answer></qandaentry>
@ -1225,6 +1239,61 @@ You need to be logged in as root while doing <command>bash$ make install</comman
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
I have gcc 3 and while compiling, I get an error which goes like this
<computeroutput>&lt;command line&gt;:1:13: multi-line string literals are deprecated
make[3]: *** [ptserial.o] Error 1
</computeroutput>.
</para>
</question>
<answer>
<para>
<anchor id="gcc3">
To solve this, you will have to edit the file <filename>~/pctel-0.9.4/src/ptserial/Makefile</filename>.
In that file, find out the line which says
</para>
<para>
<programlisting>
CFLAGS = -D__KERNEL__ -Werror -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 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
</programlisting>
</para>
<para>
....and then recompile.
</para>
<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
tested out these drivers, and I don't know much about them.
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
I have RedHat 8.0/Mandrake 9.0, and I am having troubles compiling the drivers.
</para>
</question>
<answer>
<para>
See the answer to the <link linkend="gcc3">previous</link> question (8.1.4).
</para>
</answer>
</qandaentry>
</qandaset>
</sect2>