[Ubuntu-BR] Configuração do Fax Modem PCI SM56 Motorola no Ubuntu 8.04

Emerson Camilo blazeb em itelefonica.com.br
Domingo Julho 6 13:32:07 UTC 2008


Saudações:

    Comprei um computador recentemente com o objetivo de aprender o Ubuntu 8.04.
    O Computador é da marca Sunsix, (brasileira) que por sinal já vem com o Ubuntu instalado.

    Quando terminei de montar, percebi que a placa de Fax-Modem não estava instalada, pois tentei entrar na internet
    e me decepcionei quando recebi a seguinte mensagem "Modem não encontrado".

    Consequencia: Estou acessando internet atraves de lan house, procurando uma solução pra esse problema, sei que existe o tal de linmodens.org
mas sou leigo ainda no quesito programação, edição de código fonte. (tem muitas soluções apresentadas pra esse problema, por isso fico perdido na melhor escolha).

    Consegui escanear o modem, o scanModem me retornou isso:


Eles pedem pra mandar esse email pra Discuss em Linmodems.org mas sempre que eu mando o email volta, acho que não tá mais funcionando, se alguem puder 
me ajudar, por favor pois aqui só uso internet discada e preciso muito que a internet funcione no Ubuntu, pois esse sisteminha "xato" rs, vai cair num concurso publico
da USP.




__________________________________________________________________________________________________________


Only plain text email is forwarded by the Discuss em Linmodems.org List Server,

as HTML can contain viruses. Use as the email Subject Line:

YourName, YourCountry kernel 2.6.24-19-generic 

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 em Linmodems.org 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.24-19-generic (buildd em palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Wed Jun 18 14:43:41 UTC 2008

scanModem update of: 2008_06_17

There are no blacklisted modem drivers in /etc/modprobe* files 

Attached USB devices are:

ID 0bda:0151 Realtek Semiconductor Corp. 

ID 043d:0100 Lexmark International, Inc. 

ID 6547:0232 

USB modems not recognized

For candidate card in slot 03:01.0, firmware information and bootup diagnostics are:

PCI slot PCI ID SubsystemID Name

---------- --------- --------- --------------

03:01.0 1057:3052 1057:3020 Modem: Motorola SM56 Data Fax Modem 

Modem interrupt assignment and sharing: 

18: 0 0 IO-APIC-fasteoi uhci_hcd:usb2

--- Bootup diagnostics for card in PCI slot 03:01.0 ----

[ 32.916937] ACPI: PCI Interrupt 0000:03:01.0[A] -> GSI 19 (level, low) -> IRQ 18

[ 32.917202] 0000:03:01.0: ttyS1 at I/O 0xa008 (irq = 18) is a 16450

[ 32.917361] 0000:03:01.0: ttyS2 at I/O 0xa010 (irq = 18) is a 8250

[ 32.917527] 0000:03:01.0: ttyS3 at I/O 0xa018 (irq = 18) is a 16450

[ 32.917579] Couldn't register serial port 0000:03:01.0: -28

For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are:

PCI slot PCI ID SubsystemID Name

---------- --------- --------- --------------

00:1b.0 8086:27d8 1458:a002 Audio device: Intel Corporation 82801G 

Modem interrupt assignment and sharing: 

16: 80721 0 IO-APIC-fasteoi uhci_hcd:usb4, HDA Intel, i915 em pci:0000:00:02.0

--- Bootup diagnostics for card in PCI slot 00:1b.0 ----

[ 44.131560] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16

[ 44.131584] PCI: Setting latency timer of device 0000:00:1b.0 to 64



===== 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.

PCI slot 00:1b.0 has a High Definition Audio Card

The drivers are in the kernel modules tree at:

/lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko

The ALSA verion is 1.0.15

The modem cards detected by "aplay -l" are: None



The /proc/asound/pcm file reports:

-----------------------

00-01: ALC662 Digital : ALC662 Digital : playback 1

00-00: ALC662 Analog : ALC662 Analog : playback 1 : capture 1

about /proc/asound/cards:

------------------------

0 [Intel ]: HDA-Intel - HDA Intel

HDA Intel at 0xe21c0000 irq 16

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive diagnostics for card in bus 03:01.0:

Modem chipset detected on

NAME="Modem: Motorola SM56 Data Fax Modem "

CLASS=0703

PCIDEV=1057:3052

SUBSYS=1057:3020

IRQ=18

IDENT=slamr

For candidate modem in: 03:01.0

0703 Modem: Motorola SM56 Data Fax Modem 

Primary device ID: 1057:3052

Support type needed or chipset: slamr


----------------end Softmodem section --------------

Writing DOCs/Intel.txt

1057:3052 has a Motorola chipset, poorly supported by Motorola itself

However Zello discovered that drivers written to support Smartlink modems do support the 1057:3052 chipset!!

It sufficed to add 1057:3052 to the list of modem cards recognized by the Smartlink slamr driver.

There is a ungrab-winmodem driver used in conjunction with slamr, which must have 1057:3052

similarly added. See messages from Zello:

http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00846.html

http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00848.html

and Alvaro Aguirre about the ungrab-winmodem fix:

http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00990.html

For general guidance on ungrab-winmodem + slamr usage, read the DOCs/Smartlink.txt

The modem is supported by the Smartlink 

plus the slmodemd helper utility. Read the

DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.



For 2.6.24-19-generic compiling drivers is necessary. As of October 2007 the current packages at

http://linmodems.technion.ac.il/packages/smartlink/ are the

ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz

Writing DOCs/Smartlink.txt

============ end Smartlink section =====================



Predictive diagnostics for card in bus 00:1b.0:

Modem chipset not detected on

NAME="Audio device: Intel Corporation 82801G "

CLASS=0403

PCIDEV=8086:27d8

SUBSYS=1458:a002

IRQ=16

HDA=8086:27d8

SOFT=8086:27d8.HDA



High Definition Audio (HDA) cards MAY host a modem chip in their Subsystem, 

and many are supported by the ALSA audio+modem driver snd-hda-intel

A modem was not detected on HDA card 8086:27d8.

If another modem card is present, then most likely 8086:27d8 does not host a modem.

If another modem card has not been detected, then possibilities are:

1) A Conexant modem chip is present on 8086:27d8, as Conexant chips

