Autor Tópico: Tutorial para HSP56 MR driver Smartlink  (Lida 1176669 vezes)

alarcon

  • Visitante
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #885 Online: 17 de Janeiro de 2009, 17:59 »
Seu modem é o:

ID 1543:3052
Modem: SILICON Laboratories Intel 537 [Winmodem] (rev 04)

e não sei se o driver smartlink é adequado para ele, pois é o seguinte:

Se a ID dele é 1543:3052 e o Subsystem é o 1543:3020 ele é um modem Motorola.

Agora se a ID é 1543:3052 e o Subsystem é o 1543:3000 ele é um modem Intel 537

Use o script scanModem que você pode baixar deste link aqui:

http://linmodems.technion.ac.il/packages/scanModem.gz

para saber com maior precisão que driver usar.

depois de baixar o arquivo scanModem.gz clique nele com o botão direito do mouse e escolha a opção extrair aqui, depois pelo terminal e na pasta que contém o arquivo descompactado digite:

chmod +x scanModem*

para dar permissão de execução a ele, e depois:

./scanModem*

para executá-lo. Vai ser gerada uma pasta chamada de Modem dentro da pasta de onde você executou o script, entre nela e leia os arquivos que tem lá, principalmente o ModemData.txt para saber que driver usar no seu caso.
« Última modificação: 17 de Janeiro de 2009, 18:00 por alarcon »

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #886 Online: 17 de Janeiro de 2009, 20:24 »
Olá.
Tudo bem, farei isso. Mas agora fiquei preocupado, pois e se for o caso de o modem ser um Intel ?
Neste caso, seria mais fácil, ou mais difícil de resolver o problema de conseguir usar a internet discada ?

Vc poderia me esclarecer isso ?

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #887 Online: 18 de Janeiro de 2009, 14:03 »
Olha tem muita coisa, muito arquivo... mas acho que o arquivo ModemData.txt já diz o que precisamos saber...


For candidate card in slot 01:06.0, firmware information and bootup diagnostics are:
 PCI slot   PCI ID      SubsystemID   Name
 ----------   ---------   ---------   --------------
 01:06.0   1543:3052   1543:3000   Modem: SILICON Laboratories Intel 537 [Winmodem]

________________________________________________________________________________

É o fragmento que deve (penso ser) o mais importante, pois diz que o modem é realmente um Intel 537.

A dúvida agora permanece no que fazer...


Em todo o caso, aqui está o arquivo ModemData.txt completo. Se precisar, da próxima vez posto os outros arquivos também...
Aqui está ele...




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



 Only plain text email is forwarded by the  Discuss@Linmodems.org List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry  kernel 2.6.27-7-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@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.27-7-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 06:42:44 UTC 2008
 scanModem update of:  2009_01_11
The modem symbolic link is /dev/modem -> ttySL0
 There are no blacklisted modem drivers in /etc/modprobe*  files
If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@linmodems.org

For candidate card in slot 01:06.0, firmware information and bootup diagnostics are:
 PCI slot   PCI ID      SubsystemID   Name
 ----------   ---------   ---------   --------------
 01:06.0   1543:3052   1543:3000   Modem: SILICON Laboratories Intel 537 [Winmodem]

 Modem interrupt assignment and sharing:
 --- Bootup diagnostics for card in PCI slot 01:06.0 ----
[    0.424727] PCI: 0000:01:06.0 reg 10 32bit mmio: [fdeff000, fdefffff]
[    0.424732] PCI: 0000:01:06.0 reg 14 io port: [bc00, bcff]
[    0.424761] pci 0000:01:06.0: PME# supported from D0 D3hot D3cold
[    0.424764] pci 0000:01:06.0: PME# disabled
[    1.506308] serial 0000:01:06.0: PCI INT A -> Link[APC2] -> GSI 17 (level, low) -> IRQ 17
[    1.506755] 0000:01:06.0: ttyS1 at I/O 0xbc08 (irq = 17) is a 16450
[    1.507010] 0000:01:06.0: ttyS2 at I/O 0xbc10 (irq = 17) is a 8250
[    1.507260] 0000:01:06.0: ttyS3 at I/O 0xbc18 (irq = 17) is a 16450
[    1.507336] Couldn't register serial port 0000:01:06.0: -28

 The PCI slot 01:06.0 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@linmodems.org
 if help is needed.
 

