Re: Tomasz, New Zealand, kernel 2.6.22-14-generic

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

 



Tomasz,

Adding some items to Antonio's guidance below.
1) [   34.848000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
------------
is OK.  It means in the end, the kernel does enable the modem card

2) Among the modem drivers loaded, only the snd-intel8x0m is needed, so with
$ sudo gedit /etc/modprobe.d/blacklist-modem
to remove the # from the lines:
# blacklist snd-atiixp-modem
# blacklist snd-via82xx-modem

Then they will not load and this will save some resources, though they
should be harmless in any case.  They are for other modem hardware.

3) The slmodemd set symbolic link is
                /dev/ttySL0 -> /dev/pts/0
shows the scripts from the sl-modem-daemon package are working.
But you need to set the Country properly.  Change
SLMODEMD_DEVICE=auto
SLMODEMD_COUNTRY=USA
to
SLMODEMD_DEVICE=auto
SLMODEMD_COUNTRY=NEW_ZEALAND
with
$ sudo gedit /etc/default/sl-modem-daemon

Then the boot up action will then be:
$  sudo slmodemd -c NEW_ZEALAND --alsa modem:1
while dynamically creating the
      /dev/ttySL0 -> /dev/pts/0

4) With the SLMODEMD.gcc4.1.tar.gz
 Unpack under Linux with:
    $ tar zxf SLMODEMD.gcc4.1.tar.gz
move in
$ cd SLMODEMD.gcc4.1
Look around
$ ls
The slmodemd is more recent than than installed by the sl-modem-daemon
package.  So
$ sudo  cp slmodemd  /usr/sbin/slmodemd
$ sudo chmod +x  /usr/sbin/slmodemd
Check the version:
 $  slmodemd --version
SmartLink Soft Modem: version 2.9.11 Jan 29 2008 08:33:21
---
yours  should output the:  version 2.9.11
Jan 29 2008 08:33:21 is just my compile date (now)

5) Then simplest to reboot.  Afterwards
$ sudo wvdialconf  /etc/wvdial.conf
should fine the modem.  If so, use
$  sudo  gedit /etc/wvdial.conf
to put in your personal data and add the needed line
  Carrier Check  =   no
  Read the wvdial.txt for sample info.

Then try a dialout with:
$  sudo wvdial

MarvS
scanModem maintainer



With theMODEMD.gcc4. SL1.tar.gz
$ tar  zxf



