Hmm... Dentro da pasta Modem, existe uma pasta chamada DOCs, e dentro dela, há um arquivo Smartlink.txt.
Segue ele aqui, na íntegra...
__________________________________________________________________
SmartLink (
http://www.smlink.com/) chipset modems are sold under a variety
of BrandNames, and have vendor IDs 163c, 2000, 2003, and 2004. Conexant bought
Smartlinks's modem distribution sector in 2005. While Linux updates are not
expected from Conexant, Linux support is still very good thanks to volunteer
Linux maintainer Sasha Khapyorsky. Get his updated software from:
http://linmodems.technion.ac.il/packages/smartlink/ A high level support component is a smart helper: slmodemd
Acting through one of several drivers, it creats ports dynamically and
supports COMM and FAXing functions. During facsimile usage, the AT&F command
is not supported. A means of implmenting the FAX CNG is lacking, because this
function is encoded within the dsplibs.o precompiled at Smartlink, Inc. See
http://marc.theaimsgroup.com/?t=116026350800001&r=1&w=2 http://marc.theaimsgroup.com/?l=hylafax&m=116041369404444&w=2 There is service on AMD x86_64 processor mother boards, see
http://linmodems.technion.ac.il/archive-fourth/msg02594.html http://linmodems.technion.ac.il/archive-fifth/msg02490.html However a 64 bit compilation of a proprietary dsplibs.o conponent is not
available. Hence the 32 bit versions of the libasound2 package must be installed
to support slmodemd. But the ALSA modem drivers or USB driver slusb can be assembled
with a 64 bit compiler. The slamr driver is
The slmodemd supports a few different types of modem drivers. Below the suffix
.ko means the modular form of a driver, before loading into the kernel. The
slmodemd does not access the modem hardware directly. Rather access is provided
through lower sophistication drivers. Prior to usage of a slamr driver, there
must be a release of serial driver interference by loading of: ungrab-winmodem.ko
For PCI card modems with Smartlink chips the driver used is: slamr.ko
For USB modems with ID 0483:7554 use Smartlink driver: slusb.ko
For ALSA (Advanced Linux Sound Architecture) modem drivers, see the Table below.
Because of changes during the evolution of the Linux kernel, there are the following
Outstanding PROBLEMS concerning:
slamr - for 2.6.24 and later kernels, function will fail after a single dialout.
See:
http://linmodems.technion.ac.il/bigarch/archive-eighth/msg01559.html To recover, stop slmodemd and then unload slamr, follow 1) or 2)
1) If the sl-modem-daemon or
similar scripts are installed, it will suffice to with root/adm premission:
/etc/init.d/sl-modem-daemon restart
Then proceed with the next dialout.
2) With root/adm permission, to stop slmodemd in the console which it was started:
Ctrl-C
modprobe -r slamr
modprobe slamr
slmodemd -c YOUR_COUNTRY /dev/slamr0
slusb - for 2.6.25 and later kernels, the kernel will no longer accept slusb.
This is because of the Proprietary lincense in its Open Source code.
If principle, those with necessary COMM code skills could rewrite
a non-Proprietary driver. But to our knowledge, this task is not now progressing.
See
http://linmodems.technion.ac.il/bigarch/archive-eighth/msg01264.html Sasha's core resources are:
----------------------------
ungrab-winmodem.tar.gz - for compiling a ungrab-winmodem.ko driver
slmodem-2.9.11-MostRecentDate.tar.gz - the core code resource for compiling
and installing slmodemd, slamr.ko and slusb.ko. The slmodemd dynamically
creates ports and provides higher level COMM functions, after driver
loading. Not being a driver, slmodemd serves under alternative boot kernels.
ALSA modem drivers, included with 2.6.n kernel+module releases.
Some derivative resources at
http://linmodems.technion.ac.il/packages/smartlink/ SLMODEMD.gcc4.3.tar.gz - containing a compiled slmodemd and usage instructions.
When used with ALSA modem drivers, further compiling is not necessary.
> SLMODEMD.gcc4.3.tar.gz will suffice for getting online, though read on about automation. <<< See Compiling_slmodemd below, for details.
sl-modem-daemon-SomeVersion.deb - an installer for Debian related distros.
It has slmodemd and scripts for starting slmodemd at boot.
This package is also available from repositories of Debian related distros
Ubuntu, Kbuntu, Ebuntu, Xandros, Kanotix and others.
sl-modem-daemon-SomeVersion.tar.gz has the same contents, but is repackaged
in an easily opened format, for access to its automation scripts.
After unpacking, they are resident in the etc/ subfolder
sl-modem-source-SomeVersion.deb - is a Debian installer for the slamr and slusb
source code. It is Not necessary for ALSA driver usage.
slamr-KernelVersion.tar.gz - for several Ubuntu KernelVersions, containing:
ungrab-winmodem.ko, slamr.ko, slusb.ko, slmomdem, setup script and as
a convenience, the sl-modem-daemon-SomeVersion.deb. Look in the folder:
http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/ For x86_64 Systems using a USB modem with Smartlink chipset, get from
http://linmodems.technion.ac.il/packages/smartlink/ the slusb64bit.txt and
slusb64bit-2.9.11-20070813.tar.gz. To use it the 32 bit versions of libasound2 (Debian/Ubunutu name)
must be installed, in addition to the 64 bit versions installed by default.
The products will be slmodemd compiled (of necessity) as a 32 bit binary and
slusb.ko compiled as the complementary 64 bit driver.
Slmodemd actions
-----------------------------------------
Start working with slmodemd with commands:
slmodemd --help
slmodemd --countrylist
The long output can be written to a Clist.txt file with:
slmodemd --countrylist &> Clist.txt
Find your COUNTRY_NAME within the 2nd column if the list and record it.
It will be used in capital letters during the modem setup command.
Try USA if your COUNTRY is not in the list.
Before modem setup root/adm capacity must be acquired with:
su - root
or by prefixing commands with "sudo" for Ubuntu Linux and its cousins.
The setup command is:
sudo slmodemd -c COUNTRY_NAME --alsa slmodemd_device
if successful there will be reported dynamic creation of:
/dev/ttySL0 --> /dev/pts/N , with N a number
The /dev/ttySL0 is a symbolic link to the real modem port /dev/pts/N ,
and it is /dev/ttySL0 which should be named to dialup utilities such
as wvdial. The "--alsa" is only needed for usage with ALSA modem drivers.
Throughout a dialout session slmodemd MUST be kept running. Open another
console/termimal to startup dialout software such as wvdial.
The slmodemd device nodes
---------------------------
The slmodemd_device is different for the several modem drivers.
For usage with slamr.ko , the slmodemd_device is /dev/slamr0 , within
the command sequence:
sudo modprobe ungrab-windmodem
sudo modprobe slamr
sudo slmodemd -c COUNTRY_NAME /dev/slamr0
For USB modem usage:
sudo modprobe slusb
sudo slmodemd -c COUNTRY_NAME /dev/slusb0
For a modems using a ALSA driver, details are below.
The /dev/slamr0 and /dev/slusb0 will be made the slmodem installation
processes. However, they usually will NOT survice reboot, because
most current Linux have ports created in volatile RAM space. However
the these devices can be manually created under root/adm persmission with:
sudo mknod -m 600 /dev/slamr0 c 242 0
sudo mknod -m 600 /dev/slusb0 c 243 0
if automation scripts are not yet in place.
For automation of RPM using Linux distros see:
http://www20.brinkster.com/olivares/slmodemd-setup-1.html For any Distro the following lines will serve in /etc/modprobe.conf or subfolders of
/etc/modprobe.d/:
--------------
alias char-major-243 slusb
alias char-major-242 slamr
# The following install and remove commands are to be written as single lines.
# Preloads ungrab-winmodem and creates a device node upon "modprobe slamr"
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)
# rpm using distros should use "uucp" rather than "dialout"
# Removes slamr and ungrab-winmodem successively:
remove slamr /sbin/modprobe -r --ignore-remove slamr ; /sbin/modprobe -r --ignore-remove ungrab-winmodem
# creates /dev/slusb uponn slusb driver loading.
install slusb modprobe --ignore-install slusb ; test -e /dev/slusb0 || (/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0)
# rpm using distros should use "uucp" rather than "dialout"
Usage with ALSA modem drivers
--------------------------------
See DOCs/SoftModem.txt for a description of the hardware. For a modem using
an ALSA driver, the slmodemd_device only has to be specified within the
slmodemd command line. A preliminary "mknod something" command is not necessary.
The Table shows hardware PCI ID, its card type, driver and slmodemd_device name.
The ALI5451 and HDA (High Definition Audio) cards can host softmodems. For these
cards hw:0,0 is the audio card designation and the modem Subsystem on it
is most commonly hw:0,1 , but there are some hw:0,6 cases. For the older
soft modem controller family, the ALSA software first assigns hw:0 to an audio
card, and the following modem designation is hw:1 or equivalently modem:1
An attempt to use modem:0 may initially appear successful, but modem:0 or hw:0
is actually the companion audio card.
PCI ID controller ALSA driver slmodemd_device
========= =============== =============== ===================
several HDA cards snd-hda-intel hw:0,1 or hw:0,6
10b9:5451 ALI5451 audio snd-ali5451 hw:0,1
------------------ softmodem controllers --------------------------
1002:434d ATI snd-atiixp-modem modem:1
1002:4378 ATI " "
1106:3068 VIA snd-via82xxx-modem "
8086:xxxx many Intel snd-intel8x0m "
10de:00d9 Nvidia Corp " "
SIS 630 " "
Others? " test "
---------------------------------------------------------------------------
* The scanModem script tries to determine ALSA modem driver and slmodemd_device
dynamically from /proc/asound/ information, or the internal Archive as a fallback.
Do a precautionary unloading and reloading of the driver.
su - root (not for Ubuntu)
With driver the proper one of the "ALSA driver" listed above
sudo modprobe -r driver
sudo modprobe driver
This precaution is sometimes necessary, because a driver may functionally die
although loaded. But usually it can be skipped.
For this System, scanModem deduced slmodemd_device is:
For most modems the setup command is:
sudo slmodemd -c COUNTRY_NAME --alsa modem:1
For modems on HDA cards, the command is:
sudo slmodemd -c COUNTRY_NAME --alsa hw:0,1
though there have been cases of hw:0,6
For the ALI5451 hosted modems, a shortbuffer (-s) option is needed:
sudo slmodemd -s -c COUNTRY_NAME --alsa hw:0,1
The slamr diagnostic
---------------------
Sasha has provided slamr.ko with a capability for reporting softmodem codecs,
even for modems not supported fully by slamr. This is useful when other
resources do not report out the modem codec, needed to distinguish between
hsfmodem, slamr and ALSA driver support alternatives.
This slamr test is Not effective for softmodems on HDA audio cards.
The test routine is:
sudo modprobe ungrab-winmodem
sudo modprobe slamr
followed by a readout from the dmesg buffer with:
dmesg | grep slamr
Among the few output lines, there is one like:
slamr: mc97 codec is SIL27
reporting in this example an ALSA driver supported, Agere Systems codec SIL27.
Conexant codecs have format CXTnm, nm a number. These modems are not ALSA driver supported.
Softmodems with all other codecs should be ALSA driver plus slmodemd supported.
Compiling_slmodemd
------------------
slmodemd can be compiled with or without support for ALSA modem drivers.
Within the slmodem code folder, the command sequence:
make clean
make
compiles a slmodemd without ALSA support, and a following
make install
installs slmodemd to /usr/sbin/slmodemd and additionally slusb.ko and slamr.ko drivers.
These two drivers do NOT need the additional ALSA support codes
To compile slmodemd WITH support for ALSA modem drivers, there are two additional requisites.
1) additional ALSA code must be installed. For Debian/Ubuntu related Distros, these
are provided by the package libasound2-dev, in addition to the standardly installed libasound2
For other Linuxes, the needed package may have another name
2) The compile must be done in the modem/ subfolder:
$ cd modem
$ make clean
$ make SUPPORT_ALSA=1
will incorporate the needed libasound2-dev code in the resultant slmodemd.
It should be manually installed:
$ su root
OR for Ubuntu systems "$ sudo COMMAND" to execute Root/adm permission commands.
# cp slmodemd /usr/sbin/
# chmod +x /usr/sbin/slmodemd
# chown root:root /usr/sbin/slmodemd
completes the installation of the ALSA competent slmodemd.
Quanto ao processo de tentativa e erro...
sudo /etc/init.d/sl-modem-daemon stop
Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
Unloading modem driver from kernel ... snd_atiixp_modem.
sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0,1
error: mixer setup: Off-hook switch not found for card hw:0
error: alsa setup: cannot open playback device 'hw:0,1': No such file or directory
error: cannot setup device `hw:0,1'
sudo killall slmodemd
slmodemd: nenhum processo morreu
sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0,6
error: mixer setup: Off-hook switch not found for card hw:0
error: alsa setup: cannot open playback device 'hw:0,6': No such file or directory
error: cannot setup device `hw:0,6'
sudo killall slmodemd
slmodemd: nenhum processo morreu
sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 modem 0
Usage: /usr/sbin/slmodemd [option...] <device>
Where 'device' is name of modem device (default `/dev/slamr0')
and 'option' may be:
-h, --help this usage
-u, --usage this usage
-v, --version show version and exit
-c, --country=VAL default modem country name (default `BRAZIL')
--countrylist show list of supported countries
-a, --alsa ALSA mode (see README for howto)
-g, --group=VAL Modem TTY group (default `uucp')
-p, --perm=VAL Modem TTY permission (default `0666')
-r, --ringdetector with internal ring detector (software)
-n, --nortpriority run with regular priority
-s, --shortbuffer use short buffer (4 periods length)
-d, --debug=VAL debug level (default `0')
-l, --log=VAL logging mode (default `5')
Bom, a partir daí não entendi direito... sobre o que vc disse : "Os modens usam modem:0; hw:0,1; hw:0,2 até 6. É mais fácil ir por tentativa e erro."
quer dizer que tenho que ir escrevendo modem:0, modem:1, modem:2 ... até modem:6 ; e tenho que escrever também hw:0,1, hw:0,2, ... até hw:6 ??
Parece cansativo, espero seu comentário sobre meu último post, aí se for o caso eu faço isso, sem problemas...