For candidate card in slot 00:05.0, firmware information and bootup diagnostics are:
 PCI slot   PCI ID      SubsystemID   Name
 ----------   ---------   ---------   --------------
 00:05.0   10de:03f0   1019:2609   Audio device: nVidia Corporation MCP61 High Definition Audio

 Modem interrupt assignment and sharing:
 22:         10       1675   IO-APIC-fasteoi   ohci_hcd:usb1, HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:05.0 ----
[    0.424375] PCI: 0000:00:05.0 reg 10 32bit mmio: [fe024000, fe027fff]
[    0.424396] pci 0000:00:05.0: PME# supported from D3hot D3cold
[    0.424399] pci 0000:00:05.0: PME# disabled
[    1.116563] pci 0000:00:05.0: Enabling HT MSI Mapping
[   12.006826] HDA Intel 0000:00:05.0: PCI INT B -> Link[AAZA] -> GSI 22 (level, low) -> IRQ 22
[   12.006843] HDA Intel 0000:00:05.0: setting latency timer to 64

 The PCI slot 00:05.0 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@linmodems.org
 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.17
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 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe024000 irq 22

 PCI slot 00:05.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.27-7-generic/kernel/sound/pci/hda/snd-hda-intel.ko
UNEXPECTED HDA diagnostic outcome.
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 01:06.0:
   Modem chipset  detected on
NAME="Modem: SILICON Laboratories Intel 537 [Winmodem] "
CLASS=0703
PCIDEV=1543:3052
SUBSYS=1543:3000
IRQ=17
IDENT=INTEL537_on_1543:3052

 For candidate modem in:  01:06.0
   0703 Modem: SILICON Laboratories Intel 537 [Winmodem]
      Primary device ID:  1543:3052
 Support type needed or chipset:   INTEL537_on_1543:3052
 

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


Predictive  diagnostics for card in bus 00:05.0:
   Modem chipset not detected on
NAME="Audio device: nVidia Corporation MCP61 High Definition Audio "
CLASS=0403
PCIDEV=10de:03f0
SUBSYS=1019:2609
IRQ=22
HDA=10de:03f0
SOFT=10de:03f0.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 10de:03f0.
 If another modem card is present, then most likely 10de:03f0 does not host a modem.
 If another modem card has not been detected, then possibilities are:
   1) A Conexant modem chip is present on 10de:03f0, 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:05.0
   0403 Audio device: nVidia Corporation MCP61 High Definition Audio
      Primary device ID:  10de:03f0
    Subsystem PCI_id  1019:2609
    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.3.tar.gz from:
   http://linmodems.technion.ac.il/packages/smartlink/

----------------end Softmodem section --------------
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.2
             and the compiler used in kernel assembly: 4.3.2

 The patch utility is needed and is needed for compiling ALSA drivers, and possibly others.

 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.3
   linuc_headers base folder /lib/modules/2.6.27-7-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 needed. 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 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


 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 2009-01-17 20:27 /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/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
/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 --------




alarcon

  • Visitante
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #888 Online: 18 de Janeiro de 2009, 15:23 »
Pelo que está me parecendo você possui 2 modems no seu PC, senão vejamos:

1 Modem SILICON Laboratories Intel 537 que pela sua ID e Subsystem é um modem Intel 537 e nunca vi alguém por este modem para funcionar em versões recentes do linux em geral, só em versões muito antigas é que vejo drive que funcione, mas isso pode ter mudado, entretanto acho difícil.

1 Modem HDA (High Definition Audio), ou melhor, você tem uma placa de audio especial (HDA) que pode fazer o papel de modem também: nVidia Corporation MCP61 High Definition Audio

Sua missão não é nada fácil por que o Intel nunca mais vi funcionar em linux mais novos e modems HDA são mais trabalhosos de se fazer funcionar no linux. Só conheço o driver Smartlink e o Conexant que são capazes de fazer alguns deles funcionarem no linux.


Por isso aqui:

Citar
...
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.3.tar.gz from:
   http://linmodems.technion.ac.il/packages/smartlink/
...

É o que estou falando mesmo, ou seja, ou o driver Conexant ou o driver Smartlink é que podem fornecer suporte, mas não ficou claro qual seria. Veja dentro da pasta Modem se existe os arquivos Conexant.txt e Smartlink.txt para saber se tem alguma informação a mais que possa esclarecer qual deles deve tentar.

Como sei que até o momento nãop existe driver Conexant livre para o Ubuntu 8.10, se quiser pode já ir tentando com o driver Smartlink. Para isso instale o meu pacote modem-arquivos-v27.tar.gz e depois abra um terminal e digite:

sudo /etc/init.d/sl-modem-daemon stop

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0,1


e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

Se não funcionar tente mais esses aqui:

Citar
sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0,6

e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

ou

Citar
sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 modem:0

e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

ou

Citar
sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 modem:1

e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

ou

Citar
sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0

e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

ou

Citar
sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:1

e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP



Os modens usam modem:0; hw:0,1; hw:0,2 até 6. É mais fácil ir por tentativa e erro.


Você já usou os meus pacotes para ativar este mesmo modem em outras  versões do Ubuntu e funcionou?
« Última modificação: 18 de Janeiro de 2009, 15:28 por alarcon »

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #889 Online: 18 de Janeiro de 2009, 18:11 »
E eu que pensei que o pior de tudo seria ter um modem motorola...

Bom, se é assim, vamos ver se tenho sorte procurando ajuda para uma dessas opções, torcendo que exista um Alarcon pela net aí afora, que tenha esses modems aí...

Esse negócio de escrever BRAZIL em algum arquivo me é familiar, vc tem isso em uma de suas dicas (troubleshooting), e não lembro agora o nome do arquivo, mas ele já tem tudo setado pra BRAZIL e perm=0666, entre outras opções... não sei se fui bem claro quanto à isso... mas de qualquer forma tentarei mais uma vez...

Este modem eu comprei agora no final de Dezembro... o antigo (que já funcionou no Ubuntu 7.10) foi condenado após uma tempestade.. :'(

Eu queria saber de vc o seguinte, eu tenho aqui comigo o cd do Ubuntu normal 8.04... seu pacote funcionaria nele ? Ou todo o problema depende exclusivamente do meu modem ?

Desde já obrigado...

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #890 Online: 18 de Janeiro de 2009, 18:13 »
Esqueci de dizer, a minha placa de áudio é Realtek onboard, não achei que ela tivesse alguma coisa especial em relação à modem...
E lembrando também que eu instalei seu pacote v27, não sei se isso gerou alguma informação diferente da que seria gerada se não tivesse instalado o pacote v27 primeiro... (me refiro ao Smartlink.txt - vou ver assim que sair do windows...)

Mas e sobre o que te falei acerca do /dev/modem que na hora de conectar ele nem ao menos encontra o modem (já tentei clicar em Detectar e também não detecta ele...) ? Essa tentativa e erro muda isso ?


Estava já adiantando alguma pesquisa sobre o assunto, e achei este link aqui...

Você acha que seria precipitado já ir seguindo os passos que estão neste link aqui ?
http://ubuntuforum-pt.org/index.php/topic,29946.15.html

Ou este link ?
http://ubuntuforum-pt.org/index.php/topic,43074.0.html

Desculpe, é que estou correndo por que tem gente querendo usar a internet (discada é dose !)...
« Última modificação: 18 de Janeiro de 2009, 19:06 por Shakmatton »

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #891 Online: 18 de Janeiro de 2009, 19:47 »
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...













alarcon

  • Visitante
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #892 Online: 19 de Janeiro de 2009, 11:13 »
Isso aqui:

Citar
...Os modens usam modem:0; hw:0,1; hw:0,2 até 6. É mais fácil ir por tentativa e erro...


É só para informar que caso estas tentativas aqui:

Citar
sudo /etc/init.d/sl-modem-daemon stop

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0,1


e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

Se não funcionar tente mais esses aqui:



sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0,6

e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

ou



sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 modem:0


e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

ou



sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 modem:1


e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP


ou



sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:0


e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP

ou



sudo killall slmodemd

sudo /usr/sbin/slmodemd -c BRAZIL --alsa --perm=0666 hw:1


e depois tente usar o discador gnome ppp que se encontra em Aplicações > Internet > GNOME PPP


Não derem certo, aí estou informando de o hw vai do valor hw:0,1 até o valor hw:0,6, ou seja, hw:0,1 ... hw:0,3... hw:0,6

Tenha em mente que seus possíveis modems são complicados no linux.

Se uma dessas opções funcionar, ainda teremos de criar um script para ativação no boot, mas antes quero saber se um destes comandos funciona mesmo com o meu pacte modem-arquivos-v27.tar.gz . Não é querendo te desanimar, mas acho que dificilmente seu modem irá funcionar, mas...

Rapadura é doce, mas não é mole não:P
« Última modificação: 19 de Janeiro de 2009, 11:16 por alarcon »

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #893 Online: 20 de Janeiro de 2009, 00:27 »
Bom, vou tentar isso com calma e depois posto de volta...

Postei uns links, vc não comentou nada arespeito...   
Qualquer coisa, se tentar mos de tu do, e nada der certo, então talvez seja o caso de considerar instalar o 8.04 mesmo...
Mas primeiro vamos ver...

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #894 Online: 21 de Janeiro de 2009, 00:30 »
Alarcon, fiz o q vc me disse... está aqui tudo o q consegui... mas parece q n ão tive nenhum resultado importante... de qualquer forma aí está...


Aqui estão os resultados das minhas tentativas... a última linha de cada bloco possui o string que usei (por exemplo, o primeiro bloco foi testado com 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'


error: mixer setup: Off-hook switch not found for card hw:0
error: alsa setup: cannot open playback device 'modem:0': No such file or directory
error: cannot setup device `modem:0'


error: mixer setup: Off-hook switch not found for card hw:0
error: alsa setup: cannot open playback device 'hw:0': Device or resource busy
error: cannot setup device `hw:0'


error: mixer setup: attach hw:1 error: No such file or directory
ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Invalid value for card
error: alsa setup: cannot open playback device 'hw:1': No such file or directory
error: cannot setup device `hw:1'      (OBS.: ESTE ÚLTIMO RESULTADO SE MANTÉM DESDE hw:1 a hw:6)


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'      (OBS.: ESTE ÚLTIMO RESULTADO SE MANTÉM DESDE hw:0,1 a hw:0,9)


error: mixer setup: Off-hook switch not found for card hw:0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.modem.1:CARD=0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=1
error: alsa setup: cannot open playback device 'modem:0,1': No such file or directory
error: cannot setup device `modem:0,1'


error: mixer setup: Off-hook switch not found for card hw:0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.modem.2:CARD=0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=2
error: alsa setup: cannot open playback device 'modem:0,2': No such file or directory
error: cannot setup device `modem:0,2'
(OBS.: NESTE BLOCO TESTEI DE modem:0,2 a modem:0,9 E A MENSAGEM SE REPETE, EXCETO O PADRÃO DOS NÚMEROS...
POR EXEMPLO, AQUI NESTE BLOCO TEMOS modem:0,2 , O DEV = 2, TEMOS TAMBÉM O 'cards.HDA-Intel.pcm.modem.2 ...
QUANDO FOR POR EXEMPLO modem:0,5 ENTENDA ("SUBSTITUA") OS NÚMEROS 5 NO LUGAR DOS NÚMEROS 2, ENTENDEU ?)


error: mixer setup: attach hw:1 error: No such file or directory
ALSA lib confmisc.c:768:(parse_card) cannot find card '1'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=1,DEV=0
error: alsa setup: cannot open playback device 'modem:1': No such file or directory
error: cannot setup device `modem:1'

(OBS.: AQUI OCORRE ALGO PARECIDO COM A OBS. ANTERIOR, POR EXEMPLO, SE ESCREVO modem:1,1 ENTÃO O CARD=1 E O DEV = 1. SE ESCREVO modem:2,3 ENTÃO O CARD = 2 E O DEV = 3, É NESSE PADRÃO AÍ...)











alarcon

  • Visitante
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #895 Online: 21 de Janeiro de 2009, 11:54 »
com relação a modem:0, modem:1 ... não era para tentar até o 6 isso só era para ser feito com o hw, ou seja, hw0,1 ... hw:0,6  sendo que os mais comuns são o hw:0,1 e hw:0,6, entretanto pelo que vejo das suas respostas nada surtiu efeito, então acho que seu modem HDA não é suportado pelo driver Smartlink e também acho que pelo conexant também não será.

O Intel, como disse nunca mais vi alguém fazê-lo funcionar, mas se quiser procurar por driver mais recentes procure aqui:

http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/

ou aqui:

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


Você não me respondeu a pergunta se já fez esse modem funcionar em outras versões do Ubuntu e usando algum pacote que tenha feito.

Quanto ao que perguntou sobre os link que tinha postado e que não comentei, foi esquecimento, mas pelo que vi são só instruções para o caso de quem já fez a instalação do modem e estão só precisando de um pequeno ajuste na configuração, o que não é o seu caso que ainda precisa encontrar um driver que sirva para ativá-lo.

« Última modificação: 21 de Janeiro de 2009, 11:56 por alarcon »

Offline Shakmatton

  • Usuário Ubuntu
  • *
  • Mensagens: 213
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #896 Online: 22 de Janeiro de 2009, 01:50 »
O modem eu respondi, eu o peguei agora no fin al de ano, e só depois fui testar um linux nele... mas logo agora que preciso dele... aconteceu isso...

Está me ocorrendo uma idéia agora... meu irmão usa Windows  na máquina dele (embora eu tenha instalado o linux nela tmb...), então eu poderia em último caso (último mesmo) tentar trocar o dele com o meu (o dele tá funcionando a net do linux...)

Mas a idéia é tentar resolver isso... estou tendo dificuldades para ficar muito tempo na net, en tão esta pesquisa será bem paciente, verei estes links aí, e vou tentar me virar com a instalação deles depois...

Desde já  obriga do Ala rcon..

Offline morrison

  • Usuário Ubuntu
  • *
  • Mensagens: 21
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #897 Online: 22 de Janeiro de 2009, 17:24 »
Pessoal sou novo por aqui e ultilizava a versão 8.4 do ubuntu epeguei a nova versão mas meu modem nao quer funcionar ele é um Lg l56  e estou com a versão 2.6.27-7-generic so kernel e baixei as dua versão para instalar o modem que estão listadas aqui no forumabversão 27 e 29 e nenhuma das 2 funcionou alguem poderia me dar maiores orientações para tentar resolver abraço.

alarcon

  • Visitante
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #898 Online: 22 de Janeiro de 2009, 18:14 »
Pessoal sou novo por aqui e ultilizava a versão 8.4 do ubuntu epeguei a nova versão mas meu modem nao quer funcionar ele é um Lg l56  e estou com a versão 2.6.27-7-generic so kernel e baixei as dua versão para instalar o modem que estão listadas aqui no forumabversão 27 e 29 e nenhuma das 2 funcionou alguem poderia me dar maiores orientações para tentar resolver abraço.

Se você está usando a versão Ubuntu 8.10 Intrepid Ibex 32bits, tem de usar, inicialmente, apenas o pacote que fiz chamado de modem-arquivos-v27.tar.gz que pode ser baixando aqui:

http://ubuntuforum-br.org/index.php/topic,4204.msg261863.html#msg261863

Agora se você já instalou ele seguindo tudo que é falado nos arquivos Leia-me.txt e guia_instalação.pdf presente no pacote compactado modem-arquivos-v27.tar.gz, abra um terminal no Ubuntu (menu Aplicações > Acessórios > Consola ou Terminal) e digite:

ps -aux | grep slmodemd

dmesg | grep slamr

lsmod | grep slamr

lsmod | grep ungrab_winmodem



o comando:

sudo /etc/init.d/sl-modem-daemon restart

retorna o que, quando executado no terminal.

Offline newtonbeltrao

  • Usuário Ubuntu
  • *
  • Mensagens: 2
    • Ver perfil
Re: Tutorial para HSP56 MR driver Smartlink
« Resposta #899 Online: 22 de Janeiro de 2009, 18:40 »
Senhores, estou utilizando o Kubuntu 8.04 e segui o que está descrito em:

http://ubuntuforum-br.org/index.php/topic,44677.msg264777.html#msg264777

meu modem foi instalado e reconhecido, consegui conectar, mas não navega em site nenhum. Detalhe: consigo pingar o google(por exemplo), mas nem pelo ip meu konqueror abre alguma coisa. Alguem tem alguma sujestão do que devo fazer?