Pagina 1 di 1

riconoscimento modem

Inviato: domenica 5 luglio 2009, 14:39
da anlagi
Ciao,
sto cercando di far riconoscere a Ubuntu  il modem interno 56k.
Vi posto il file modemdata generato da scammodem:

Codice: Seleziona tutto

 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.28-11-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.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
 scanModem update of:  2009_07_02

The dialer utility package WVDIAL does not appear to be installed on your System. 
Please read Modem/DOCs/wvdial.txt

 There are no blacklisted modem drivers in /etc/modprobe*  files 
 Potentially useful modem drivers now loaded are:
                

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 00:09.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:09.0	11c1:044a	144f:1029	Communication controller: Agere Systems F-1156IV WinModem 

 Modem interrupt assignment and sharing: 
 15:      58261    XT-PIC-XT        pata_via
 --- Bootup diagnostics for card in PCI slot 00:09.0 ----
[    1.507053] pci 0000:00:09.0: reg 10 32bit mmio: [0xdf000000-0xdf0000ff]
[    1.507064] pci 0000:00:09.0: reg 14 io port: [0xd400-0xd407]
[    1.507076] pci 0000:00:09.0: reg 18 io port: [0xd800-0xd8ff]
[    1.507108] pci 0000:00:09.0: supports D2
[    1.507115] pci 0000:00:09.0: PME# supported from D2 D3hot D3cold
[    1.507124] pci 0000:00:09.0: PME# disabled

 The PCI slot 00:09.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.
 

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

Predictive  diagnostics for card in bus 00:09.0:
	Modem chipset  detected on
NAME="Communication controller: Agere Systems F-1156IV WinModem "
CLASS=0780
PCIDEV=11c1:044a
SUBSYS=144f:1029
IRQ=5
IDENT=Agere.DSP

 For candidate modem in:  00:09.0
   0780 Communication controller: Agere Systems F-1156IV WinModem 
      Primary device ID:  11c1:044a
 Support type needed or chipset:	Agere.DSP
 


 The modem has a Lucent/Agere/LSI Mars or Apollo DSP (digital signal processing) chipset. 
Support packages for 2.6.n kernels are at:
 http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/ 
Always use the most update for kernels after 2.6.20, currently martian-full-20080625.tar.gz
For kernels 2.6.20 and less, usr martian-full-20080407.tar.gz.

 See DOCs/AgereDSP.txt for Details.

 At http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/ get the martian-full-20080625.tar.gz and follow Readme-NOW.html
 0x044a -- Mars 2 Global Board - data/fax/tam only
-------------- end Agere Systems 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.3
             and the compiler used in kernel assembly: 4.3.3

 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.28-11-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 pppd properties:
	-rwsr-xr-- 1 root dip 277352 2009-02-20 18:25 /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


 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.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf: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 --------

qualcuno mi può  aiutare?

Grazie
Anlagi

Re: riconoscimento modem

Inviato: domenica 5 luglio 2009, 19:31
da steff
Scarica http://linmodems.technion.ac.il/package ... 625.tar.gz

Scompattalo con il tasto destro nella tua home (non sulla Scrivania) poi apri un terminale e dai:

Codice: Seleziona tutto

make all
sudo make install
sudo modprobe martian_dev
sudo martian_modem
Forse ci vogliono opzioni per l'ultimo comando, se non va posta

Codice: Seleziona tutto

martian_modem --help
Hai Jaunty? Ho paura che non è più installato wvdial, così si complicano le cose... prova in un altro terminale senza chiudere il primo:

Codice: Seleziona tutto

sudo wvdialconf

Re: riconoscimento modem

Inviato: lunedì 6 luglio 2009, 8:50
da anlagi
ho installato ubuntu 9.04.
provo con i tuoi consigli e qs sera ti faccio sapere. (devo collegarmi dal lavoro finquando non ho ripristinato la connessione)
bye

Re: riconoscimento modem

Inviato: martedì 7 luglio 2009, 9:37
da anlagi
ho scaricato e estratto il programma

quando digito

Codice: Seleziona tutto

make all
ottengo la seguente stringa

Codice: Seleziona tutto

make: *** No rule to make target 'all'. Stop
devo preoccuparmi?

Re: riconoscimento modem

Inviato: martedì 7 luglio 2009, 10:17
da steff
sei nella cartella superiore ancora (home/utente), mi sono scordata di scrivere il comando che dev dare prima

