Rafael,
Why do you want to compile the slamr driver while ModemData.txt
gives you something so simple to make your modem work? Have you tried to
do this? Did it fail?
BEGIN QUOTE
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 hw:0,6
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-hda-intel and audio drivers it
depends on,
END QUOTE
Jacques
Rafael Sachetto wrote:
My modem doesn't work and I can't compile the slamr driver.
-------------------------- 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: 20071107
There are no blacklisted modem drivers in /etc/modprobe* files
The Advanced Linux Sound Architecture (ALSA) packages providing audio
support on your System,
also includes drivers for some modems. Diagnostics are under the
/proc/asound/ folders.
For modems using the snd-hda-intel audio+modem driver, upgrades to
a new ALSA version are sometimes necessary to achieve function.
See for example:
http://linmodems.technion.ac.il/bigarch/archive-seventh/msg02144.html.
Audio cards with the ALC883 chipset may require an upgrade to ALSA
version 1.0.15 for modem support, see
http://linmodems.technion.ac.il/bigarch/archive-seventh/msg02577.html
ALSA update guidance is in
http://linmodems.technion.ac.il/archive-seventh/msg00282.html
Copying ALSA diagnostics to Modem/ALSArafael.tgz
ALSAversion = 1.0.14
Summary card and chipset information is in:
/proc/asound/cards:
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfebf8000 irq 23
/proc/asound/pcm:
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 2
USB modem not detected by lsusb
For candidate card, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:1b.0 8086:284b 1043:1339 Audio device: Intel Corporation 82801H
Modem interrupt assignment and sharing:
23: 42639 43032 IO-APIC-fasteoi HDA Intel
--- Bootup diagnostics for card in PCI slot 00: 1b.0 ----
[ 15.976000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level,
low) -> IRQ 23
[ 15.976000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===
The High Defintion Audio card with PCI ID 8086:284b may host a soft
modem chip.
Bootup diagnostics lack ALSA data.
Modem not detected though HDA card diagnostics, though not excluding
a possible Conexant modem chip impervious to ALSA diagnostics.
Proceeding through alternative possibilties.
There is candidate modem software.
For candidate modem in PCI bus: 00:1b.0
Class 0403: 8086:284b Audio device: Intel Corporation 82801H
Primary PCI_id 8086:284b
Subsystem PCI_id 1043:1339
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 supporting the
snd-hda-intel audio+modem driver
An ALSA (Advanced Linux Sound Architecture) modem driver: snd-hda-intel
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 hw:0,6
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-hda-intel and audio drivers it
depends on,
displayed by: lsmod | grep snd_hda_intel
Module Size Used by
-------------------------------------
snd_hda_intel 263712 5
snd_pcm 80388 3 snd_hda_intel,snd_pcm_oss
snd 54660 17
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 11400 2 snd_hda_intel,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-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: ALC861VD Analog : ALC861VD Analog : playback 1 : capture 2
/proc/asound/modules
-------------------------------
0 snd_hda_intel
and from the command:
aplay -l | grep -i modem
placa 0: Intel [HDA Intel], dispositivo 6: Si3054 Modem [Si3054 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-04 16: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 eth1
Which can interfere with Browser naviagation.
Don't worry about the following, it is for the experts
should trouble shooting be necessary.
==========================================================
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link:
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:
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
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
--------- end modem support lines --------