On Jan 29, 2008 7:58 AM, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> Tomasz & Jacqueline
>
> Do as scanModem tells you to do
>
> \begin{"}
>  -----------------------------------------
> Support type needed or chipset:    slmodemd
>
>  An ALSA (Advanced Linux Sound Architecture) modem driver:  snd-intel8x0m
>  provides Low Level support enabling contact with the modem hardware.
>  For all BUT Conexant chip soft modems (using hsfmodem software)
>  complementary High Level support is through a Smartlink utility:  slmodemd
>
>  Download from http://linmodems.technion.ac.il/packages/smartlink/
>  the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack
> under Linux with:
>     $ tar zxf SLMODEMD.gcc4.1.tar.gz
>  and read instructions therein. But briefly, the modem is setup with
> command:
>     sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
>  reporting dynamic creation of ports:
>    /dev/ttySL0 --> /dev/pts/N   , with N some number
>  Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.
> \end{"}
>
> however, that alone will not do it, you have to also fix a problem
>
> \begin{"]
> Modem interrupt assignment and sharing:
>  7:        386    XT-PIC-XT        Intel 82801DB-ICH4, Intel
> 82801DB-ICH4 Modem, eth0
>  --- Bootup diagnostics for card in PCI slot 00:1f.6 ----
> [   13.663364] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI
> 7 (level, low) -> IRQ 7
> [   13.663377] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
> [   34.848000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI
> 7 (level, low) -> IRQ 7
> [   34.848000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
>
>  The PCI slot 00:1f.6 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 Bootup.txt about possible fixes.
>  Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
>  if help is needed.
> \end{"}
> Please try to download the above file from first quote and then read
> Bootup.txt for possible fixes.
>
> Regards,
>
> Antonio
>
> On Jan 29, 2008 2:32 AM, Tomasz & Jacqueline Kotula
>
> <tjkotula@xxxxxxxxxxxxxxx> wrote:
> > Hi,
> >
> > Problems with modem on Inspiron 1150 and Ubuntu 7.1
> > Hi,
> >
> > I've been trying to get modem working on my Dell Inspiron 1150  under
> > Ubuntu 7.1 but to no avail.
> >
> > 1. During the original install of Ubuntu I was asked to install some
> > additional drivers "slmodem" or whatever to which I said Yes. But the
> > modem didn't go.
> > 2. I then tried gnome-ppp, rather than the "Network tool", but this
> > didn't work either
> > 3. I then downloaded scanModem and ran it. However because I'm at the
> > stage of wanting to go Linux way, these output files are too confusing
> > for me - hence asking for help.
> >
> > PS. I have also tried running "unloading", but this didn't help either.
> >
> > Ideally I would really appreciate a set of steps to get it working.
> >
> > Many thanks
> >
> > tomasz kotula.
> >
> >
> > ModemData.txt
> > -------------------------
> >  Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List
> > Server,
> >  as HTML can contain viruses. Use as the email Subject Line:
> >            YourName, YourCountry  kernel 2.6.22-14-generic
> >  With this Subject Line cogent experts will be alerted, and useful case
> > names left in the Archive.
> >  YourCountry will enable Country specific guidance. Your contry's local
> > Linux experts
> >  can be found through: http://www.linux.org/groups/index.html
> >  Responses from Discuss@xxxxxxxxxxxxx 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,
> > Linux version 2.6.22-14-generic (buildd@palmer) (gcc version 4.1.3
> > 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14
> > 23:05:12 GMT 2007
> >  scanModem update of:  2007-12-07
> > The modem symbolic link is /dev/modem -> ttySL0
> > The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/0
> >
> >  There are no blacklisted modem drivers in /etc/modprobe*  files
> >
> >  Potentially useful modem drivers now loaded are:
> >  snd_atiixp_modem
> > snd_via82xx_modem
> > snd_intel8x0m
> >
> >
> > The Advanced Linux Sound Architecture (ALSA) packages providing audio
> > support on your System,
> > also includes drivers for some modems. High Definition Audio (HDA) cards
> > can themselves host
> > a softmodem chipset, with both audio+modem supported by a snd-hda-intel
> > driver.
> > The ALSA diagnostics are written during bootup to /proc/asound/ folders.
> >
> >
> >  Modem not detected though HDA card diagnostics, though not excluding
> >  a possible Conexant modem chip impervious to ALSA diagnostics.
> >  Proceeding through alternative possibilties.
> >
> > Summary card and chipset information is in:
> > /proc/asound/cards:
> >  0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
> >                       Intel 82801DB-ICH4 with STAC9750,51 at irq 7
> >  1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
> >                       Intel 82801DB-ICH4 Modem at irq 7
> >
> > /proc/asound/pcm:
> > 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
> > 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
> > 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
> > 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
> > 00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
> > 01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1
> > : capture 1
> >
> >  A copy of /proc/asound had been copied to Modem/ALSAtomasz.tgz
> > USB modem not detected by lsusb
> >
> > For candidate card, firmware information and bootup diagnostics are:
> >
> >  PCI slot    PCI ID        SubsystemID    Name
> >  ----------    ---------    ---------    --------------
> >  00:1f.6    8086:24c6    14e4:4d64    Modem: Intel Corporation
> > 82801DB/DBL/DBM
> >
> >  Modem interrupt assignment and sharing:
> >   7:        386    XT-PIC-XT        Intel 82801DB-ICH4, Intel
> > 82801DB-ICH4 Modem, eth0
> >  --- Bootup diagnostics for card in PCI slot 00:1f.6 ----
> > [   13.663364] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI
> > 7 (level, low) -> IRQ 7
> > [   13.663377] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
> > [   34.848000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI
> > 7 (level, low) -> IRQ 7
> > [   34.848000] PCI: Setting latency timer of device 0000:00:1f.6 to 64
> >
> >  The PCI slot 00:1f.6 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 Bootup.txt about possible fixes.
> >  Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
> >  if help is needed.
> >
> >
> >  === Finished modem firmware and bootup diagnostics section. ===
> >  === Next deducing cogent software ===
> >
> >
> > There is candidate modem software.
> >
> >  For candidate modem in PCI bus:  00:1f.6
> >    Class 0703: 8086:24c6 Modem: Intel Corporation 82801DB/DBL/DBM
> >       Primary PCI_id  8086:24c6
> >     Subsystem PCI_id  14e4:4d64 , 14e4 is an ALSA compatible identification
> >     Softmodem codec or chipset from diagnostics: BCM64, a Broadcom type.
> >                                from    Archives: BCM64, a Broadcom type.
> >
> >
> >  Lacking a dsp (digital signal processing) chip, the modem is a software
> >  intensive or "softmodem" type. Its primary controller manages the traffic
> >  with the CPU. But the software needed is specified in the Subsystem.
> >  -----------------------------------------
> > Support type needed or chipset:    slmodemd
> >
> >  An ALSA (Advanced Linux Sound Architecture) modem driver:  snd-intel8x0m
> >  provides Low Level support enabling contact with the modem hardware.
> >  For all BUT Conexant chip soft modems (using hsfmodem software)
> >  complementary High Level support is through a Smartlink utility:  slmodemd
> >
> >  Download from http://linmodems.technion.ac.il/packages/smartlink/
> >  the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack
> > under Linux with:
> >      $ tar zxf SLMODEMD.gcc4.1.tar.gz
> >  and read instructions therein. But briefly, the modem is setup with
> > command:
> >      sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
> >  reporting dynamic creation of ports:
> >     /dev/ttySL0 --> /dev/pts/N   , with N some number
> >  Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.
> >
> >  Already loaded into the kernel is snd-intel8x0m and audio drivers it
> > depends on,
> >  displayed by:    lsmod | grep snd_intel8x0m
> > Module                  Size  Used by
> > -------------------------------------
> > snd_intel8x0m          18572  5
> > snd_ac97_codec        100644  4
> > snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0
> > snd_pcm                80388  8
> > snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
> > snd                    54660  23
> > snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> > snd_page_alloc         11400  5
> > snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_intel8x0,snd_pcm
> >
> >
> > The diagnostic outputs for this softmodem section have their raw
> > information in
> > folders and text files under /proc/asound/ which you can browse. The
> > information
> > is from files:
> >     /proc/asound/pcm
> > -------------------------------
> > 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
> > 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
> > 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
> > 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
> > 00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
> > 01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1
> > : capture 1
> >
> >     /proc/asound/modules
> > -------------------------------
> >  0 snd_intel8x0
> >  1 snd_intel8x0m
> >     /proc/asound/card1/codec97#0/mc97#1-1+regs
> > -------------------------------
> > 0:7c = 4243  and  0:7e = 4d64
> > which were translated from hexadecimal code into:  BCM64
> >
> >     /proc/asound/card1/codec97#0/mc97#1-1
> > -------------------------------
> > Extended modem ID: codec=1 LIN1
> >
> > and from the command:
> >     aplay -l | grep -i modem
> > card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem
> > [Intel 82801DB-ICH4 Modem - Modem]
> >
> > ----------------end Softmodem section --------------
> >
> > Writing Intel.txt
> > Writing Smartlink.txt
> > ============ end Smartlink section =====================
> >
> >  Completed candidate modem analyses.
> >
> >  The base of the UDEV device file system is: /dev/.udev
> >
> >  Versions adequately match for the compiler installed: 4.1.3
> >              and the compiler used in kernel assembly: 4.1.3
> >
> >
> >
> >  Minimal compiling resources appear complete:
> >    make utility - /usr/bin/make
> >    Compiler version 4.1
> >    linuc_headers base folder /lib/modules/2.6.22-14-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 libc6-dev (and for
> > Debian/Ubuntu,  linux-libc-dev). The also required headers of package
> > libc6 are commonly installed by default.
> >
> >
> >
> > 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 pacakage
> > 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 pppd properties:
> >     -rwsr-xr-- 1 root dip 269256 2007-10-05 08:57 /usr/sbin/pppd
> >
> > In case of an "error 17" "serial loopback" problem, see:
> >     http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html
> >
> > To enable dialout without Root permission do:
> >     $ su - root  (not for Ubuntu)
> >         sudo chmod a+x /usr/sbin/pppd
> > or under Ubuntu related Linuxes
> >     sudo chmod a+x /usr/sbin/pppd
> >
> > 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
> >
> > Read Modem/YourSystem.txt concerning other COMM channels: eth0
> > Which can interfere with Browser naviagation.
> >
> >  Don't worry about the following, it is for the 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-01-29
> > 20:10 /dev/modem -> ttySL0
> > slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10
> > 2008-01-29 20:10 /dev/ttySL0 -> /dev/pts/0
> >      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/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/alsa-base:options snd-atiixp-modem index=-2
> > /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
> > /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