Hi,
I'm new on this list.
I'm running under Debian Sid on my laptop. This is an "old" laptop (4
years) but still working. My modem has worked well last year with
sl-modem-daemon and the snd-intel8x0m. I'm using wvdial to connect.
Now it doesn't work anymore. I have tested my wvdial configuration. I
think it's ok. I have tested 2 accounts with 2 different FAI with
different phone number. And it doesn't work : when I launch wvdial I get
this "NO CARRIER". So I have stopped sl-modem-daemon and restart it.
Nothing else. So I have stopped sl-modem-daemon and launched it under
root with :
slmodemd --country FRANCE -a --debug
and I get that :
459.731951> SmartLink Soft Modem: version 2.9.9e-pre1 May 27 2008 18:58:10
<459.732000> modem:1: startup modem...
<459.732056> modem:1: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/0' created.
modem `modem:1' created. TTY is `/dev/pts/0'
<459.732443> open file: /var/lib/slmodem/data.modem:1...
<459.732468> cannot open '/var/lib/slmodem/data.modem:1': No such file
or directory
<459.732793> main: rt applyed: SCHED_FIFO, pri 99
<459.732902> main: dropped privileges to 121.110
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<466.509088> main: termios changed.
<466.509116> modem:1: update termios...
<466.569601> main: termios changed.
<466.569631> modem:1: update termios...
<466.669864> modem:1: run cmd: ATZ
<466.669891> modem:1: modem reset...
<466.669904> modem:1: modem set state: 1 --> 1...
<466.669919> modem:1: modem set mode: -> 0...
<466.669931> modem:1: modem report result: 0 (OK)
<466.769977> modem:1: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0
<466.770014> modem:1: modem set mode: -> 0...
<466.770029> modem:1: modem report result: 0 (OK)
<466.870127> modem:1: run cmd: ATDT0860707070
<466.870164> modem:1: modem dial: T0860707070...
<466.870178> modem:1: modem_dial_start...
<466.870234> modem:1: modem_start..
<466.870249> modem:1: modem set state: 1 --> 2...
<466.870263> modem:1: new state: DP_ESTAB
<466.870274> main: alsa_ioctl: cmd 8, arg 3...
<466.870358> modem:1: modem set hook: 0 --> 1...
<466.870375> main: alsa_ioctl: cmd 2, arg 1...
<466.870411> main: alsa_ioctl: cmd 11, arg 0...
<466.870443> err: modem:1: modem start = -1: cannot start device.
<466.870458> modem:1: modem_stop..
<466.870469> modem:1: modem set hook: 1 --> 0...
<466.870481> main: alsa_ioctl: cmd 2, arg 0...
<466.870505> main: alsa_ioctl: cmd 8, arg 0...
<466.870552> modem:1: modem set state: 2 --> 1...
<466.870568> modem:1: new state: MODEM_IDLE
<466.870580> modem:1: modem report result: 3 (NO CARRIER)
<466.870599> modem:1: modem report result: 4 (ERROR)
<467.170092> modem:1: run cmd: ATDT0860707070
<467.170132> modem:1: modem dial: T0860707070...
<467.170145> modem:1: modem_dial_start...
<467.170192> modem:1: modem_start..
<467.170206> modem:1: modem set state: 1 --> 2...
<467.170220> modem:1: new state: DP_ESTAB
I have tested my laptop with scanmodem utility. I attach the modemdata
file. I have read the doc and tested to boot with pollirq or
pci=routeirq. It doesn't change anything. I have verify that my modem is
enabled in BIOS and it's OK.
I compile my kernel myself. Perhaps I have forgotten something
important...but I don't see what it could be. Which module or options
must be present for a modem connexion ?
Are there others related problems with sl-modem-daemon, snd-intel8x0m
and new kernel ?
Just to say that it isn't an "hardware" problem, I'm using it to send
you this email under windows.
Thanks a lot.
Regards,
Guillaume
I copy my wvdial config :
[Dialer Defaults]
Modem = /dev/ttySL0
Modem Type = Analog Modem
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carrier Check = no
Stupid Mode = yes
ISDN = 0
Phone = 0860707070
Username = mylogin
Password = mypassword
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 Debian GNU/Linux lenny/sid kernel 2.6.26-1
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 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, Debian GNU/Linux lenny/sid
Linux version 2.6.26-1 (giggz@debian) (gcc version 4.3.1 (Debian 4.3.1-6) ) #1 Tue Jul 15 18:42:11 CEST 2008
scanModem update of: 2008_07_29
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
Attached USB devices are:
ID 1d6b:0001 Linux Foundation 1.1 root hub
ID 062a:0000 Creative Labs Optical mouse
ID 1d6b:0001 Linux Foundation 1.1 root hub
ID 1d6b:0002 Linux Foundation 2.0 root hub
ID 1d6b:0001 Linux Foundation 1.1 root hub
USB modems not recognized
For candidate card in slot 00:1f.6, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:1f.6 8086:24c6 17c0:1069 Modem: Intel Corporation 82801DB/DBL/DBM
Modem interrupt assignment and sharing:
10: 4 XT-PIC-XT yenta, uhci_hcd:usb2, ehci_hcd:usb4, firewire_ohci, Intel 82801DB-ICH4, Intel 82801DB-ICH4 Modem, eth0
--- Bootup diagnostics for card in PCI slot 00:1f.6 ----
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
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 DOCs/Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
if help is needed.
===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.
The ALSA verion is 1.0.16.
The modem cards detected by "aplay -l" are:
card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem]
The /proc/asound/pcm file reports:
-----------------------
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
about /proc/asound/cards:
------------------------
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with CS4299 at irq 10
1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
Intel 82801DB-ICH4 Modem at irq 10
Lines in: /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349 and 0:7e = 4c27
are translated from hexadecimal code into the modem chip identifier: SIL27
The driver snd-intel8x0m with its dependent drivers:
snd_intel8x0m 12044 5
snd_ac97_codec 87712 2 snd_intel8x0m,snd_intel8x0
snd_pcm 53640 6 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 7496 3 snd_intel8x0m,snd_intel8x0,snd_pcm
----------
provide modem + audio support.
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===
Predictive diagnostics for card in bus 00:1f.6:
Modem chipset detected on
NAME="Modem: Intel Corporation 82801DB/DBL/DBM "
CLASS=0703
PCIDEV=8086:24c6
SUBSYS=17c0:1069
IRQ=10
SOFT=8086:24c6.MC97
CodecArchived=SIL27
CodecDiagnosed=SIL27
CodecClass=SIL
IDENT=slmodemd
SLMODEMD_DEVICE=modem:1
Driver=agrmodem+agrserial
For candidate modem in: 00:1f.6
0703 Modem: Intel Corporation 82801DB/DBL/DBM
Primary device ID: 8086:24c6
Subsystem PCI_id 17c0:1069
Softmodem codec or chipset from diagnostics: SIL27SIL27, an LSI/AgereSystems type
from Archives: SIL27, a Smartlink type
Support type needed or chipset: slmodemd
An ALSA (Advanced Linux Sound Architecture) modem driver: agrmodem+agrserial
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.3.tar.gz having a compiled slmodemd. Unpack under Linux with:
$ tar zxf SLMODEMD.gcc4.3.tar.gz
and read instructions therein. But briefly, the modem is setup with command:
slmodemd -c YOUR_COUNTRY --alsa modem:1
reporting dynamic creation of ports:
/dev/ttySL0 --> /dev/pts/N , with N some number
Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.
----------------end Softmodem section --------------
Writing DOCs/Intel.txt
Writing DOCs/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.3.1
and the compiler used in kernel assembly: 4.3.1
Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.3
linuc_headers base folder /lib/modules/2.6.26-1/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 n. 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/acerhk.tar.bz2
For Debian and some related distributions, a package kernel-kbuild-2.6-26 may be needed to support driver compiling.
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 pppd properties:
-rwsr-xr-- 1 root dip 260964 avr 8 18:35 /usr/sbin/pppd
In case of an "error 17" "serial loopback" problem, see:
http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html
To enable dialout without Root permission do:
$ su - root (not for Ubuntu)
chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
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
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/DOCs/YourSystem.txt concerning other COMM channels: eth0 eth1
Which can interfere with Browser naviagation.
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 jui 30 16:47 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0: lrwxrwxrwx 1 root root 10 jui 30 16:47 /dev/ttySL0 -> /dev/pts/0
Within /etc/udev/ files:
/etc/udev/rules.d/80-drivers.rules:SUBSYSTEM=="atm", RUN+="dsl-modem.agent"
/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/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)
/etc/modprobe.d/alsa-base-blacklist:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-atiixp-modem
/etc/modprobe.d/alsa-base-blacklist:# blacklist snd-via82xx-modem
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
--------- end modem support lines --------