Здравствуйте!
У меня ubuntu6.06х64 и внутренний модем Agere Systems LT Win Modem v02
Прочёл фак
http://web.opennet.ru/base/modem/lucent_win_modex.txt.html и делаю как там описано.
Вот лог консоли:
alex@ubuntu:~$ cd /home/alex/ltmodem-8.31a10
alex@ubuntu:~/ltmodem-8.31a10$ sudo ./build_module
Password:
Lucent/Agere_Systems(AS) DSP chip modems (but Not the AMR or soft PCI chipsets)
are supported by the the resources of this kit.
AS maintainer S. Sarkar develops the code on a Red Hat Linux test bed.
The lt_serial.o Serial Interface module comes under GPL and is Open Source.
The lt_modem.o code is entirely proprietary, though partially Open Source.
Adaptation to ongoing changes in Linux source code is enabled by the Open Sourc e components.
Critical AS proprietary information is pre-complied in ltmdmobj.o,
whose constituents are functionally not affected by minor Linux source code cha nges.
Volunteer maintainers periodically receive code updates from AS.
Through the contributions of Many described in CREDITS, there are
enhancements in utility, ease of installation and documentation.
Mark Spieth initiated this ltmodem compiler kit series.
Chris Hebeisen introduced the Configure implementation, bringing Newbie friendl iness.
Marv Stodolsky is culpable for the verbose messaging.
Within DOCs/, Ltmodem.html has URLs to many particular usage cases.
Volunteers assemble the ltmodem-version.deb and
ltmodem-version.rpm Installers for the User Community as Linux source code evol ves
utiliizing the resources of this compiler kit series.
If new to compiling, read the ModemCompiling.txt which is being output, to guid e
proper set up your kernel-sources. The kernel-source package as installed does
NOT in general match an installed kernel, but one of several alternative kernel s.
Thus with a niave usage, all could be completed well technically.
BUT the installed drivers might not be compatible with your kernel,
of even reside in the needed /lib/modules/Kernel_Version/ tree.
To continue, Enter
This compilation process is likely Not necessary to work through,
if the only need is modem drivers matching the standard kernel of the
following Linux distributions: Debian, Red Hat, Mandrake, SuSE and Connectiva
Volunteers have already compiled most standard drivers. For more current releas es,
those available compatible with your System requirements will be later listed.
They are available for download as ltmodem-version.rpm and
ltmodem-version.deb Installers from a repository, http://ltmodem.heby.de
If your System can use one of these Installers, you will be informed below.
Many installers for older kernels are available at:
http://linmodems.technion.ac.il/packages.html
The compiling process is a learning experience for Newbies.
We strongly recommend that you DO learn it sometime.
But getting on the Internet under Linux should have first priority.
This kit provides several diagnostics aids and good documentation.
Continuing will do no harm. Useful diagnostic information
on your system will be written to BLDrecord.txt,
with direction to documentation if a failure occurs.
At a minimum, Do keep the DOCs/ and utils/ folders and become familiar
with the resources therein.
To continue: Enter
=================================================================
This is the version 8.31a10 of the compiler + installer kit
8.31 corresponds to the version of the core Agere Systems DSP code.
a10 designation that follows reflects NO improvement in DSP code.
Rather peripheral driver, added diagnostics and installer improvements
are reflected. They are progressively implemented as Users report problems
or the Linux kernel evolves.
The modem drivers will serve with Linux kernels beginning with 2.2.2, the curre nt
2.4.nn series, and the 2.5.nn development kernels.
However support was broken in the early 2.4.n-test series.
When there is a Red Hat 2.6.nn release, AS will then update the code
If your PC is being well served with this 8.31a10,
there is NO Benefit in using a more recent version
until there is an update in the Agere driver code, say 8.26 to 9.00.
But if the driver installation for a new kernel should in some way fail,
please do download the most recent ltmodem-VER.tar.gz
before sending a query to discuss@linmodems.org,
because the problem may already be solved.
This build_module script only compiles drivers,
with their installation managed by subsequent commands.
Thus ./build_module can be rerun for education or amusement,
without as yet committing changes to your System.
For general instructions: Enter
=================================================================
All should work automatically for most Linux installations/distributions,
IF a complete kernel-headers/ folder is available:
through a symbolic link: /lib/modules/KernelVersion/build --> PATH_to/ker nel-headers/
at the classical /usr/src/ position.
Otherwise a symbolic link will be necessary:
ln -s PATH_to/kernel-headers/ /usr/src/linux
Read ModemDriverCompiling.txt if an explanation is needed about kernel-headers.
To compile modules for a kernel other version than 2.6.15-20-amd64-generic, suc h as version 2.2.17-3test, use syntax:
./build_module 2.2.17-3test
where the version.h in the kernel-headers/ folder has 2.2.17-3test
If desirable to make a record for trouble shooting purposes,
Abort with Ctrl-C. Then the process can be recorded to ltrecord.txt :
./build_module | tee ltrecord.txt
To continue: Enter
====================================================================
Diagnostic information is progressively being written to BLDrecord.txt .
Often, contents of BLDrecord.txt will aid in solving a problem.
The Linux distribution is: debian, testing/unstable
End of distribution check.
UPDATE=2004_Nov_26
TMPM=0tmpfile
Providing detail for device at PCI_bus 0000:00:0c.0
with vendor-ID:device-ID
----:----
Class 0780: 11c1:044c Communication controller: Agere Systems LT WinModem (rev 02)
SubSystem 11c1:044c Agere Systems LT WinModem
0000:00:0c.0 0780: 11c1:044c (rev 02)
Flags: bus master, medium devsel, latency 32, IRQ 3
Memory at dd000000 (32-bit, non-prefetchable) [size=256]
I/O ports at b000 [size=8]
-----PCI_IDs------- --CompilerVer-
Feature List: Primary Subsystem Distr KernelVer kernel default CPU
./scanModem test 11c1:044c 11c1:044c debian 2.6.15-20-amd64-generic 4.0.3 4.0.3 x86_64
IDENT=AGERE
PCIDEV=11c1:044c
Vendor=11c1
The modem has a supported Lucent/Agere DSP (digital signal processing) chipset
with primary PCI_ID: 11c1:044c
DSP=1
grep: /etc/modprobe.conf: No such file or directory
grep: /etc/modprobe.conf: No such file or directory
To continue: Enter
==================================================
Checking for any preliminary complications.
Your current kernel has Symmetric Multi Processors enabled.
Beginning with ltmodem version 8.30a, the modem drivers should be SMP competent.
To continue: Enter
==================================================
OK thus far.
To begin acquisition of compiling information: Enter
Setting BLDrecord.txt link within source/ folder.
lrwxrwxrwx 1 root root 16 2006-05-08 10:19 BLDrecord.txt -> ../BLDrecord.txt
Setting ./tmpfile link within source/ folder.
lrwxrwxrwx 1 root root 12 2006-05-08 10:19 ./tmpfile -> .././tmpfile
Following a successful check for matching kernel-headers,
the modem drivers will be compiled for the current kernel version: 2.6.15-20-amd64-generic
To start resource tests: Enter
Performing a configure trial and capturing the report to ../conf-report.txt.
Parsing the report:
No evident problems.
The check for compilation tools and general resources was successful.
Within DOCs/ there is an annotated conf-report.txt
The Makefile and down steam installation scripts have been created.
To continue:
Enter
Next checking utilty versions,
Version_min
Utility or range for kernels
name 2.2.16 2.4.18 Actual_version
-------------------------------------------------------------------
Gnu C 2.7.2.3 2.95.3-2.9.99 4.0.3
Gnu make 3.77 3.79.1
binutils 2.8.1.0.23 2.9.1.0.25 2.16.91
-------------------------------------------------------------------
The gcc compiler resources available are:
----------------------------
lrwxrwxrwx 1 root root 7 2006-05-08 09:36 /usr/bin/gcc -> gcc-4.0
-rwxr-xr-x 1 root root 104520 2006-04-08 09:17 /usr/bin/gcc-4.0
lrwxrwxrwx 1 root root 10 2006-05-08 09:36 /usr/bin/gccbug -> gccbug-4.0
-rwxr-xr-x 1 root root 16232 2006-04-08 09:14 /usr/bin/gccbug-4.0
----------------------------
with your System currently using version 4.0.3
Do NOT mix the major versions of compilers for the kernel and modem drivers
or your System will crash! The following releases are using gcc version 3.2.x :
Mandrake 9, Redhat 8 and SuSE 8.1 in November 2002.
To continue:
Enter
To begin compilation of lt_modem.o and lt_serial.o, Enter
To avoid faulting Systems with an Enviromental setting: make -e
make
is the compiling command used with build_module.
To modify "make" invocation on your System, if desirable,
edit the build_module line below: MAKEE
/home/alex/ltmodem-8.31a10/source/ltmodem.c:33:5: warning: "FORCEMODVERSIONS" is not defined
/home/alex/ltmodem-8.31a10/source/ltmodem.c:43:5: warning: "FORCEMODVERSIONS" is not defined
/home/alex/ltmodem-8.31a10/source/ltmodem.c: In function вЂlt_pci_find_device’:
/home/alex/ltmodem-8.31a10/source/ltmodem.c:261: error: вЂPCI_DEVICE_ID_ATT_L56XMF’ undeclared (first use in this function)
/home/alex/ltmodem-8.31a10/source/ltmodem.c:261: error: (Each undeclared identifier is reported only once
/home/alex/ltmodem-8.31a10/source/ltmodem.c:261: error: for each function it appears in.)
/home/alex/ltmodem-8.31a10/source/ltmodem.c: In function вЂSetLtModemInterface’:
/home/alex/ltmodem-8.31a10/source/ltmodem.c:684: warning: implicit declaration of function вЂinter_module_get’
/home/alex/ltmodem-8.31a10/source/ltmodem.c:684: warning: cast to pointer from integer of different size
/home/alex/ltmodem-8.31a10/source/ltmodem.c:691: warning: вЂinter_module_put’ is deprecated (declared at include/linux/module.h:575)
/home/alex/ltmodem-8.31a10/source/ltmodem.c: In function вЂinit_module’:
/home/alex/ltmodem-8.31a10/source/ltmodem.c:714: warning: вЂinter_module_register’ is deprecated (declared at include/linux/module.h:571)
/home/alex/ltmodem-8.31a10/source/ltmodem.c:715: warning: вЂinter_module_register’ is deprecated (declared at include/linux/module.h:571)
/home/alex/ltmodem-8.31a10/source/ltmodem.c: In function вЂcleanup_module’:
/home/alex/ltmodem-8.31a10/source/ltmodem.c:723: warning: вЂinter_module_unregister’ is deprecated (declared at include/linux/module.h:572)
/home/alex/ltmodem-8.31a10/source/ltmodem.c:724: warning: вЂinter_module_unregister’ is deprecated (declared at include/linux/module.h:572)
make[2]: *** [/home/alex/ltmodem-8.31a10/source/ltmodem.o] ERROR 1
make[1]: *** [_module_/home/alex/ltmodem-8.31a10/source] ERROR 2
make: *** [all] ERROR 2
make M=`pwd` -C /lib/modules/2.6.15-20-amd64-generic/build modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-20-amd64-generic'
CC [M] /home/alex/ltmodem-8.31a10/source/ltmodem.o
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-20-amd64-generic'
Checking for driver products:
Compilation of lt_modem.ko failed,
Do assess whether your utilities are up to date as listed within 1ST-READ!
Read Compile_properly.txt from DOCs/.
If you cannot solve the problem, send BLDrecord.txt to: discuss@linmodems.org
Ничего не выходит. Помогите разобраца пожалуйста.
========
А пакет из этих никакой не подойдёт?
http://www.sfu.ca/~cth/ltmodem/dists/debian/http://www.physcip.uni-stuttgart.de/heby/ltmodem/dists/debian/