PDA

Visualizza la versione completa : Installazione modem su portatile


arco_vr
25-11-2004, 21:39
Ciao a tutti... sto cercando di installare il modem sul mio portatile.. thinkpad r31.. ha un Intel Corp.82801CA/CAM AC'97 Modem che windows vede come Lucent Technologies Soft Modem AMR..
Quindi ho cercato su google e ho trovato http://linmodems.technion.ac.il/packages/smartlink/slmdm-2.7.8.tar.gz.
Mi da' problemi in fase di compilazione e pi precisamente mi da questo:

davide@portatile:~/slmdm-2.7.8$ make
gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/include -DMODVERSIONS --include /usr/include/linux/modversions.h -o amrmo_init.o -c amrmo_init.c
<command line>:138473811:61848: /usr/include/linux/modversions.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from amrmo_init.c:47:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from amrmo_init.c:47:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from amrmo_init.c:47:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from amrmo_init.c:47:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
amrmo_init.c: In function `amr_mod_usage_increase':
amrmo_init.c:229: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:482)
amrmo_init.c: In function `amr_mod_usage_decrease':
amrmo_init.c:233: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:494)
amrmo_init.c: In function `amrmo_probe':
amrmo_init.c:261: error: structure has no member named `name'
amrmo_init.c:312: warning: implicit declaration of function `request_irq'
amrmo_init.c: In function `amrmo_remove':
amrmo_init.c:332: warning: implicit declaration of function `free_irq'
amrmo_init.c: In function `amrmo_init':
amrmo_init.c:366: warning: implicit declaration of function `pci_present'
amrmo_init.c:373: warning: implicit declaration of function `pci_for_each_dev'
amrmo_init.c:373: error: parse error before '{' token
amrmo_init.c: At top level:
amrmo_init.c:383: error: parse error before '}' token
amrmo_init.c:401: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
amrmo_init.c:401: warning: data definition has no type or storage class
make: *** [amrmo_init.o] Error 1

C'e qualcuno che mi sa dare una mano?? GRAZIE!

francofait
25-11-2004, 21:45
Che distribuzione e con quale versione kernel ?
:ciauz: :ciauz: :ciauz:

francofait
25-11-2004, 21:52
con i nuovi kernel-2.6.8-1 e suuccessivi, non c' da installare nulla , basta dare un modprobe ltmodem

arco_vr
25-11-2004, 21:55
ho debian sarge kernel 2.6.8-1..
Dici che semplice?

francofait
25-11-2004, 22:04
Originariamente inviato da arco_vr
ho debian sarge kernel 2.6.8-1..
Dici che semplice?

modprobe ltmodem
nella configurazione di kppp lo ritrovi come ttyLT0 (o qualcosa del genere , ora non mi ricordo .
Comunque da Slackware sul tinkyPad di mio figlio non ho avuto gran problemi . Devi disabilitare come al solito l'opzione attesa del segnale di linea.

arco_vr
26-11-2004, 09:20
ieri sera ho provato a dare il comando: "modprobe ltmodem"
ma mi ha dato questo: "FATAL: Module ltmodem not found"

andy caps
26-11-2004, 13:58
prova a scaricarti il driver per debian

http://www.sfu.ca/~cth/ltmodem/dists/debian/8.31a8/ltmodem-2.6.8-1-686_8.31a8_i386.deb

http://www.sfu.ca/~cth/ltmodem/dists/debian/8.31a8/
qui ci sono i pacchetti precompilati

per installare il driver da sorgenti devi avere installato il sorgente del kernel

Dario89
26-11-2004, 16:20
non che quei driver sono per i kernel 2.4.*?

leggi qui (http://forum.html.it/forum/showthread.php?s=&threadid=747444&highlight=%2Fdev%2Fslamr0)

e scarica questi (http://www.smlink.com/main/item.php?ln=en&item_id=84&main_id=32)

andy caps
26-11-2004, 16:48
lo smartlink non ltmodem
hanno due chipset diversi

http://www.sfu.ca/~cth/ltmodem/dists/debian/8.31a8/

questi sono proprio per debian ed il kernel 2.6.8.1

francofait
26-11-2004, 16:48
Originariamente inviato da Dario89
non che quei driver sono per i kernel 2.4.*?

leggi qui (http://forum.html.it/forum/showthread.php?s=&threadid=747444&highlight=%2Fdev%2Fslamr0)

e scarica questi (http://www.smlink.com/main/item.php?ln=en&item_id=84&main_id=32)

Questi non sono x ltmodem -
scaricati il kernel-2.6.8.1 della kanotix , i driver x slaamr e lucent amr sono gi inclusi

Loading