are frequently not detectable by ALSA diagnostics

2) The modem may be of the older non-PCI Controller Chipset (hardware) type.

Try detection with Root permission:

sudo wvdialconf /etc/wvdial.conf

For candidate modem in: 00:1b.0

0403 Audio device: Intel Corporation 82801G 

Primary device ID: 8086:27d8

Subsystem PCI_id 1458:a002 

Softmodem codec or chipset from diagnostics: 

from Archives: 



Support type needed or chipset: 

Support can likely be achieved through two mutually exclusive alternatives:

1) The hsfmodem software for Conexant chipset modems: Read DOCs/Conexant.txt

The following ALSA alternative CANNOT work with Conexant modems.

2) An ALSA modem driver plus slmodemd. Read DOCs/Smartlink.txt for details, and

to test get the package SLMODEMD.gcc4.2.tar.gz from: 

http://linmodems.technion.ac.il/packages/smartlink/

----------------end Softmodem section --------------

Completed candidate modem analyses.

The base of the UDEV device file system is: /dev/.udev

Versions adequately match for the compiler installed: 4.2.3

and the compiler used in kernel assembly: 4.2.3




Minimal compiling resources appear complete:

make utility - /usr/bin/make

Compiler version 4.2

linuc_headers base folder /lib/modules/2.6.24-19-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. 

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.







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 269256 2007-10-04 16: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/DOCs/YourSystem.txt concerning other COMM channels: eth0

Which can interfere with Browser naviagation.

Don't worry about the following, it is for 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/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

Within any ancient /etc/devfs files:

Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------



_________________________________________________________________________________________________________________________________________________







More information about the ubuntu-br mailing list