Re: Joe USA Kernel 2.6.32-29-generic Martian Driver

Joe Herko <[email protected]>
Newsgroups gmane.linux.linmodem
Message-ID <[email protected]>
I finally was able to get back on the modem problem.

I was not able to run wvdialconf and I suspect that the 
martian-modem-source package is only partially installed.
I can not find a martian_dev file on my system.

What is the setserial command referenced in the error message?

Should I try removing martian-modem-source and reinstall the package 
using the Ubuntu Software Center?

Should I try to decompression one of the tar files on my system, if 
so which one?
         /usr/share/man/man8/martian_modem.8.gz, 5 Feb 2010, Gzip archive
         /urs/src/martian-modem.tar.bz2, 5 Feb 2010, Tar archive 
(bzip compressed)

Should I then compile the source?

If so, what subdirectory should I be in, and what are the commands 
that I should use?
(reference my original forum posting)

I tried to run the command
$ sudo wvdialconf /etc/wvdialtest

and it failed with the following error messages

editing /etc/wvdialtest
Scanning your serial ports for a modem
ttySS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttySS0<*1>: ATQ0 V1 E1 -- and failed too at 115200 baud, giving up
Modem Port Scan <*1>: S1 S2 S3

Sorry no modem was detected.  Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?wvDial
If you still have problems, send mail to [email protected]

I then tried some of the commands in the scanModem AgereDSP.txt document

martian_modem --help    ---   successful list of the command options
martian_modem --info countries  --- successful list of country codes

martian_modem --country=us  ---- failed with the following errors
martian: error: open: No such file or directory
martian: info: kernel part is not loaded i.e.
martian: info: modprobe martian_dev

modprobe martian_dev  ----  failed
FATAL: Module martian_dev not found

Searched for martian_dev, no file found (including hidden files)


Again, I am new to Linux and Ubuntu, and I would like to thank you 
for your assistance in advance.

