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.
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,
Linux version 2.6.22-14-generic (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Feb 12 07:42:25 UTC 2008
scanModem update of: 2008_03_04
The modem symbolic link is /dev/modem -> ttySL0
There are no blacklisted modem drivers in /etc/modprobe* files
The Advanced Linux Sound Architecture (ALSA) packages providing audio support,
also includes drivers for some modems. The ALSA diagnostics are written during
bootup to /proc/asound/ folders.
The ALSA verion is 1.0.14
The modem cards detected by "aplay -l" are:
The /proc/asound/pcm file reports:
-----------------------
00-01: trident_dx_nx IEC958 : Trident 4DWave IEC958 : playback 1
00-00: trident_dx_nx : Trident 4DWave : playback 32 : capture 1
about /proc/asound/cards:
------------------------
0 [SI7018 ]: SI7018 - SiS SI7018
SiS SI7018 PCI Audio at 0xd000, irq 11
1 [UART ]: MPU-401 UART - MPU-401 UART
MPU-401 UART at 0x300, irq 10
USB modem not detected by lsusb
For candidate card in slot 00:01.6, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:01.6 1039:7013 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller
Modem interrupt assignment and sharing:
5: 16262 XT-PIC-XT eth0
--- Bootup diagnostics for card in PCI slot 00:01.6 ----
[ 15.803968] PCI: Found IRQ 5 for device 0000:00:01.6
[ 20.416838] PCI: Sharing IRQ 5 with 0000:00:01.6
[ 122.164965] PCI: Found IRQ 5 for device 0000:00:01.6
[ 122.739350] Intel ICH Modem: probe of 0000:00:01.6 failed with error -5
=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===
Predictive diagnostics for card in bus 00:01.6:
Modem chipset detected on
CLASS="Class 0703: 1039:7013"
NAME="Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller "
PCIDEV=1039:7013
SUBSYS=1039:7013
IRQ=5
SOFT=1039:7013.MC97
IDENT=slmodemd
SLMODEMD_DEVICE=modem:1
For candidate modem in: 00:01.6
Class 0703: 1039:7013 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller
Primary PCI_id 1039:7013
Subsystem PCI_id 1039:7013
Softmodem codec or chipset from diagnostics:
from Archives:
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:
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 Softmodem section --------------
Writing Smartlink.txt
Message http://linmodems.technion.ac.il/bigarch/archive-seventh/msg01358.html
is in part summarized below.
The snd-trident driver is not fully compatible with slmodemd support.
The may be errors written to /var/log/messages like:
codec_semaphore: semaphore is not ready [0x1][0x1300]
Check with:
$ dmesg | grep semaphore
A potential work around is to unload drivers:
# modprobe -r snd-intel8x0m
# modprobe -r snd-intel8x0
# modprobe -r snd-trident
Then reload only:
# modprobe snd-intel8x0
# modprobe snd-intel8x0m
and test the modem.
If snd-trident cannot be unloaded, it may be necessary to disable it by:
# cd /lib/modules/2.6.17-10-generic/kernel/sound/pci/trident/
# mv snd-trident.ko snd-trident.ko~
After a reboot, verify that the driver is not loaded. It should NOT be disaplayed by:
$ lsmod | grep snd-trident.
Once a success with the modem has been obtained, the setup can be made easier by
adding to /etc/modprobe.d/blacklist (or equivalent on your System)
blacklist snd_intel8x0m
blacklist snd_trident
and to /etc/modules
snd_intel8x0
snd_intel8x0m
On Ubuntu systems such edits of Root permission files can be done with:
$ sudo gedit path_to/FileName
============ 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 package
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-04 20:57 /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)
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-03-06 09:57 /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/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 --------