[Précédent (date)] [Suivant (date)] [Précédent (sujet)] [Suivant (sujet)] [Index par date] [Index par sujet]
installation d'un Driver pour un winmodem Lucent sur mon portable.
- To:
- Subject: installation d'un Driver pour un winmodem Lucent sur mon portable.
- From: Francis B. <>
- Date: Sun, 27 May 2001 16:06:46 -0400 (EDT)
Vous allez peut-etre etre écoeuré de m'entendre avec mon histoire de modem, je commance à être un désespéré !!!
Jai un portable TTX (PIII 600mhz), je viens d'installer RH7.1 comme 2e OS sur ma machine. Tout fonctionne à merveille sauf le kalisse de modem(excuser le langage)!!
J'ai lu beaucoup sur les winmodems jai meme trouvé un driver je crois: ltmodem-5.99b.tar
Par contre pas facile à installer un drivers sous linux et surtout lorsque tu ne comprend la philosophie en arrière d'un drivers LINUX. J'ai lu la documentation qui venait avec le driver, et je ne comprend pas!! je dois etre vraiement nul.
j'ai exécuter dans le shell un fichier ./build_module
et la jai un message comme quoi kernel-header nest pas la !!pourtant il est bien installé avec une version 2.4.2-2.
en tout cas voici un exemple de procedure qui venait avec le drivers que jai tenté de suivre sans succès.
J'aimerais avoir de l'aide sur le sujet, et jaimerais aussi pas juste avoir la recette avoir les fondements derrière l'installation dun tel drivers.
Merci
Francis
Initially there will be contained in:
ltmodem-5.95a/
-rw-r--r-- 1 root root 27071 May 1 15:49 1ST-READ
drwxr-xr-x 2 root root 1024 May 1 16:25 DOCs
-rwxr-xr-x 1 root root 2296 Apr 30 10:09 build_deb
-rwxr-xr-x 1 root root 5765 May 1 16:20 build_module
-rwxr-xr-x 1 root root 1083 May 1 02:04 build_rpm
-rw-r--r-- 1 root root 270686 May 1 01:51 source.tar.gz
Here are some examples of outputs.
Not the option to start a "script ltrecord.txt".
===============================================================================
# ./build_module
This is ltmodem-5.95a1 compiler and installer.
To make a record for trouble shooting purposes,
Start again with:
script ltrecord.txt
./build_module
Abort with Ctrl-C to terminate now.
or wait a few seconds
Drivers to be compiled are:
lt_modem.o and lt_serial.o
Checking for necessary supporting software and compile resources.
creating cache ./config.cache
Checking OS
Checking machine type
Scanning PCI bus for modem
WARNING: /sbin/lspci returned error - not checking for modem
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
... in /usr/src/linux: Kernel headers found in /usr/src/linux
... in /usr/src/kernel-headers-2.4.3: nope
... in /usr/src/linux-2.4.3: Kernel headers found in /usr/src/linux-2.4.3
using /usr/src/linux-2.4.3
Checking kernel header version
kernel headers are version 2.4.3
checking for fakeroot... no
+-----------------------------------------------------------------------------+
| WARNING: fakeroot not found - if you want to build the debian package you
|
| will have to be root. Otherwise this won't affect you.
|
+-----------------------------------------------------------------------------+
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoload
creating cleanup
Starting compilation of lt_modem.o and lt_serial.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall -Wstrict-prototypes
-O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE
-DLT_VERSION=5.95a -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o
ltmodem.a ltmodem.c
ld -r -o lt_modem.o ltmodem.a ltmdmobj.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall -Wstrict-prototypes
-O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE
-DLT_VERSION=5.95a -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o
serial-lt-2.4.a serial-lt-2.4.c
serial-lt-2.4.c:5504: warning: egister_ltserial' defined but not used
ld -r -o lt_serial.o serial-lt-2.4.a
Compiling completed, looking for drivers:
-rw-r--r-- 1 root root 417472 May 1 16:20 lt_modem.o
-rw-r--r-- 1 root root 39188 May 1 16:20 lt_serial.o
Checking for modular isa-pnp.o
Modular isa-pnp.o is present, and needed for the dependency test.
Running test:
depmod -e lt_modem.o lt_serial.o
/lib/modules/2.4.3/kernel/drivers/pnp/isa-pnp.o
Test Ended
If an output above includes: *** Unresolved symbols
Please copy the whole output to the List [email protected]
============= ending ./build_module =================
To install the modem drivers and enable their demand loading, run:
./ltinst2
./autoload
If your System was previously on line with a ltmodem driver,
just get on line again.
Everyone should read 1ST-TRY in DOCs sometime.
Should complete removal of the ltmodem installation be desired, run
./ltuninst2
./cleanup
=================================================================================
================================================================================
If the compile was successful, The folder now contains some links
enabling follow up steps:
1ST-READ autoload build_module cleanup lt_serial.o ltuninst2
DOCs build_deb build_rpm lt_modem.o ltinst2 source
source.tar.gz
=============================================================================
=============================================================================
If some resources are not available, there will be complaint messages of
a variety of types. If the right kernel-headers are NOT available,
the output will be truncated with warnigs such as:
===========================================
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
... in /usr/src/linux: Kernel headers found in /usr/src/linux
... in /usr/src/kernel-headers-2.4.3: nope
... in /usr/src/linux-2.4.3: nope
using /usr/src/linux
Checking kernel header version
kernel headers are version 2.2.17
Version of kernel sources (2.2.17) does not match the version
of the running kernel (2.4.3)
ERROR: Version mismatch
If you want to build the module for kernel 2.2.17
please use --with-force=yes. If you want to use the driver
with your currently running kernel, install the kernel
headers for it.
If the correct kernel headers are installed but configure
used the wrong ones, try passing --with-kernel=dir.
Starting compilation of lt_modem.o and lt_serial.o
make: *** No targets specified and no makefile found. Stop.
===============================================================================