======================
At 07:56 AM 4/11/2011, Antonio Olivares wrote:
>Joe,
>
>Two questions:
>
>1)  You installed martian-modem-src deb package?
>or
>2)  You compiled martian-full-20080625.tar.gz
>package?
>
>In either of the two cases, the modem driver appears to be installed,
>the question becomes have you run
>
>$ sudo wvdialconf /etc/wvdial.conf
>and if it did find a modem port which should have been /dev/ttySM0
>unless it was changed through init scripts, then you need to edit
>/etc/wvdial.conf with sudo priviledges and add a line "Carrier Check =
>no" to the file and save it.  If you have done this, and have also
>added your username and password to the file and have tried to connect
>$ sudo wvdial
>
>and have not been able to connect or the driver is not responding?
>
>please do as scanModem advices to send us output of
>$ dmesg
>
>:
>For candidate card in slot 00:06.0, firmware information and bootup
>diagnostics are:
>  PCI slot       PCI ID          SubsystemID     Name
>  ----------     ---------       ---------       --------------
>  00:06.0        11c1:0449       1436:0440       Communication
>controller: Agere Systems WinModem 56k
>  Modem interrupt assignment and sharing:
>  10:          4    XT-PIC-XT
>  --- Bootup diagnostics for card in PCI slot 00:06.0 ----
>[    0.267034] pci 0000:00:06.0: reg 10 32bit mmio: [0xfedffc00-0xfedffcff]
>[    0.267065] pci 0000:00:06.0: reg 14 io port: [0xfc88-0xfc8f]
>[    0.267095] pci 0000:00:06.0: reg 18 io port: [0xf800-0xf8ff]
>[    0.267180] pci 0000:00:06.0: supports D2
>[    0.267199] pci 0000:00:06.0: PME# supported from D2 D3hot D3cold
>[    0.268035] pci 0000:00:06.0: PME# disabled
>  The PCI slot 00:06.0 of the modem card may be disabled early in
>  a bootup process,  but then enabled later. If modem drivers load
>  but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
>  Send dmesg.txt along with ModemData.txt to [email protected]
>  if help is needed.
>
>Regards,
>
>Antonio
>
>On Sun, Apr 10, 2011 at 9:18 PM, Joe Herko <[email protected]> wrote:
> > I would like help installing the Martian driver on my system.
> >
> > This is my first experience with Linux and Ubuntu.  This is an old laptop
> > that worked with Windows 98 before I replaced the hard drive to install
> > Ubuntu.
> >
> > IBM ThinkPad 309E laptop (docked setup with external keyboard, mouse &
> > display)
> > Ubuntu 10.4 Lucid Lynx
> > CPU Pentium 333 MHz
> > Memory 256 MB (2 DIMMs @ 128MB)
> > Hard Drive 40 GB: root 39 GB, Swap 750 MB
> > PCMCIA card slots defective, hence the USB hub
> > Internal Modem Agere.DSP
> > Combo Floppy & CD drive
> > External PS/2 keyboard
> > External VGA monitor
> > External USB Hub
> > USB Dell mouse
> > USB Netgear Ethernet Adapter FA120
> > Printer Brother HL-5250DN laser, network connect
> >
> > I think the following steps are necessary to identify the modem and to
> > install the correct driver.
> > I am having difficulty with steps 3 and 4 at this time.
> >
> > 1. Use ScanModem to identify the internal winmodem and the correct driver
> > 2. Locate and download the driver and dependency packages
> > 3. Identify, locate and download the other compile dependency packages
> > 4. Compile and install the driver
> > 5. Configure the driver and modem
> >
> >
> > 1  scanModem Detection
> > --------------------------------
> >
> > scanModem identified my system & modem as: (see ModemData appended near the
> > bottom of this email)
> >
> > Linux ver 2.6.32-29-generic
> > Communication controller: Agere System WinModem 56k
> > Support type needed or chipset: Agere.DSP
> > Support Packages for 2.6 kernels are at:
> > http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian
> > http://packages.debian.org/sid/martian-modem-source
> > For kernels after 2.6.20 use martian-full-20080625.tar.gz
> >
> >
> > 2. Locate Driver & Dependency Packages
> > ---------------------------------------------------
> >
> > I used the Ubuntu Software Center to located and download:
> > - martin-modem-source
> > - GNOME PPP
> > - CheckInstall  (referenced in the CompilingEasyHowTo, checkInstall, used
> > instead of make install )
> >
> > I now have files with "martian" in the filename in several folders on the
> > hard drive.   The complete list appended at the bottom of this email).
> >
> > The 3 files that may be important are
> >
> > /usr/sbin/martian_modem, 5 Feb 2010, executable
> > /usr/share/man/man8/martian_modem.8.gz, 5 Feb 2010, Gzip archive
> > /urs/src/martian-modem.tar.bz2, 5 Feb 2010, Tar archive (bzip compressed)
> >
> > The GNOME PPP icon appears in Applications ==> Internet ==> GNOME PPP
> >
> >
> > 3. Identify, Locate, and Download other Dependency Packages
> > ---------------------------------------------------------------------------
> >
> > The following dependencies were already installed on my system when I
> > checked the Ubuntu Software Center
> >
> > wvdial (used with GNOME PPP)
> > build-essential
> > libc6-dev
> > linux-libc-dev
> >
> >
> > 4. Driver Compile
> > -------------------------
> >
> > I have 2 different compressed files on my system, see the listing above.
> > But I think that the Ubuntu Software Center decompressed a file to created
> > all of the files containing "martian" in the filename that are on 
> my system,
> > including a binary executable file.
> >
> > Do I still need to decompress one or both of the compressed files?
> >
> > What file do I need to compile?  Is it the  /usr/sbin/martian_modem
> > executable file?
> >
> > If so, what are the commands?
> >
> > I think the following commands are necessary to perform the compile:
> >
> > cd /usr/bin (the subdirectory with the binary executable  ????)
> > make clean
> > ./configure  (what options ????)
> > make   (what options ????)
> > sudo checkinstall  (use this command instead of make install   ????)
> >
> > Are any of these commands necessary and ,if so, what is the correct syntax?
> >
> > sudo modprobe agrmodem
> > sudo modprobe agrserial
> > ln -s /dev/ttyAGS3 /dev/ttySAFR
> > ln -s /dev/ttyAGS3 /dev/modem
> >
> >
> > 5. GNOME PPP and wvdial setup
> > -------------------------------------
> >
> > Then proceed to the wvdial setup ?????
> >
> > Then modify /etc/rc.local to include the following lines, are these still
> > valid?
> >
> > modprobe agrmodem
> > modprobe agrserial
> > ln -s /dev/ttyAGS3 /dev/ttySAFR
> > ln -s /dev/ttyAGS3 /dev/modem
> >
> > Are they any other setup commands that I should perform?
> >
> >
> > Other Questions:
> > -------------------------------
> > Do I need the patch utility?
> > ModemData.txt, When compiling ALSA drivers, the utility "patch" 
> will also be
> > needed.
> >
> > Do I need version management software such as cvs, subversion, git-core, or
> > mercurial (referenced in the Compiling EasyHowTo)
> >
> > ModemData
> > ---------------------------------
> >
> > Only plain text email is forwarded by the  [email protected] List
> > Server,
> >  as HTML can contain viruses. Use as the email Subject Line:
> >           YourName, YourCountry  kernel 2.6.32-30-generic
> >  With this Subject Line cogent experts will be alerted, and useful case
> > names left in the Archive.
> >  YourCountry will enable Country specific guidance. Linux experts in
> > YourCountry
> >  can be found through: http://www.linux.org/groups/index.html.
> > They will know your Country's modem code, which may be essential for dialup
> > service.
> > Responses from [email protected] are sometimes blocked by an Internet
> > Provider mail filters.
> >  So in a day, also check the Archived responses at http://www.linmodems.org
> > --------------------------  System information ----------------------------
> > CPU=i686,  Ubuntu ,  ALSA_version=1.0.21
> > Linux version 2.6.32-30-generic (buildd@vernadsky) (gcc version 4.4.3
> > (Ubuntu 4.4.3-4ubuntu5) ) #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011
> >  scanModem update of:  2011_02_04
> > Distrib_ID=Ubuntu
> > DistribCodeName=lucid
> > AptRepositoryStem=http://us.archive.ubuntu.com/ubuntu/
> >
> > Presently install your Linux Distributions dkms package. It provides for
> > automated driver updates,
> > following upgrade of your kernel.  For details see
> > http://linux.dell.com/projects.shtml#dkms
> >  There are no blacklisted modem drivers in /etc/modprobe*  files
> >  Potentially useful modem drivers now loaded are:
> >
> > Attached USB devices are:
> >  ID 0846:1040 NetGear, Inc. FA120 Fast Ethernet USB 2.0 [Asix AX88172 /
> > AX8817x]
> >  ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
> >  ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
> > If a cellphone is not detected, see
> > http://ubuntuforums.org/archive/index.php/t-878554.html
> > A sample report is:
> >  http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html
> > If a USB modem or cellphone is attached and was not detected, please
> > provide available information in your request to [email protected]
> > Candidate PCI devices with modem chips are:
> > 00:06.0 Communication controller: Agere Systems WinModem 56k (rev 01)
> > High Definition Audio cards can host modem chips.
> > For candidate card in slot 00:06.0, firmware information and bootup
> > diagnostics are:
> >  PCI slot       PCI ID          SubsystemID     Name
> >  ----------     ---------       ---------       --------------
> >  00:06.0        11c1:0449       1436:0440       Communication controller:
> > Agere Systems WinModem 56k
> >  Modem interrupt assignment and sharing:
> >  10:          4    XT-PIC-XT
> >  --- Bootup diagnostics for card in PCI slot 00:06.0 ----
> > [    0.267034] pci 0000:00:06.0: reg 10 32bit mmio: [0xfedffc00-0xfedffcff]
> > [    0.267065] pci 0000:00:06.0: reg 14 io port: [0xfc88-0xfc8f]
> > [    0.267095] pci 0000:00:06.0: reg 18 io port: [0xf800-0xf8ff]
> > [    0.267180] pci 0000:00:06.0: supports D2
> > [    0.267199] pci 0000:00:06.0: PME# supported from D2 D3hot D3cold
> > [    0.268035] pci 0000:00:06.0: PME# disabled
> >  The PCI slot 00:06.0 of the modem card may be disabled early in
> >  a bootup process,  but then enabled later. If modem drivers load
> >  but the  modem is not responsive, read DOCs/Bootup.txt about possible
> > fixes.
> >  Send dmesg.txt along with ModemData.txt to [email protected]
> >  if help is needed.
> >
> > === Finished firmware and bootup diagnostics, next deducing 
> cogent software.
> > ===
> > Predictive  diagnostics for card in bus 00:06.0:
> >        Modem chipset  detected on
> > NAME="Communication controller: Agere Systems WinModem 56k "
> > CLASS=0780
> > PCIDEV=11c1:0449
> > SUBSYS=1436:0440
> > IRQ=10
> > IDENT=Agere.DSP
> >  For candidate modem in:  00:06.0
> >   0780 Communication controller: Agere Systems WinModem 56k
> >      Primary device ID:  11c1:0449
> >  Support type needed or chipset:        Agere.DSP
> >
> >
> >  The modem has a Lucent/Agere/LSI Mars or Apollo DSP (digital signal
> > processing) chipset.
> > Support packages for 2.6.n kernels are at:
> >  http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/
> >  http://packages.debian.org/sid/martian-modem-source/
> > Always use the most recent update for kernels after 2.6.20, currently
> > martian-full-20080625.tar.gz
> > For kernels 2.6.20 and less, usr martian-full-20080407.tar.gz.
> >  See DOCs/AgereDSP.txt for Details.
> >  At 
> http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/ get
> > the martian-full-20080625.tar.gz and follow Readme-NOW.html
> >  0x0449 -- Mars 2 Global Board - data/fax only
> > -------------- end Agere Systems section -------------------
> >  Completed candidate modem analyses.
> >  The base of the UDEV device file system is: /dev/.udev
> >  Versions adequately match for the compiler installed: 4.4.3
> >             and the compiler used in kernel assembly: 4.4.3
> >
> >
> >  Minimal compiling resources appear complete:
> >   make utility - /usr/bin/make
> >   Compiler version 4.4
> >   linuc_headers base folder /lib/modules/2.6.32-30-generic/build
> >  However some compilations and executable functions may need additional
> > files,
> >  in the FileNames.h (so called kernel "h"eaders) collection installed in
> >  /usr/include/ .
> >  For martian_modem, additional required packages are needed. The also
> > required headers of package libc6 are commonly installed by default.
> >  Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev
> > packages, for kernels 2.6.24 and later versions.
> >  In not included on your install CD, search for them at
> > http://packages.ubuntu.com
> >  or comparable Repository for other Linux distros.
> >  When compiling ALSA drivers, the utility "patch" will also be needed.
> >
> > Compressed files at: /usr/src/martian-modem.tar.bz2
> >
> > If a driver compilation fails, with message including some lack of some
> > FileName.h (stdio.h for example), then
> > Some additional kernel-header files need installation to /usr/include. The
> > minimal additional packages are libc6-dev
> > and any of its dependents, under Ubuntu linux-libc-dev
> > If an alternate ethernet connection is available,
> > $  apt-get update
> > $  apt-get -s install linux-kernel-devel
> > will install needed packages.
> > For Debian/Ubuntu related distributions, run the following command to
> > display the needed package list:
> > Otherwise packages have to be found through http://packages.ubuntu.com
> > Once downloaded and transferred into a Linux partition,
> > they can be installed alltogether with:
> > $ sudo dpkg -i *.deb
> > Checking settings of:   /etc/ppp/options
> > asyncmap 0
> > noauth
> > crtscts
> > lock
> > hide-password
> > modem
> > proxyarp
> > lcp-echo-interval 30
> > lcp-echo-failure 4
> > noipx
> > In case of a message like:
> >   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
> > see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
> > For guidance on FAX usage, get from
> > http://linmodems.technion.ac.il/packages/  get faxing.tar.gz
> > It has samples for a modem using port /dev/ttySL0, which must be changed to
> > match your modem's port.
> > Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
> > Which can interfere with Browser naviagation.
> >  Don't worry about the following, it is for experts should trouble shooting
> > be necessary.
> > ==========================================================
> >  Checking for modem support lines:
> >  --------------------------------------
> >     /device/modem symbolic link:
> > slmodemd created symbolic link /dev/ttySL0:
> >     Within /etc/udev/ files:
> >     Within /etc/modprobe.conf files:
> > /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
> > /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
> > /etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to
> > blacklist unwanted modem drivers
> > /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
> > /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
> >     Within any ancient /etc/devfs files:
> >     Within ancient kernel 2.4.n /etc/module.conf files:
> > --------- end modem support lines --------
> >
> > Files with "martin" in the filename
> > -----------------------------------------
> > Files with "martian" text in the filename after getting the
> > martian-modem-source from the Ubuntu Software
> >
> > /etc/default/martian-modem, plain text document
> > /ect/init.d/martian-modem, shell script
> > /etc/rc0.d/K20martian-modem, link to shell script
> > /etc/rc1.d/K20martian-modem, link to shell script
> > /etc/rc2.d/S20martian-modem, link to shell script
> > /etc/rc3.d/S20martian-modem, link to shell script
> > /etc/rc4.d/S20martian-modem, link to shell script
> > /etc/rc5.d/S20martian-modem, link to shell script
> > /etc/rc6.d/K20martian-modem, link to shell script
> >
> > /usr/sbin/martian_modem, 5 Feb 2010, executable
> >
> > /usr/share/doc/martian-modem, folder
> >    README.Debian
> >        README
> >        /examples/wv.conf
> >        2 changelog files and 1 copyright file
> > /usr/share/doc/martian-modem-source, folder
> >   2 changelog folders with 1 file each and 1 copyright file
> > /usr/share/lintian/overrides/martian-modem,  plain text document
> >
> > /usr/share/man/man8/martian_modem.8.gz, 5 Feb 2010, Gzip archive
> >
> > /usr/share/modass/overrides/martian-modem-source, link broken
> >
> > /urs/src/martian-modem.tar.bz2, 5 Feb 2010, Tar archive (bzip compressed)
> >
> > /var/lib/dpkg/info/martian-modem-source..list, plain text document
> > /var/lib/dpkg/info/martian-modem-source.md5sums, plain text document
> > /var/lib/dpkg/info/martian-modem.conffiles, plain text document
> > /var/lib/dpkg/info/martian-modem.list, plain text document
> > /var/lib/dpkg/info/martian-modem.md5sums, plain text document
> > /var/lib/dpkg/info/martian-modem.postinst, shell script
> > /var/lib/dpkg/info/martian-modem.postrm, Shell script
> > /var/lib/dpkg/info/martian-modem.prerm, Shell script
> >
> > /var/lib/update-rc.d/martian-modem
> > ----------------------------------------------------
> >
> > Thank you in advance for your assistance.
> >
> > --------------------
> > Joe Herko
> >

--------------------
Joe Herko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.