Linmodems Mailing list Archives


Return-Path: <>
Mailing-List: contact; run by ezmlm
Delivered-To: mailing list
Received: (qmail 5420 invoked from network); 20 Feb 2005 21:08:30 -0000
Received: from (
  by with SMTP; 20 Feb 2005 21:08:30 -0000
Received: (qmail 17181 invoked by uid 60001); 20 Feb 2005 21:08:03 -0000
Comment: DomainKeys? See
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  b=Z9rlO4So8LH3q2FCdN6hcwcN9PidzpTsbZ9r4ZI2Eot8lU9hMsv5WhL+K5jF9LIcQrergJlMfmRXxZBOQLVkXtlUJcN2FZSeBN0tKlD/ZgPsjRe0bgh+495V/ScL4j8SoBlMUJU3u7QvxhBxnVMmVFjU0/KsYvz5kldYZZ9d0UE=  ;
Message-ID: <>
Received: from [] by via HTTP; Sun, 20 Feb 2005 13:08:03 PST
Date: Sun, 20 Feb 2005 13:08:03 -0800 (PST)
From: Antonio Olivares <>
Subject: Re: RPM file instead of TAR file
To: Muhammad Ali <>
In-Reply-To: <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

--- Muhammad Ali <> wrote:

> Hello
>        I'll be thankfull if you send me the .RPM
> file so I can easily
> Install the Modem.
  It will be hard to find a rpm.  I have personally
checked and got the message "No documents
found".  I also checked
and did not find any rpm for kernel 2.6 or greater
which include 2.6.5-1.358 Fedora Core 2.  It would be
great if someone can help, but keep searching for one
in google and maybe you will be successful.  But if
instead you try to compile it yourself you'll be at a
tremendous advantage.  
> I have been facing some problems by Installing TAR
> file. because I
> don't know the whole procedure.
 Please read carefully README.  It tells you step by
step which commands to execute.  Get the 
ltmodem-8.31a9.tar.gz compiler kit and follow the
steps there.  I will try to summarize these for you to
try and encourage you to go this route.
Download ltmodem-8.31a9.tar.gz from
$ tar -zxvf ltmodem-8.31a9.tar.gz
$ cd ltmodem-8.31a9
try this 
$ /build_module
$  ./ltinst2
$  ./autoload
report back if successful/failure.

Read the documentation carefully.  

You may print this email to read 1ST-README.  try not
to be intimidated.  Your modem is an ltmodem shown by
> Class 0780: 11c1:0440   Communication controller:
> Lucent Microelectronics 56k WinModem (rev 01)
 from scanModem.  Many have advised to update the
kernel to a newer version from the archives of  You are in control.  If you sit and
wait for a rpm and you don't get any.  You will have
lost some time and if you try, who knows you could be
sucessful and learn along the way.



$ cat 1ST-README
which gives

[olivares@localhost ltmodem-8.31a9]$ cat 1ST-READ

This kit will provide support for many
modems with Lucent chipsets, under a variety
of modem brand names. To simply test for a supported
PCI card modem, run:
$ ./scanmodem
Much additional information on modem chipset
is at: and wherefrom there can be
accessed the newslist and archives of

This kit will FAIL to support currently known
winmodems with chipsets produced by Conexant,
Motorola, Intel
and US Robotics. AMR modems from Lucent/Agere and
manufacturers and not suppoorted by this driver pair.

For Returnees
If the previous versions ltmodem-SomeVersion.tar.gz
worked for you,
it is OK to just do it again:
$  ./build_module
             and follow through.
Report problems through:
Send bug fixes  through:
Gratitude too,  through:

The installation sequence:
  ./build_module -> ./ltinst2 -> ./autoload
suffices to prepare and install ready-for-use modem
But YOU must still configure dialout scripts.

The commands ./build_rpm or ./build_deb are
for use by more Advanced Users. They package the modem
into installers. Such installers do bring the Benefits
registering the drivers with software Package
maintenance systems.
If ./build_module succeeds, it will do no harm
whatsover to try them.
Success is however dependent upon auxilliary packaging

First time users
If your PC is now under a DOS or Microsoft Windows
operating system, STOP NOW!!!
Scripts (action files) herein are corrupted by DOSsy
Reboot your PC under Linux.  Copy the kit into a Linux
workspace, say within /root or some /home/User folder.
     tar zxvf ltmodem-version.tar.gz
opens it. Move in with:
     cd ltmodem-version/
Start with:   1ST-READ. Eventually also browse
with DOCs/ Ltmodem.html and the other files as MUCH
useful information is contained therein.

Apologies for being a bit pedantic herein. But the
guidance below incorporates LESSONS LEARNED with the
predecessor kits. More experienced Linux users
do FINE without this Lengthy blurb. BUT, has been kept too busy dealing
with some simpler issues/errors. Most Users will be
able to skip through sections of this text.

The kit contains specific modem "driver" code, to be
combining with external resources, producing a driver
   lt_modem.o and lt_serial.o
matched with your current Linux kernel. Your acting
version is displayed by:
#       uname -r
First the external resources must be arranged and
Examples of expected diagnostic responses are given
Your's may differ slightly, depending upon version
differences in utilities and hardware.

Checks for modem identity
SKIP this section if ./scanmodem reported a supported
Hopefully there is a documentation assuring you that
modem is of the Lucent chipset variety.  If you are
guessing/hoping, there are some effective diagnostic
for the PCI class of hardware, including some modems.
The supporting
software is commonly part of a "pcituils" installation
Diagnostics replies including "Lucent" or "Xircom" may
be returned by:
#       lspci -v
00:0a.0 Communication controller: Lucent
Microelectronics 56k WinModem (rev 01)
        Subsystem: Lucent Microelectronics LT WinModem
56k Data+Fax+Voice+Dsvd
        Flags: bus master, medium devsel, latency 0,
IRQ 12
        Memory at da800000 (32-bit, non-prefetchable)
        I/O ports at b800 [size=8]
        I/O ports at b400 [size=256]
        Capabilities: [f8] Power Management version 2

Note the lead designation like " 00:0a.0 ".
Next look for the information block beginning with 
00:0a.0 ,
when querying again with:
#       lspci -nv
00:0a.0 Class 0780: 11c1:0440 (rev 01)
        Subsystem: 11c1:0440
        Flags: bus master, medium devsel, latency 0,
IRQ 12
        Memory at da800000 (32-bit, non-prefetchable)
        I/O ports at b800 [size=8]
        I/O ports at b400 [size=256]
        Capabilities: [f8] Power Management version 2

The modems known to be supported by the ltmodem.o
driver have
ID number pairs shown in the following Table. Ignore
the leading 0x.
The id pair          11c1:0442
is within the range: 11c1:0440-045c
and hence should (and is in this case) be supported by

Name            vendor_id       device id range
LUCENT          0x11c1          0x0440-0x045c
XIRCOM          0x115d          0x0000-0x000F
XIRCOM          0x115d          0x0440-0x045c
XIRCOM          0x115d          0x0010-0x03ff 
some/all? ids

This information indicates that the modem has the
DSP (digital sound processing) chipset and predicts
a driver compiled with this kit should serve well.
SKIP to the section "Utilities Versions".

However there are ISA type Lucent modems, such as
that in some Compaq 1500 series (and many other)
which will not in general provide such explicit

Read up on identifying modem hardware at:
Note that a success in compiling the drivers is
NOT at all diagnostic. The compiling itself
has no dependence at all on your modem hardware.

Utilities Versions.
If you are using a 2.2.nn version kernel, SKIPping
section is OK on your first trial. SKIP down to
  REQUIRED kernel-headers or kernel-source
But read and check carefully if you encounter
or will use a 2.4.nn series kernel.

The version requirements table below are for
2.2.16 or lower, but should suffice through the 2.2.nn

Utility    lowest Version suggested    version test
Kernel modutils        2.1.121    ; insmod -V
Gnu C            ; gcc --version
Gnu make               3.79.1     ; make --version
Binutils      ; ld -v
patch                  2.54       ; patch --version
Linux libc6 C Library  2.0.7pre6  ; ls -l /lib/libc*
Dynamic Linker ( 1.9.9      ; ldd --version
Linux C++ Library    ; ls -l
Procps                 2.0.3      ; ps --version
Psmisc                 17         ; pstree -V
Net-tools              1.52       ; hostname -Vld
Sh-utils               1.16       ; basename --v
Bash                   1.14.7     ; bash -version
PPP                    2.3.10     ; pppd --version
Util-linux             2.9z       ; mkfs --version
Pcmcia-cs              3.0.14     ; cardmgr -V
    The last is needed only for pcmcia card modems.

To compile under kernel 2.4.0 version sources,
the following additional requirements are recommended:
Gnu C                  2.91.66    # gcc --version
Gnu make               3.77       # make --version
binutils      # ld -v
patch                  2.5        # patch --version
util-linux             2.10o      # mkfs --version
modutils               2.4.0      # insmod -V
e2fsprogs              1.19       # tune2fs --version
pcmcia-cs              3.1.21     # cardmgr -V
PPP                    2.3.11     # pppd --version

REQUIRED kernel-headers or kernel-sources
The easiest and smallest satisfactory resource is a
kernel-header package with download size of about 1.5
Kernel-header roles are explained in DOCs/ForNewbies.
They can be obtained from repositories for your Linux
distribution.  Its version must match that of the your
current kernel as displayed by:
$       uname -r

Some Linux distros are now providing alternative
install kernels.
For them this next step is CRITICAL.
You must identify on your own System,
a config file specifying the contents of your kernel.
For some Linux
Distros, it will be at:
For RedHat there is a /usr/src/linux/configs
The version IS same as that displayed by:
$ uname -r
and the start if the file is like:
# Automatically generated make config: don't edit
# CONFIG_SBUS is not set

Get the matching kernel-header package from your
install CD or
download from your Linux repository. Install it with
whatever tools your distribution provides.  The common
installation folder is:
At this point try running:
$  ./build_module
It all works, just follow through with included
Also see the explanation of build_rpm and build_deb

In the case of build_module failure, read on.
A symbolic link may be  necessary, made with:
  ln -s PATHto/kernel-headers-version /usr/src/linux
Test with:
#       ls /usr/src/linux/include/linux
802_11.h           fd1772.h                loop.h
a.out.h            fddidevice.h            lp.h
ac97_codec.h       fdreg.h                 lvm.h
acct.h             file.h                  major.h
acpi.h             filter.h                malloc.h
adb.h              fs.h                    matroxfb.h
adb_mouse.h        fs_struct.h            
and MANY more.  These are the desired kernel-header
Some will compiled with the modem specific codes in
this packages

For the More Experienced planning to compile kernels,
sources download size will be some 15 Mb. Reading a
is a MUST if you have not worked with such sources
Be sure that your Linux PC installation includes
which are commonly part of bin86 package of Linux

After installation of the sources folder somewhere,
set the
following MANDATORY symbolic link as Root, and with
text on one line:
#       ln -sf
This linkage is Necessary both for compiling ltmodem.o
through its own Makefile, and for compiling custom
Check with:
#        ls -l /usr/src/linux
lrwxrwxrwx    1 root   src   17 Jan 25 21:24
-> /Some//Folder/linux-2.2.16 and further with:
#       ls  /usr/src/linux
COPYING        Makefile        arch     include  lib  
CREDITS        README          debian   init     mm
Documentation  REPORTING-BUGS  drivers  ipc     
MAINTAINERS    Rules.make      fs       kernel   net

If you have not yet run a configuration, the command:
#       ls /usr/src/linux/include/linux
will NOT yet return a Monster list of *.h header
These are produced after a few steps. Move to the
#       cd /usr/src/linux
Clean up of old debris:
#       make clean
Please check that building of modversions.h is
#       grep MODVERSIONS /usr/src/linux/.config
should output:
If not, set up the configuration appropriate to your
within /usr/src/linux, with:
#       make menuconfig OR make xconfig
Lastly, get some coffee, while setting the
which build the header files:
#       make dep
When "make dep" is completed, check with:
#       ls /usr/src/linux/include/linux/modversions.h
AND to see even more headers:
#       ls /usr/src/linux/include/linux
802_11.h           fd1772.h                loop.h
a.out.h            fddidevice.h            lp.h
ac97_codec.h       fdreg.h                 lvm.h
acct.h             file.h                  major.h
acpi.h             filter.h                malloc.h
adb.h              fs.h                    matroxfb.h
adb_mouse.h        fs_struct.h            
and MANY more.  These are the desired kernel-header
needed in the compile

WITHOUT opening the inner source.tar.gz
will compile drivers matching your current kernel.
Should there be a failure, first read
If ./build_module generates the drivers
will install them, Lastly
will prepare your system for demand loading of the
They are NOT loaded on boot up, but are autoloaded
when modem usage is initiated. Do read DOCs/LastAdvice
if you have not previously used these drivers.
Also browse the other DOCs files to be aware of what
assistance they way provide for special problems.
The ltmodem Maintainer and Tester groups wish you
good service on the Internet.

Report problems through:
Send bug fixes  through:
Gratitude too,  through:

Build_rpm and build_deb
Once you have confirmed functionality, a final
step is to properly register the software, to
gaurantee easy
upgrade and/or removal with your particular Linux
distributions package management tools.  For
using a rpm package maintenance system.  This is aided
the command:

#   ./build_rpm
which if System requirements are met, will output a
The whole installation will then be redone with the
#  rpm -i version.rpm
but this time, WITH Proper Registration of the
A report of a typeical ./build_rpm run is in DOCs/

Similarly, it your Linux distribution utilizes Debian
package maintenance.  Construct an installer with:
$  ./build_deb
and run the installation with:
$  dpkg -i ltmodem-version.deb

Installed Components
1) The modem driver pair are installed in the standard
kernel modules path.

2) There is a block with the file /etc/modules.conf