Codice: Seleziona tutto

cd  martian-full-20080625
puoi premere TAB dopo le prime lettere "cd marti...

Importante è che l'hai estratto nella home

Re: riconoscimento modem

Inviato: martedì 7 luglio 2009, 22:20
da anlagi
ecco il risultato della prima procedura:

Codice: Seleziona tutto

andrea@andrea:~$ cd martian-full-20080625
andrea@andrea:~/martian-full-20080625$ make all
make -C kmodule/ modules
make[1]: Entering directory `/home/andrea/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.28-11-generic/build M="/home/andrea/martian-full-20080625/kmodule"  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /home/andrea/martian-full-20080625/kmodule/martian.o
/home/andrea/martian-full-20080625/kmodule/martian.c: In function ‘martian_isr’:
/home/andrea/martian-full-20080625/kmodule/martian.c:131: warning: value computed is not used
  CC [M]  /home/andrea/martian-full-20080625/kmodule/marsio.o
/home/andrea/martian-full-20080625/kmodule/marsio.c:359: warning: ‘mars_read_register_rem’ defined but not used
/home/andrea/martian-full-20080625/kmodule/marsio.c:372: warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/andrea/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/andrea/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/andrea/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/andrea/martian-full-20080625/kmodule/martian_dev.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make[1]: Leaving directory `/home/andrea/martian-full-20080625/kmodule'
make -C modem/ all
make[1]: Entering directory `/home/andrea/martian-full-20080625/modem'
    CC	main.o
    CC	dumpers.o
    CC	log.o
    CC	session.o
    CC	mport.o
    CC	pty.o
    CC	sysdep.o
    CC	isr.o
    CC	smp.o
    CC	core_if.o
    CC	coresubst.o
    CC	link.o
    CC	tweakrelocsdynamic.o
    CC	coreadd.o
    CC	elf386tweakrelocs
    LD	marscore.o
    TWEAK	marscore.o
    LD	martian_modem
make[1]: Leaving directory `/home/andrea/martian-full-20080625/modem'
andrea@andrea:~/martian-full-20080625$ sudo make install
[sudo] password for andrea: 
make -C kmodule/ install
make[1]: Entering directory `/home/andrea/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.28-11-generic/build M="/home/andrea/martian-full-20080625/kmodule" modules_install
make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  INSTALL /home/andrea/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.28-11-generic
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make[1]: Leaving directory `/home/andrea/martian-full-20080625/kmodule'
make -C modem/ install
make[1]: Entering directory `/home/andrea/martian-full-20080625/modem'
    LD	martian_modem.debug
    STRIP	martian_modem.debug
    STRIP	martian_modem.stripped
    INSTALL	/usr/sbin/martian_modem
    INSTALL	/usr/lib/debug/usr/sbin/martian_modem.debug
make[1]: Leaving directory `/home/andrea/martian-full-20080625/modem'
andrea@andrea:~/martian-full-20080625$ sudo modprobe martian_dev
andrea@andrea:~/martian-full-20080625$ sudo martian_modem
martian: info: Your port is /dev/ttySM0
martian_modem --help

^Cmartian: info: Bye.
andrea@andrea:~/martian-full-20080625$ martian_modem --help
Usage: martian_modem [Options] [TTY]
Options:
   --daemon           	Run as daemon
   --log=FILE         	Log to FILE
   --syslog           	Use syslog for logging
   --realtime         	Raise priority of threads to realtime
   --smp              	True smp mode
   --user=<name>      	Give tty ownership to user <name>
   --group=<name>     	Change tty group to <name>
   --country=<country>
   --no-cdclose       	Keep working with client when carrier lost.
   --hide-pty         	Save pty from others as soon its open. Client should notify he's here writing to device. For callback feature.
   --debug=LEVEL      	Enable debugging. LEVEL = 1..5
   --info countries   	Print support info
   --help, --usage    	Print this message 
TTY is the file name to access the modem, /dev/ttySM0 by default
andrea@andrea:~/martian-full-20080625$ 
ecco la verifica del wvdialconfig:

Codice: Seleziona tutto

andrea@andrea:~$ sudo wvdialconf
[sudo] password for andrea: 
sudo: wvdialconf: command not found
andrea@andrea:~$ 
help me!

Re: riconoscimento modem

Inviato: martedì 7 luglio 2009, 22:54
da steff
Il driver sembra a posto. Da terminale:

Codice: Seleziona tutto

sudo apt-get install wvdial
dici sì e ti elenca una serie di url di pacchetti che non riesce di scaricare. Copiali  e scarica questi file .deb con un altro sistema, poi dovrebbe bastare un doppio click per installare i pacchetti (devi provare un po' la giusta ordine, wvdial alla fine.

Altra opzione:

Codice: Seleziona tutto

sudo pppoeconf
ma non sono pratico con quella configurazione. pon per connettere

Re: riconoscimento modem

Inviato: mercoledì 8 luglio 2009, 8:32
da anlagi
gli url non compaiono. ecco il msg:

Codice: Seleziona tutto

andrea@andrea:~$ sudo apt-get install wvdial
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Lettura informazioni sullo stato... Fatto        
Il pacchetto wvdial non ha versioni disponibili, ma è nominato da un altro
pacchetto. Questo significa che il pacchetto manca, è diventato obsoleto
o è disponibile solo all'interno di un'altra sorgente
E: Il pacchetto wvdial non ha candidati da installare
andrea@andrea:~$ 
>:(

Re: riconoscimento modem

Inviato: mercoledì 8 luglio 2009, 9:06
da steff
prova lo stesso con gnome-ppp che dovrebbe andare
(non hanno fatto un buon lavoro di escluderlo dal cd...)

Re: riconoscimento modem

Inviato: venerdì 10 luglio 2009, 8:21
da anlagi
ho riprovato:

Codice: Seleziona tutto

andrea@andrea:~$ cd martian-full-20080625
andrea@andrea:~/martian-full-20080625$ make all
make -C kmodule/ modules
make[1]: Entering directory `/home/andrea/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.28-11-generic/build M="/home/andrea/martian-full-20080625/kmodule"  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make[1]: Leaving directory `/home/andrea/martian-full-20080625/kmodule'
make -C modem/ all
make[1]: Entering directory `/home/andrea/martian-full-20080625/modem'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/andrea/martian-full-20080625/modem'
andrea@andrea:~/martian-full-20080625$ sudo make install
[sudo] password for andrea: 
make -C kmodule/ install
make[1]: Entering directory `/home/andrea/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.28-11-generic/build M="/home/andrea/martian-full-20080625/kmodule" modules_install
make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  INSTALL /home/andrea/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.28-11-generic
make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make[1]: Leaving directory `/home/andrea/martian-full-20080625/kmodule'
make -C modem/ install
make[1]: Entering directory `/home/andrea/martian-full-20080625/modem'
    INSTALL	/usr/sbin/martian_modem
    INSTALL	/usr/lib/debug/usr/sbin/martian_modem.debug
make[1]: Leaving directory `/home/andrea/martian-full-20080625/modem'
andrea@andrea:~/martian-full-20080625$ sudo modprobe martian_dev
andrea@andrea:~/martian-full-20080625$ sudo martian_modem
martian: info: Your port is /dev/ttySM0

Codice: Seleziona tutto

andrea@andrea:~$ martian_modem --help
Usage: martian_modem [Options] [TTY]
Options:
   --daemon           	Run as daemon
   --log=FILE         	Log to FILE
   --syslog           	Use syslog for logging
   --realtime         	Raise priority of threads to realtime
   --smp              	True smp mode
   --user=<name>      	Give tty ownership to user <name>
   --group=<name>     	Change tty group to <name>
   --country=<country>
   --no-cdclose       	Keep working with client when carrier lost.
   --hide-pty         	Save pty from others as soon its open. Client should notify he's here writing to device. For callback feature.
   --debug=LEVEL      	Enable debugging. LEVEL = 1..5
   --info countries   	Print support info
   --help, --usage    	Print this message 
TTY is the file name to access the modem, /dev/ttySM0 by default
ma anche con gnome non succede nulla:

Codice: Seleziona tutto

andrea@andrea:~$ sudo apt-get install gnome-ppp
[sudo] password for andrea: 
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Lettura informazioni sullo stato... Fatto        
E: Impossibile trovare gnome-ppp

devo scaricarlo?

grazie

Re: riconoscimento modem

Inviato: venerdì 10 luglio 2009, 8:34
da steff
Probabilmente perché la lista non è aggiornato... come dicevo, pessima scelta.
Scarica wvdial da qui (clicca la tua versione i386 o amd)
http://packages.ubuntu.com/jaunty/wvdial

Più 4 delle 7 dipendenze elencate, credo i primi due e l'ultima hai installato già.