Re: Dawit, Ethiopia kernel 2.6.27-7-generic - A TECRA laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dawit,

To setup a compiling environment under Ubuntu it is easier to use these 2 commands:

sudo apt-get update

sudo apt-get install build-essential

In this way linux-libc-dev and libc6-dev packages automatically would be installed with eventually needed dependecies and with many other packages needed to compile.

Bye


Dawit,

 Compiling martian 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

When downloaded and copied to your Ubuntu partition, they can be
jointly installed with:
$ sudo dpkg -i  li*.deb

This problem;
[    0.116321] pci 0000:00:07.0: PME# disabled
may be cured by a reboot before loading martian_dev

MarvS
scanModem maintainer

On Sun, Dec 14, 2008 at 8:43 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Dawit
>
> Download the file
>
http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/martian-full-20080625.tar.gz
>
> Copy it over to your linux patition, then fire up a terminal
> Extract it wtih
> $ tar -zxvf martian-full-20080625.tar.gz
> $ cd martian-full-20080625/
> $ make all
> $ sudo make install
> $ sudo modprobe martian_dev
> $ sudo martian_modem
>
> Leave this running, then open up a tab/terminal
> $ sudo wvdialconf /etc/wvdial.conf
> should find the modem port then, if it does /dev/ttySM0 should be the
modem port
> Then using sudo
> $ sudo gedit /etc/wvdial.conf
> and add your username/password remove the ";" and
"<"">"' characters.
> Also add your ISP's phone number and a line
> Carrier Check = no
> to /etc/wvdial.conf
>
> There might be an easier way, but this is what is done to get the
> modem running under linux.
>
> Regards,
>
> Antonio
>
> On Sun, Dec 14, 2008 at 9:55 PM, Cruising Eagle
<yemejemeria@xxxxxxxxx> wrote:
>>
>> Dear Antonio,
>> The process seems to be QUITE challenging with the commands not
working and the files and directories not being displayed! Is there no other way
to work around this problem? If this is the ABSOLUTE WAY, let me know so that I
can buckle up!
>>
>> Thanks for your reply,
>>
>>
>>
>> --- On Sun, 12/14/08, Antonio Olivares <olivares14031@xxxxxxxxx>
wrote:
>>
>>> From: Antonio Olivares <olivares14031@xxxxxxxxx>
>>> Subject: Re: Dawit, Ethiopia kernel 2.6.27-7-generic - A TECRA
laptop
>>> To: yemejemeria@xxxxxxxxx
>>> Cc: "Linmodems linmodems.org"
<discuss@xxxxxxxxxxxxx>
>>> Date: Sunday, December 14, 2008, 7:14 PM
>>> For this modem, it appears that you need martian modem
>>> driver:
>>>
>>>  For candidate modem in:  00:07.0
>>>    0780 Communication controller: Agere Systems 56k
>>> WinModem
>>>       Primary device ID:  11c1:0441
>>>   Support type needed or chipset:        Agere.DSP
>>>
>>>
>>>  ----------------end Softmodem section --------------
>>>
>>>   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/
>>>  Always use the most 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.
>>>
>>>
>>> Regards,
>>>
>>> Antonio
>>>
>>>
>>> On 12/14/08, Cruising Eagle <yemejemeria@xxxxxxxxx>
>>> wrote:
>>> > --------------------------  System information
>>> ----------------------------
>>> > CPU=i686,
>>> > Linux version 2.6.27-7-generic (buildd@rothera) (gcc
>>> version 4.3.2 (Ubuntu
>>> > 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 06:42:44 UTC 2008
>>> >  scanModem update of:  2008_11_06
>>> > The modem symbolic link is /dev/modem -> ttySL0
>>> >  There are no blacklisted modem drivers in
>>> /etc/modprobe*  files
>>> > Attached USB devices are:
>>> >  ID 0930:6545 Toshiba Corp.
>>> >  ID 1d6b:0001 Linux Foundation 1.1 root hub
>>> >
>>> > USB modems not recognized
>>> >
>>> > For candidate card in slot 00:07.0, firmware
>>> information and bootup
>>> > diagnostics are:
>>> >  PCI slot   PCI ID          SubsystemID     Name
>>> >  ---------- ---------       ---------       --------------
>>> >  00:07.0    11c1:0441       1179:0001       Communication
controller:
>>> Agere Systems 56k
>>> > WinModem
>>> >
>>> >  Modem interrupt assignment and sharing:
>>> >  --- Bootup diagnostics for card in PCI slot 00:07.0
>>> ----
>>> > [    0.116191] PCI: 0000:00:07.0 reg 10 32bit mmio:
>>> [ffefff00, ffefffff]
>>> > [    0.116213] PCI: 0000:00:07.0 reg 14 io port: [2f8,
>>> 2ff]
>>> > [    0.116232] PCI: 0000:00:07.0 reg 18 io port:
>>> [1c00, 1cff]
>>> > [    0.116292] pci 0000:00:07.0: supports D2
>>> > [    0.116304] pci 0000:00:07.0: PME# supported from
>>> D2 D3hot D3cold
>>> > [    0.116321] pci 0000:00:07.0: PME# disabled
>>> >
>>> >  The PCI slot 00:07.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
>>> discuss@xxxxxxxxxxxxx
>>> >  if help is needed.
>>> >
>>> >
>>> > === Finished firmware and bootup diagnostics, next
>>> deducing cogent software.
>>> > ===
>>> >
>>> > Predictive  diagnostics for card in bus 00:07.0:
>>> >     Modem chipset  detected on
>>> > NAME="Communication controller: Agere Systems 56k
>>> WinModem "
>>> > CLASS=0780
>>> > PCIDEV=11c1:0441
>>> > SUBSYS=1179:0001
>>> > IRQ=3
>>> > IDENT=Agere.DSP
>>> >
>>> >  For candidate modem in:  00:07.0
>>> >    0780 Communication controller: Agere Systems 56k
>>> WinModem
>>> >       Primary device ID:  11c1:0441
>>> >  Support type needed or chipset:    Agere.DSP
>>> >
>>> >
>>> > ----------------end Softmodem section --------------
>>> >
>>> >  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/
>>> > Always use the most 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.
>>> >
>>> >
>>> >  Vendor 11c1 is Lucent Technologies with modem
>>> technology now under LSI Inc.
>>> > Their Linux  code developer/maintainer is Soumyendu
>>> Sarkar. Support for a
>>> > chipset and its
>>> >  continued maintenance is only initiated at the
>>> request of a major chipset
>>> > buyer,
>>> >  or comparable sponsor. Several different  modem
>>> chipset types  are
>>> > produced:
>>> >  with varying support under Linux.
>>> >  Device ID   Support        Name           Comment
>>> >  ---------   -------------  -----------
>>> -----------------------------
>>> >  0480        serial_drivers Venus           controller
>>> chipset 1673JV7
>>> >  0440-045d   martian        Mars/Apollo     DSP
>>> (digital signal processing)
>>> > chipsets
>>> >  0462        none           56K.V90/ADSL Wildwire
>>> >  048d none                      SV2P            soft modem
>>> >  048(c or f) AGRSM          SV2P            soft modem
>>> >  0600        none           soft modem, very few in
>>> the field.
>>> >  0620        AGRSM          Pinball  soft modem, in
>>> some HP desktop PCs
>>> >  011c11040   AGRSM          hosted on High Definition
>>> Audio cards
>>> >  062(1-3)    none           SV92PP,Pinball  soft
>>> modem, in some HP desktop
>>> > PCs
>>> >
>>> > martian - At
>>> >
>>>
http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/
>>> > AGRSM - At
>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
>>> >   Compiling resources for a driver module pair:
>>> agrmodem.ko + agrserial.ko
>>> >   Use the  agrsm-HDA-20080721-ALSA15.tar.bz2 or
>>> agrsm-HDA-20080721.tar.bz2
>>> >   Read the agrsm_howto.txt.  For 11c11040 chips, also
>>> the
>>> > HOWTO-Agere-11c11040-HDA.html
>>> >
>>> >  0x0441 -- Mars 2 - 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.3.2
>>> >              and the compiler used in kernel assembly:
>>> 4.3.2
>>> >
>>> >
>>> >
>>> >  Minimal compiling resources appear complete:
>>> >    make utility - /usr/bin/make
>>> >    Compiler version 4.3
>>> >    linuc_headers base folder
>>> /lib/modules/2.6.27-7-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.
>>> >
>>> >
>>> >
>>> >
>>> > 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
>>> >
>>> >
>>> >  Don't worry about the following, it is for
>>> experts should trouble shooting
>>> > be necessary.
>>> >
>>> ==========================================================
>>> >
>>> > # start/stop the daemon when the USB modem is
>>> connected
>>> > KERNEL=="slusb[0-9]*",
>>> GROUP="dialout",
>>> RUN+="/etc/init.d/sl-modem-daemon"
>>> >  Checking for modem support lines:
>>> >  --------------------------------------
>>> >      /device/modem symbolic link:   lrwxrwxrwx 1 root
>>> root 6 2008-12-12
>>> > 23:39 /dev/modem -> ttySL0
>>> > slmodemd created symbolic link /dev/ttySL0:
>>> >      Within /etc/udev/ files:
>>> > /etc/udev/rules.d/030_sl-modem-daemon.rules:#
>>> start/stop the daemon when the
>>> > USB modem is connected
>>> >
>>>
/etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*",
>>> > GROUP="dialout",
>>> RUN+="/etc/init.d/sl-modem-daemon"
>>> > /etc/udev/sl-modem-daemon.rules:# start/stop the
>>> daemon when the USB modem
>>> > is connected
>>> >
>>> /etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*",
>>> GROUP="dialout",
>>> > RUN+="/etc/init.d/sl-modem-daemon"
>>> >      Within /etc/modprobe.conf files:
>>> > /etc/modprobe.d/alsa-base:options snd-atiixp-modem
>>> index=-2
>>> > /etc/modprobe.d/alsa-base:options snd-via82xx-modem
>>> index=-2
>>> > /etc/modprobe.d/blacklist-modem:# Uncomment these
>>> entries in order to
>>> > blacklist unwanted modem drivers
>>> > /etc/modprobe.d/blacklist-modem:# blacklist
>>> snd-atiixp-modem
>>> > /etc/modprobe.d/blacklist-modem:# blacklist
>>> snd-via82xx-modem
>>> > /etc/modprobe.d/sl-modem-daemon.modutils:install slamr
>>> modprobe
>>> > --ignore-install ungrab-winmodem ;  modprobe
>>> --ignore-install slamr; test -e
>>> > /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0
>>> 2>/dev/null && chgrp
>>> > dialout /dev/slamr0)
>>> >      Within any ancient /etc/devfs files:
>>> >
>>> >      Within ancient kernel 2.4.n /etc/module.conf
>>> files:
>>> >
>>> > --------- end modem support lines --------
>>> >
>>> >
>>> >
>>> >
>>> >
>>
>>
>>
>>
>



      


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux