[how-to] modem su hda-intel audio card

Networking, configurazione della connessione, periferiche e condivisioni di rete.
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

[how-to] modem su hda-intel audio card

Messaggio da AleXit »

Oggi finalmente sono riuscito a far funzionare il modem 56k su un portatile Sony Vaio FE-28B .
Il portatile monta la scheda audio hda di Intel (high definition audio) comune a molti nuovi portatili. Credo dunque che questa risoluzione possa interessare a molti.

Descrivo i passaggi a grandi linee.. poi se c'è qualche interessato posso spiegare anche i dettagli, oppure farò un wiki.

1) scaricare da http://linmodems.technion.ac.il/packages/smartlink/ il pacchetto hda-intel-2.6.15-27-386.tgz.
(scegliere comunque la versione per il proprio kernel, se disponibile). Per ora questa è l'ultima versione del kernel disponibile. Dovrebbe andare bene con Dapper. Dato che io ho Edgy ho dovuto scaricarmi l'ultima versione dei driver Alsa 1.0.13, compilarli con il mio kernel, installarli e sostituire i moduli nel pacchetto scaricato. Comunque non ho incontrato grossi problemi. Nel caso serva a qualcuno posso spiegare i passaggi. Prevedo comunque che questo pacchetto venga costantemente aggiornato di pari passo con l'uscita dei pacchetti-kernel di ubuntu... quindi a breve uscirà anche la versione 2.6.17.10.

2) scaricare e installare da repository il pacchetto sl-modem-daemon

3) scompattare l'archivio coi drivers, ed installarlo con sudo ./install

4) editare il file /etc/default/sl-modem-daemon in questo modo

Codice: Seleziona tutto

DONTSTART=0
SLMODEMD_DEVICE=hw:0
SLMODEMD_COUNTRY=ITALY
OPTS="-a -p 0666"
FORCESTART=0
5) far partire il demone con

Codice: Seleziona tutto

sudo /etc/init.d/sl-modem-daemon start
6) verificare il funzionamento del modem con

Codice: Seleziona tutto

sudo wvdialconf /etc/wvdial.conf
C'è solo un piccolo problema che ho riscontrato: dato che il modem sfrutta la scheda audio, quando è attivo il demone del modem, non posso riprodurre alcun suono, perchè mi dice che la risorsa è occupata. Se fermo il demone rifunziona tutto regolarmente. Sapete se c'è un modo per gestire più flussi audio contemporaneamente?
Avatar utente
raziel
Prode Principiante
Messaggi: 48
Iscrizione: martedì 6 giugno 2006, 14:25

Re: [how-to] modem su hda-intel audio card

Messaggio da raziel »

Grande!!!!!!!funziona!!!!
Ora mi riconosce il modem anche se non compone il numero (dice segnale portante assente)
Se riesci a risolvere il problema della scheda audio postalo
Ciao
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Putroppo anche io ho verificato in seguito che il modem lo rileva, però non riesce a connettersi (NO CARRIER). Ho provato diverse stringhe... per evitare il controllo della portante... ma ancora non sono riuscito a far comporre il numero... :(
Avatar utente
fabbrone
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 706
Iscrizione: lunedì 10 luglio 2006, 19:16
Località: orvieto
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da fabbrone »

provate questo wvdial.conf


[Dialer Defaults]
Modem = /dev/ttySL0
Baud = 115200
Init1 = ATX3
Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 +MS=90
Init3= ATL3
ISDN = 0
Modem Type = Analog Modem
Phone = numero_da_comporre
Username = xxxxxx
Password = xxxxxx
Stupid Mode = yes
Carrier Check = no
Auto DNS = yes
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Già provato fabbrone...
Quello che dovrebbe servire è X3 e
Stupid Mode = yes
Carrier Check = no

Pero' non danno l'effetto desiderato...
Avatar utente
fabbrone
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 706
Iscrizione: lunedì 10 luglio 2006, 19:16
Località: orvieto
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da fabbrone »

A me con questo wvdial funziona senza problemi
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Ho provato a utilizzare esattamente la configurazione che hai postato, ma questo è il risultato:

Codice: Seleziona tutto

--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATX3
ATX3
OK
--> Sending: ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 +MS=90
ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 +MS=90
OK
--> Sending: ATL3
ATL3
OK
--> Modem initialized.
--> Sending: ATDT7020187187
--> Waiting for carrier.
ATDT7020187187
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7020187187
--> Waiting for carrier.
ATDT7020187187
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7020187187
--> Waiting for carrier.
ATDT7020187187
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7020187187
--> Waiting for carrier.
ATDT7020187187
NO CARRIER
ERROR
--> No Carrier!  Trying again.
Ma tu hai lo stesso modem sulla stessa scheda audio? E lo hai installato nello stesso modo che ho indicato io nel primo post?
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Ok.. forse sono venuto a capo del problema.
Per adesso i drivers alsa per hda-intel supportanto solo i chipset di questi vendor:

Codice: Seleziona tutto

	0x163c3055   Smartlink
	0x163c3155   Smartlink
	0x11c13026   AgereSystems
        0x11c11040   AgereSystems
	0x10573055   Motorola
	0x10573155   Motorola
Per verificare il vostro, date questo comando:

Codice: Seleziona tutto

cat /proc/asound/card0/codec#1
e controllate il VENDOR_ID.

Purtroppo il mio è di tipo conexant e non è ancora supportato ::)
MauroS.
Prode Principiante
Messaggi: 56
Iscrizione: martedì 19 dicembre 2006, 16:54

Re: [how-to] modem su hda-intel audio card

Messaggio da MauroS. »

Eh si purtroppo non riesco nemmeno io a farlo funzionare ..
mi da gli stessi errori tuoi!
Fammi sapere qualcosa se riesci.
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Proprio oggi mi sono rimesso a vedere se mi riesce far funzionare sto benedetto modem...
Innanzitutto, l'output di scanmodem mi riporta questo:

Codice: Seleziona tutto

Codec: Generic 14f1 ID 2bfa
Address: 1
Vendor Id: 0x14f12bfa
Subsystem Id: 0x104d0200
Revision Id: 0x90000
E poco sotto vengono date queste indicazioni:

Codice: Seleziona tutto

-------------------------------
Current support status of HDA cards is:
  Vendor IDs  Chip maker     Support type 
  ----------  ----------    -------------
  0x14f12bfa  Conexant      hsfmodem , not slmodemd compatible
  0x11c13026  AgereSystems  snd-hda-intel, slmodemd supported
  0x11c11040  AgereSystems      "             "    , patch needed
  0x11c13055  AgereSystems      "             "    ,      "
  0x163c3055  Smartlink         "             "    ,      "
  0x163c3155    "               "             "    ,      "
  0x10573055  Motorola          "             "    ,      "
  0x10573155     "              "             "    ,      ""
as of October 2006.
Ecco purtroppo il mio è proprio il primo, ovvero di tipo conexant... ovvero i peggiori per quanto riguarda la compatibilità con linux. Ho letto che l'ultima versione dei driver hsfmodem del sito Linuxant dovrebbero far funzionare questo modem, purtroppo se non si paga la licenza la velocità è limitata a 14,4 kbps !! Sinceramente non ho proprio voglia di pagare 20 dollari per comprare un misero driver. Sono passato a Linux proprio per utilizzare un sistema opensource e gratuito :-X
Ho trovato anche dei driver opensource qui: http://wiki.ubuntu-it.org/DialupModemHowto/Conexant
Ma lo script sembra fermarsi alla Dapper... non so se funzionerà.
In ogni modo nei prossimi giorni vedo di fare qualche prova e poi vi saprò ridire...
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Allora, per chi è interessato ho una notizia buona e una cattiva
La buona è che sono riuscito a far funzionare splendidamente il modem installando gli ultimi driver conexanti presi dal sito linuxant (ovvero la versione 7.47.00.05).
La cattiva è che come è noto questi driver sono a pagamento, e per farli andare a più di 14,4k bisognerebbe comprare il driver a 20 dollari.
A dire la verità dopo una breve ricerca in rete sono riuscito a trovare una procedura che generando un codice con un keygen e smanettando un po' riesce a sbloccare i suddetti drivers, però visto che la cosa è ai limiti della legalità non credo sia corretto postare la procedura sul forum...
...se vi interessa è alla portata di tutti su google.
Ciao!
herculesso77
Prode Principiante
Messaggi: 23
Iscrizione: domenica 4 febbraio 2007, 18:04

