AC 97 modem hang up

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

 



I have this modem as listed by lspci:

00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
AC'97
Modem Controller (rev 03) (prog-if 00 [Generic])
       Subsystem: Benq Corporation Unknown device 5005
       Flags: bus master, medium devsel, latency 0, IRQ 6
       I/O ports at e200 [size=256]
       I/O ports at e300 [size=128]
       Capabilities: <access denied> 


I,m running ubuntu 6.10 and I load snd_intel8x0m and slamr modules as in
linux gentoo. Then I use slmodemd and wvdial in this way:
-/usr/sbin/slmodemd --country=ITALY --alsa modem:1
-wvdial.conf
[Dialer Defaults] 
Modem = /dev/ttySL0
Baud = 460800
#Init1 = ATZ
Init1 = ATX3
Init2 = ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Carrier Check = no
Stupid Mode = yes
#Phone = 7010187187 
Phone = 7007000055
Username = c.polisini@xxxxxxxxx
Password = unaparola
Compuserve = 0
Force Address =
Idle Seconds = 300 
Auto DNS = 1
New PPPD = yes

The problem is that when I download files that is bigger than 800KB/1MB,
the
modem hang up often, but if I navigate web it doesn't disconnect.

cat /var/log/messagges 
...

No response to 4 echo-requests
Dec 30 20:30:11 mrsource-laptop pppd[25834]: Serial link appears to be
disconnected.
Dec 30 20:30:11 mrsource-laptop pppd[25834]: Connect time 75.9 minutes.
Dec 30 20:30:11 mrsource-laptop pppd[25834]: Sent 440298 bytes,
received 
8491519 bytes.
Dec 30 20:30:17 mrsource-laptop pppd[25834]: Connection terminated.
Dec 30 20:30:17 mrsource-laptop pppd[25834]: Modem hangup
Dec 30 20:30:17 mrsource-laptop pppd[25834]: Exit.
Dec 30 20:30:49 mrsource-laptop pppd[30261]: pppd 2.4.4 started by root,
uid
0
Dec 30 20:30:49 mrsource-laptop pppd[30261]: Using interface ppp0
Dec 30 20:30:49 mrsource-laptop pppd[30261]: Connect: ppp0
<--> /dev/pts/0
Dec 30 20:30:59 mrsource-laptop pppd[30261]: PAP authentication
succeeded 
Dec 30 20:30:59 mrsource-laptop pppd[30261]: local  IP address
151.31.184.94
Dec 30 20:30:59 mrsource-laptop pppd[30261]: remote IP address
151.6.146.79
Dec 30 20:30:59 mrsource-laptop pppd[30261]: primary   DNS address
193.70.192.25
Dec 30 20:30:59 mrsource-laptop pppd[30261]: secondary DNS address
193.70.152.25
Dec 30 20:43:20 mrsource-laptop pppd[30261]: No response to 4
echo-requests 
Dec 30 20:43:20 mrsource-laptop pppd[30261]: Serial link appears to be
disconnected.
Dec 30 20:43:20 mrsource-laptop pppd[30261]: Connect time 12.4 minutes.
Dec 30 20:43:20 mrsource-laptop pppd[30261]: Sent 116583 bytes,
received 
2631465 bytes.
Dec 30 20:43:26 mrsource-laptop pppd[30261]: Connection terminated.
Dec 30 20:43:26 mrsource-laptop pppd[30261]: Modem hangup
Dec 30 20:43:26 mrsource-laptop pppd[30261]: Exit.
.......

wvdial messages:

--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATX3
ATX3
OK
--> Sending: ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0 
ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT7007000055
--> Waiting for carrier.
ATDT7007000055 
CONNECT 50667
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Dec 30 18:55:21 2006
--> Pid of pppd: 6479
--> Using interface ppp0
--> local  IP address 151.31.149.87
--> remote IP address 151.6.146.90
--> primary   DNS address 193.70.192.25
--> secondary DNS address 193.70.152.25
--> Connect time 17.4 minutes.
--> Disconnecting at Sat Dec 30 19:13:01 2006 
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd
man
pages for more information.

On gentoo, with same major verison of kernel I had no problem (now I
lost
gentoo installation :-( ), I have used same modules snd_intel8x0m and
slamr
and in winxp I have no problem. 
I have incleded below ModemData.txt outputted by your utility scanModem.
Help me!!
Thanks! Carlo.

ModemData.txt:

 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List
Server.
 Do use the following as the email Subject Line:
          SomeName, YourCountry Ubuntu 6.10  kernel 2.6.17-10-generic
 This will alert cogent experts, and  distinguish cases in the
Archives. 
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail
filters.
 So in a day, also check the Archived responses at
http://www.linmodems.org.
 Local Linux experts can be found through:
http://www.linux.org/groups/index.html
--------------------------  System information
----------------------------
 Ubuntu 6.10
Linux version 2.6.17-10-generic (root@vernadsky) (gcc version 4.1.2
20060928
(prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Fri Oct 13 18:45:35 UTC
2006 
(Ubuntu 2.6.17-10.33-generic)
 scanModem update of:  2006_December_25
The modem symbolic link is /dev/modem -> ttySL0

USB modem not detected by lsusb

Modem or host audio card candidates have firmware information: 

 PCI slot       PCI ID          SubsystemID     Name
 ----------     ---------       ---------       --------------
 00:1f.6        8086:24c6       17ff:5005       Modem: Intel Corporation
82801DB/DBL/DBM 

 Modem interrupt assignment and sharing:
 6:        586          XT-PIC  Intel 82801DB-ICH4, ipw2200, Intel
82801DB-ICH4 Modem

 --- Bootup diagnositcs for card in PCI slot 00:1f.6 ----
[17179570.364000 ] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] ->
GSI
6 (level, low) -> IRQ 6
[17179570.364000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17180217.200000] ACPI: PCI Interrupt 0000:00:1f.6 [B] -> Link [LNKB] ->
GSI
6 (level, low) -> IRQ 6
[17180217.200000] 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 ===

 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  17ff:5005
   Softmodem codec or Vendor from diagnostics: SIL27, an AgereSystems
type.
                             from    Archives:


 This is a NEW softmodem case!  Please send the output ModemData.txt
 to DISCUSS@xxxxxxxxxxxxx , even if further assistance is not needed.
 It will enrich the Archive and help others! 
 -------------------------------------------
 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.tar.gz having a compiled slmodemd. Unpack
under
Linux with:
       $ tar zxf SLMODEMD.gcc4.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          18956  0
snd_ac97_codec         97696  2 snd_intel8x0m,snd_intel8x0
snd_pcm                84612  4
snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    58372  9
snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         11400  3 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 = 5349  and  0:7e = 4c27
which were translated from hexadecimal code into:  SIL27

       /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.2
            and the compiler used in kernel assembly: 4.1.2



 Compiling resources appear complete:
  make utility - /usr/bin/make
  Compiler version 4.1
  kernel_headers base folder /lib/modules/2.6.17-10-generic/build


Checking pppd properties:
       -rwsr-xr-- 1 root dip 260920 2006-07-10 21:13 /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
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

Read Modem/YourSystem.txt concerning other COMM channels: eth0 eth1
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 2006-12-28 
19:22 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:
    Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL== "ttyLTM[0-9]*",
SYMLINK+="modem"
/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