# lt_drivers: autoloading and insertion parameter
alias char-major-62 lt_serial
alias /dev/tts/LT0 lt_serial
alias /dev/modem lt_serial
# The next line is a syntax example, rarely needed, to
automate parameter
usage during lt_drivers insertion. See documentation
for details
# options lt_modem vendor_id=0x115d device_id=0x0420
# section for lt_drivers ends

3) If an rpm installer was used, the DOCs/ and utils/
are copied into:

4) If your system is using the device file system,
there is a file:
or lines are appended to:

Removal of Installed Components
If installation was accomplished through:
The installed components are cleaned out with:

If Debian or RPM installers were used,
then use the corresponding package removal tools.

Updated 04March2002 by Marv Stodolsky

> Bye
> > 
>  DO use the following line as the email Subject
> Line, to alert cogent experts:
>       scanModem, Fedora Core
> Kernel \r kernel 2.6.5-1.358
>  Occassionally reponses are blocked by an Internet
> Providers mail filters.
>  So do in a day also check the Archived responses at
> Code updated on:  2005_Jan_29
> ------------ --------------  System information
> ------------------------
> Fedora Core release 2 (Tettnang)
> Kernel 
>  on System with processor: i686
>  currently under kernel:   2.6.5-1.358
>  The kernel-2.6.5-1.358 was compiled with
> CONFIG_REGPARM, providing more compact and faster
> code.
>  The kernel was assembled with compiler:  3.3.3
>  with current System compiler GCC=3.3.3
> Checking for kernel-headers needed for compiling.
>  kernel-headers have base folder
> /lib/modules/2.6.5-1.358/build
>  A /dev/modem symbolic link is not set.
> Modem candidates are at PCI_buses:  01:0a.0
> Providing detail for device at PCI_bus 01:0a.0
>   with vendor-ID:device-ID
> 	    ----:----
> Class 0780: 11c1:0440   Communication controller:
> Lucent Microelectronics 56k WinModem (rev 01)
>   SubSystem 11c1:0440   Lucent Microelectronics LT
> WinModem 56k Data+Fax+Voice+Dsvd
> 	Flags: bus master, medium devsel, latency 0, IRQ 11
> 	Memory at ff8ffc00 (32-bit, non-prefetchable)
> 	I/O ports at dff0 [size=8]
>                   -----PCI_IDs-------               
>     --CompilerVer- 
>     Feature List:  Primary  Subsystem Distr 
> KernelVer   kernel default  CPU
>  ./scanModem test 11c1:0440 11c1:0440 redhat
> 2.6.5-1.358 3.3.3 3.3.3    i686
>  == Checking PCI IDs through modem chip suppliers ==
>  The modem has a supported Lucent/Agere DSP (digital
> signal processing) chipset
>   with primary PCI_ID:  11c1:0440
>  DSP=1
>  Vendor 11c1 corresponds to Lucent Technologies or
> subsidiary Agere Systems, Inc.
>  Information is at: 
> Produced
> are both:
>    1) modems identifiable from their primary PCI IDs
> and 
>    2) soft modem Subystem chips requiring
> identification through codec readouts.
>  Call waiting specified by, +pcw=1, is not
> implmented in the ltmodem drivers.
> Configuration with forcing is described in:
>  0x0440 -- Mars 2 - data/fax/voice
>  Support has been extended to 2.6.n kernels by
> Rajesh K. Balan and
>  Aleksey Kondratenko <>, with official
> support from AgereSystems later following.
>  Functionalirt requires serial_core support, either
> as a module or integral to the kernel.
>  The resources are are more
> automated and can utilize kernel-headers.
>  The ltmodem-2.6-alk-6.tar.bz2 is a leaner package
> and can be downloaded from:
>    with low bandwidth alternate:
>  Many installers for RedHat are available at 
>   The desired installer name is like:
> ========================================
> ltmodem-kv-2.6.5_1.358-8.31a9-1.i686.rpm
> ----------------------------------------
>  ltmodem-kv-Kernel_FL-LTver--.CPU.rpm   explains the
> versioning.
>  For your System
>             Kernel_FL is 2.6.5-1.358 , the full
> kernel version displayed by: uname -r
>                       LTver is 8.31a9, the release
> of the compiler kit
>                                8.nn is the Agere
> core code designation.
>        The proccesor type or CPU is:  i686     
> dispayed by:  uname -m
>  used in compiling and assembling driver packages.
>  For usage with the udev file system of fedora core
> 3, see
>  A suitable installer is not available as of this
> 2005_Jan_29 update.
>  Check in the section fedora at 
>    for a subsequent Installer submission.
>  Older releases have been archived at:
>  Also there is a RPM search engine at:  
>  The closest match to your   i686=CPU   is
> recommended.
>    The closest match to your   i686=CPU   is
> recommended.
>    For example replacements in order of preference
> for an
>      i686 would be i586, i486 and i386
>  If not present use the  ltmodem-8.31a9.tar.gz
> compiler kit.
>  The list of available Installers for fedora as of
> this 2005_Jan_29
>  is inserted into to Modem/General.txt
>   ======= PCI_ID checking completed ====== 
>  Update=2005_Jan_29
> A PCMCIA CardBus is not detected on this System.
> The following information blocks just query some ppp
> support items.
> ====================================================
>    grep -rs ppp /etc/modprobe.*
> -------------------------------------
> /etc/modprobe.conf.dist:alias tty-ldisc-3 ppp_async
> /etc/modprobe.conf.dist:alias tty-ldisc-14
> ppp_synctty
> /etc/modprobe.conf.dist:alias ppp-compress-18
> ppp_mppe
> /etc/modprobe.conf.dist:install ppp-compress-21
> /bin/true
> /etc/modprobe.conf.dist:alias ppp-compress-24
> ppp_deflate
> /etc/modprobe.conf.dist:alias ppp-compress-26
> ppp_deflate
> -------------------------------------
>  PPP support module  bsd_comp.ko  not found!
>  Resident PPP support modules are properly
> uncompressed .
>  COMM services are not active
> DEVPPP=crw------- 1 root root 108, 0 Feb 24 2004
> /dev/ppp
> A /dev/modem symbolic link is not present
>  No devfsd.conf file found, indicated absense of the
> devfsd daemon package
>  for device file system (devfs) symbolic link
> support.
>  ---- dmesg queries -------
> CPU serial number disabled.
> ACPI: Interpreter disabled.
> apm: BIOS version 1.2 Flags 0x03 (Driver version
> 1.16ac)
> audit: initializing netlink socket (disabled)
>   Beginning with Fedora 2  kernel-2.6.6-1.427,
> kernel-headers needed 
>   for compiling drivers are provide at:
> /lib/modules/kernel-version/build/
>   Thus upgrading above kernel 2.6.5-1.358 to 2.6.6-*
> is Stongly Recommended
>   pppd version 2.4.2 may not be fully compatible
> with 2.6.8 kernel releases.
>   If an initial CONNECT is achieved without PPP
> being subsequently established,
>   drop back to a 2.4.1 version.  This has worked for
> PCTEL AMR modem users,
>   supported by the  slmodem
> software.
>   Check pppd version with:
>     pppd --version
>   See 
=== message truncated ===

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Webmaster: Russell Nelson
Last modified: Wed Jul 30 11:02:43 EDT 2003