Re: [how-to] modem su hda-intel audio card

Messaggio da herculesso77 »

AleXit, sono alle prime armi....non riesco a far funzionare il modem interno
del mio laptop toshiba, che ha la scheda audio/modem che da "scanmodem" risulta
essere della intel hda (ich7 family).

volevo chiederti se hai poi deciso di fare il wiki oppure una guida dettagliata
di cui parli nel tuo post iniziale.
in caso affermativo, potresti indicarmi dove si trova?
in alternativa sapresti darmi suggerimenti su come devo fare per far funzionare
sto benedetto modem?

in questo sito esistono 3 o 4 wiki che trattano l'argomento, ma, forse perchè
sono un pò datati, o perchè non sono adatti per il mio hardware e molto
probabilmente anche per la mia più totale ignoranza....fatto sta che non riesco
a far funzionare il modem.

Grazie
herculesso77
Prode Principiante
Messaggi: 23
Iscrizione: domenica 4 febbraio 2007, 18:04

Re: [how-to] modem su hda-intel audio card

Messaggio da herculesso77 »

up
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Ciao... è da un po' di tempo che non rimetto le mani sul modem, perchè ho trovato il modo di avere la banda larga... :)
Comunque magari allega il risultato di scanmodem, cosi guardiamo un po'...

Ciao!
herculesso77
Prode Principiante
Messaggi: 23
Iscrizione: domenica 4 febbraio 2007, 18:04

Re: [how-to] modem su hda-intel audio card

Messaggio da herculesso77 »

Ciao AleXit, ti ringrazio per avermi risposto e preso in considerazione.
Purtroppo qui non c'è la adsl e di conseguenza si è obbligati ai 56k.

Dato che il laptop lo uso quasi esclusivamente per lavoro, ci terrei che mi
funzionasse il modem.
Come sistema operativo ho ubuntu 6.10 edgy.




Ho eseguito il programma “scanmodem” e questo è il risultato del file: ModemData.txt:

  Only plain text email is forwarded by the  DISCUSS@linmodems.org  List Server.
  Do use the following as the email Subject Line:
            SomeName, YourCountry Ubuntu 6.10  kernel 2.6.17-10-generic
  This will alert cogent experts, and  distinguish cases in the Archives.
  YourCountry will enable Country Code guidance.
  Occassionally responses are blocked by an Internet Provider mail filters.
  So in a day, also check the Archived responses at  http://www.linmodems.org  .
  Local Linux experts can be found through:  http://www.linux.org/groups/index.html 
--------------------------  System information ----------------------------
CPU=i686,  Ubuntu 6.10
Linux version 2.6.17-10-generic (root@vernadsky) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Fri Oct 13 18:45:35 UTC 2006 (Ubuntu 2.6.17-10.33-generic)
  scanModem update of:  2007_Feb_16


USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

  PCI slot  PCI ID      SubsystemID  Name
  ----------  ---------  ---------  --------------
  00:1b.0  8086:27d8  1179:ff01  Audio device: Intel Corporation 82801G

  Modem interrupt assignment and sharing:
  58:        792  IO-APIC-level  HDA Intel

  --- Bootup diagnositcs for card in PCI slot 00:1b.0 ----
[17179582.300000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 58
[17179582.300000] PCI: Setting latency timer of device 0000:00:1b.0 to 64

  === Finished modem firmware and bootup diagnostics section. ===
  === Next deducing cogent software ===

ALSAversion 1.0.11
8086:27d8 is a High Definition Audio card, possibly hosting a soft modem.

  For candidate modem in PCI bus:  00:1b.0
    Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
      Primary PCI_id  8086:27d8
    Subsystem PCI_id  1179:ff01
    Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems type.
                              from    Archives: 11c1, an AgereSystems type.
                       

  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:  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/package ... link/ 
  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          20116  1
snd_hda_codec        164608  1 snd_hda_intel
snd_pcm                84612  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    58372  8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
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: ALC861 Analog : ALC861 Analog : playback 1 : capture 2

    /proc/asound/modules
-------------------------------
  0 snd_hda_intel
    /proc/asound/card0/codec#1
-------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c13026
Subsystem Id: 0x11790001
Revision Id: 0x100700
-------------------------------
Current support status of HDA cards is:
  Vendor IDs  Chip maker    Support type
  ----------  ----------    -------------
  0x14f12bfa  Conexant      hsfmodem , not slmodemd compatible
  0x11c13026  AgereSystems  snd-hda-intel, slmodemd supported
  0x11c11040  AgereSystems      "            "    , patch needed
  0x11c13055  AgereSystems      "            "    ,      "
  0x163c3055  Smartlink        "            "    ,      "
  0x163c3155    "              "            "    ,      "
  0x10573055  Motorola          "            "    ,      "
  0x10573155    "              "            "    ,      ""
as of October 2006.

and from the command:
    aplay -l | grep -i modem
card 0: Intel [HDA Intel], device 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.2
              and the compiler used in kernel assembly: 4.1.2


 
  Compiling resources appear complete:
    make utility - /usr/bin/make
    Compiler version 4.1
    kernel_headers base folder /lib/modules/2.6.17-10-generic/build


Checking pppd properties:
    -rwsr-xr-- 1 root dip 260920 2006-07-10 21:13 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
      http://phep2.technion.ac.il/linmodems/a ... .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
auth
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 ... .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.
==========================================================

  Checking for modem support lines:
  --------------------------------------
      /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0: 
      Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*",        SYMLINK+="modem"
      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 --------



Purtroppo non conosco l'inglese, ma da quanto ho potuto intuire, pare che "guardando" il Vendor Id: 0x11c13026,
sia la scheda installata sul mio laptop e che dovrebbe essere pienamente supportata.

Ciao e grazie.
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Si... diciamo che sei fortunato.
Le istruzioni per l'installazione sono proprio dentro questo file:
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.
Il driver di cui hai bisogno è slmodemd, che si trova già nei repo di ubuntu. Prova a installarlo da li... altrimenti scarica la versione più recente dal sito indicato.

Leggi anche qui: http://wiki.ubuntu-it.org/DialupModemHowto/Smartlink
herculesso77
Prode Principiante
Messaggi: 23
Iscrizione: domenica 4 febbraio 2007, 18:04

Re: [how-to] modem su hda-intel audio card

Messaggio da herculesso77 »

Avevo intuito che questo poteva essere il file che mi serviva....infatti l'avevo già scaricato.
Il problema è che non capisco quali sono i comandi da impartire per installarlo.

1. Unpack tar.gz package file:

$ gzip -dc slmodem-2.9.X.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmodem-2.9.X

fino al punto 2 non ho problemi.





è dal punto 3  in vanti che non capisco che devo fare

3. Review and edit 'Makefile' (if need):

  In many cases you will need to correct path to your local kernel
  source tree:

        KERNEL_DIR=/path/to/linux

  Default KERNEL_DIR is '/lib/modules//build'. Many Linux
  Distributions use directory '/usr/src/linux-' also.

  Note: If you are using Linux kernel 2.4, only header files should be
        available for build in $(KERNEL_DIR)/include

  Another way to pass right value KERNEL_DIR is to use command line
  parameter while running 'make':

        $ make KERNEL_DIR=/path/to/linux ...

4. Run 'make' command to compile package:

$ make

5. Install. As 'root' user run:

# make install

  It will install:

  - application 'slmodemd' under '/usr/sbin' directory

  - hardware specific drivers (kernel modules) 'slamr' and 'slusb'
    under conventional kernel modules directory

  - character device nodes '/dev/slamr0-3' with major number 212
    (for pci modems) and '/dev/slusb0-3' with major number 213
    (for usb modems).

  - config modules for autoloading (by editing file '/etc/modules.conf')
    (only with 2.4 kernels)

6. Config modem country.

  Use AT+GCI= command to setup country.

  Also you can setup default modem country by passing command line
  parameter '--country=MY_COUNTRY' to program 'slmodemd'.

  See output of 'slmodemd --countrylist' for a list of supported
  country names and T.35 country codes (see also 'slmodemd --help').

  Note: Command ATI7 shows currently installed country setting.

8. Uninstallation.

  In package directory just type:

# make uninstall


Getting Started
===============

After successful installation and configuration:

1. Load modem driver.

  Load your modem hardware specific kernel module:

# modprobe slamr

  if you are using AMR/CNR/PCI modem, or

# modprobe slusb

  if you are using SmartUSB56 Modem.

  Note: this will be done automatically when modules were
        configured for 'loading on demand'

  Note: this is safe to load both 'alamr' and 'slusb' modules.

2. Run soft modem application.

      # /usr/sbin/slmodemd [options]

  Where device name is appropriate device node for your modem
  (look at output of 'dmesg' command).
  Run '/usr/sbin/slmodemd --help' for details.

  Examples:

      # /usr/sbin/slmodemd --country=USA /dev/slamr0

  , or for SmartUSB56 Modems:

      # /usr/sbin/slmodemd --country=ITALY /dev/slusb0

3. Using the modem.

  When 'slmodemd' is running this creates PTY (pseudo-terminal) to
  emulate modem port device, also this creates symbolic link
  like '/dev/ttySL0' (shown at startup).

  Config your application to use this link '/dev/ttySL0' (or PTY node
  itself) as modem port.

  Note: Some application want 'to know' that they are working with
        pseudo-terminal and may require additional configurations.

  Known application notes:

  - 'wvdial' requires option 'Carrier Check = no' in config file

  - some versions of 'kppp' may not work properly with devices named
    like '/dev/ttySL0'. To workaround this you may create symbolic link
    '/dev/modem' ( # ln -s /dev/ttySL0 /dev/modem ) and use this link
    as modem device with 'kppp'

  - some pci modem devices are declared as COMMUNICATION_MODEM class and
    might be caught by other standard drivers - you will see "grabbed
    by another driver" warning in dmesg buffer. There is no good way to
    "release" it, but as silly workaround you may use 'ungrab-winmodem'
    pseudo-driver from http://linmodems.technion.ac.il/packages/smartlink.
    Note that you should load it before 'slamr' module.
   

4. Startup automation.

    There are examples of startup scripts in 'scripts' directory.


ALSA mode
=========

ALSA has the built-in modem drivers included in 'alsa-driver' >= 1.0.2
and in Linux kernel >= 2.6.5. Currently there is 'intel8x0m' (snd-intel8x0m)
modem driver, which supports ICH based AC97 modems (MC97).

Recent 'alsa-driver' (>=1.0.8) has also support for NVidia NForce, SiS 630
(snd-intel8x0m), VIA686 (snd-via82xx-modem) and ATI IXP (snd-atiixp-modem)
based modems.

1. Configure your kernel and enable ALSA and ICH based modem support
  ( 'Device Drivers' -> 'Sound' -> 'Advanced Linux Sound Architecture' ->
    'PCI devices' -> 'Intel i8x0/MX440; AMD768/8111 modems' ) .

2. Build and install kernel and modules as usual (make , make modules_install,
  etc.). ICH modem driver modem module name is 'snd-intel8x0m'
  (if was configured as module).

3. Build application 'slmodemd' with ALSA support. For this in
  slmodem-2.9.x dir:

      $ cd modem
      $ make SUPPORT_ALSA=1

  This will build 'slmodemd' with ALSA support. If compilation is failed
  review Makefile (near ALSA_SUPPORT condition) and define right library
  and/or CFLAGS .

Note: For above you need ALSA library and header files installed.

4. Use option '--alsa' when running 'slmodemd' and ALSA conventional
  device name ('hw:0' or 'hw:1' for instance). If modem support in
  the kernel was enabled as module module 'snd-intel8x0m' should be loaded.

Note: Recent version of 'alsa-lib' (>= 1.0.6) has built-in "modem" device
      name support ('modem:0', 'modem:1', etc). It is recommended to use
      those names with modems (mandatory with ATI IXP modems).

Note: When using ALSA modem driver you don't need to load other
      modules ('slamr').


Troubleshooting
===============

If you get an error message during installation/configuration or loading
the modules try to see it in FAQ file.

Please report the problem to your modem provider or to us
(linux-support@smlink.com).


Feedback
========

Please send any feedbacks to Smart Link. See the Smart Link
web site for contact information (www.smlink.com) or to
linux-support@smlink.com.


Perdonami, ma è solo da poco che utilizzo linux, l'altro grosso handicap che ho, è che non capisco praticamente niente di inglese.....purtroppo nella stragrande maggioranza dei casi, le istruzioni sono
infatti in inglese.

grazie
Avatar utente
AleXit
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3110
Iscrizione: giovedì 12 gennaio 2006, 15:32
Località: Firenze // Castel San Niccolò (Ar)
Contatti:

Re: [how-to] modem su hda-intel audio card

Messaggio da AleXit »

Per compilare basta

Codice: Seleziona tutto

make
sudo make install
herculesso77
Prode Principiante
Messaggi: 23
Iscrizione: domenica 4 febbraio 2007, 18:04

Re: [how-to] modem su hda-intel audio card

Messaggio da herculesso77 »

Grazie, provo e ti faccio sapere.
herculesso77
Prode Principiante
Messaggi: 23
Iscrizione: domenica 4 febbraio 2007, 18:04

Re: [how-to] modem su hda-intel audio card

Messaggio da herculesso77 »

Il comando che mi hai suggerito non funge.
Come mi hai fatto notare, dal file modemdata.txt di scanmodem, si evince di scaricare "SLMODEMD.gcc4.1.tar.gz".
Cosa che ho già fatto alcuni giorni fa.
In questo file è presente un "README" con le istruzioni per l'installazione, e cioè questo:

1. Unpack tar.gz package file:

    $ gzip -dc slmodem-2.9.X.tar.gz | tar xf -
   


2. 'cd' to package directory:

    $ cd slmodem-2.9.X
   





Il problema è il punto 3, e cioè questo:

3. Review and edit 'Makefile' (if need):

    In many cases you will need to correct path to your local kernel
    source tree:

        KERNEL_DIR=/path/to/linux

    Default KERNEL_DIR is '/lib/modules//build'. Many Linux
    Distributions use directory '/usr/src/linux-' also.

    Note: If you are using Linux kernel 2.4, only header files should be
          available for build in $(KERNEL_DIR)/include

    Another way to pass right value KERNEL_DIR is to use command line
    parameter while running 'make':

        $ make KERNEL_DIR=/path/to/linux ...


Sarò de coccio ma che significa sto punto 3?
Come devo procedere?
Quali sono i comandi che devo dare?


Per i restanti punti(4-5-6-ecc.)credo di averli capiti e non dovrei aver problemi.


Dopo aver dato i comandi come da punto 1 e punto 2 senza problemi, ho dato il comando che mi hai suggerito e cioè "sudo make install" con esito negativo.

Grazie.
Scrivi risposta

Ritorna a “Connessione e configurazione delle reti”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti