Lucent/Agere DSP chip modems (but Not the AMR modems) are supported by the the resources of this kit. Agere Systems, Inc. provides the proprietary code, particularly including DSP (digital signal processing) to volunteer Maintainers managing several enhancements. Mark Spieth initiated the ltmodem compiler kit series. Chris Hebeisen introduced the Configure implementation, bringing Newbie friendliness. Marv Stodolsky is culpable for the verbose messaging. Within DOCs/, see CREDITS and Ltmodem.html for details on the contributions of many others. Volunteers have assembled the ltmodem-version.deb and ltmodem-version.rpm Installers for the Linux community utiliizing the resources of this compiler kit series. For Linux Newbie advice: 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. Those available as of this 6.00c2 release are listed in DOCs/Installers/, and any compatible with your System requirements will be later listed. They are available for download as ltmodem-version.rpm and ltmodem-version.deb Installers from http://www.heby.de/ltmodem/ Some additions may have since been deposited at http://www.heby.de/ltmodem/ since this 6.00c2 release. Do check carefully therein for updates if necessary. The compiling process is a learning experience for Newbies. We strongly recommend that you DO learn it sometime. But getting on 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 6.00c2 of the compiler + installer kit The first numeric digits of 6.00c2, such as 6.00 is the version number of the core Agere driver code. Kernel versions supported are the 2.2.nn beginning with 2.2.2, the current 2.4.nn series, and there is experimental support for the emerging 2.5.nn kernels. The next version section, such as c1, reflects NO improvement in DSP code, Rather peripheral driver, added diagnostics and installer improvemnents are reflected. They are progressively implemented as Users report problems or the Linux kernel evolves. If your PC is being well served with this 6.00c2, there is NO Benefit in using a more recent version until there is an update in the Agere driver code, say 6.00 to 6.25. 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 in the standard /usr/src/ position. Otherwise a symbolic link will be necessary: ln -s PATH_TO/kernel-headers/ /usr/src/linux Read DOCs/Compile-properly.txt and 1ST-READ if an explanation is needed about kernel-headers. To compile modules for a kernel other version than 2.4.7-10, use syntax such as: ./build_module 2.2.17 where the kernel headers folder is /usr/src/kernel-headers-2.2.17/ or ln -s PATH_TO/kernel-headers-2.2.17 /usr/src/linux If desirable to make a record for trouble shooting purposes, Abort with Ctrl-C. First start a recording script with: script ltrecord.txt Then again the command: ./build_module To continue: Enter ==================================================================== Diagnostic information is progressively being written to BLDrecord.txt . Often, contents of BLDrecord.txt will aid in solving a problem. Now acquiring distribution data: The Linux distribution is: redhat, Red Hat Linux release 7.2 (Enigma) End of distribution check. To start a scan for supported PCI Lucent chipset modems: Enter ==================================================================== The ltmodem drivers will FAIL to support currently known winmodems with chipsets produced by: Conexant, Motorola, 3COM/US Robotics, IBM, PCTel and Intel. The Lucent AMR Soft modem is NOT supported. The Lucent Venus modems have a Controller supported by the serial.o driver, rather than DSP supporting driver pair, lt_modem.o and lt_serial.o , of this compiler kit. Among Xircom modems some are supported, and these will be reported out during this test. There are supported ISA and PCMCIA card modems, but these types are NOT accessed by this scan. ... using /sbin/lspci Modem found: 11c1:045c MODEM_ID is 11c1:045c The id are within the serviced ranges: ----------------------------------------------- LUCENT 0x11c1 0x0440-0x045c XIRCOM 0x115d 0x0000-0x000F XIRCOM 0x115d 0x0440-0x045c XIRCOM 0x115d 0x0010-0x03ff ----------------------------------------------- No obvious modem Communication device found. The only alternative candidates are part of audio devices. AUDIO= Copying this detailed information to BLDrecord.txt ---------------------------------------------- 00:09.1 Serial controller: Lucent Microelectronics: Unknown device 045c (prog-if 00 [8250]) Subsystem: Intel Corporation: Unknown device 2201 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- ../BLDrecord.txt The modem drivers will be compiled for the current kernel version: 2.4.7-10 To start resource tests: Enter Performing a configure trial and capturing the report to ../conf-report.txt. Parsing the report: No evident problems. creating cache ./config.cache Checking OS Checking machine type 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: nope ... in /usr/src/kernel-headers-2.4.7-10: nope ... in /usr/src/linux-2.4.7: nope ... in /usr/src/linux-2.4.7-10: Kernel headers found in /usr/src/linux-2.4.7-10 using /usr/src/linux-2.4.7-10 Checking kernel header version kernel headers are version 2.4.7-10 Checking for SMP support SMP support in kernel source configuration: no RPM will require kernel = 2.4.7-10 checking for fakeroot... no +-----------------------------------------------------------------------------+ | will have to be root. Otherwise this won't affect you. | +-----------------------------------------------------------------------------+ updating cache ./config.cache creating ./config.status creating Makefile creating autoload.links creating autoload.entries creating cleanup.links creating cleanup.entries creating ltmodem.spec ls: /usr/src/linux: そのようなファイルやディレクトリはありません The check for compilation tools and general resources was successful. The Makefile and down steam installation scripts have been created. Next checking for the the needed header file: modversions.h HEADERS_IN=/usr/src/linux-2.4.7-10 Found: modversions.h 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 2.96 Gnu make 3.79.1 3.77 3.79.1 binutils 2.8.1.0.23 2.9.1.0.25 2.11.90.0.8 ------------------------------------------------------------------- To begin compilation of lt_modem.o and lt_serial.o, Enter gcc -D__KERNEL__ -I/usr/src/linux-2.4.7-10/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=6.00c2 -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.7-10/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=6.00c2 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -c -o serial-lt-2.4.a serial-lt-2.4.c ld -r -o lt_serial.o serial-lt-2.4.a cat autoload.links autoload.entries > autoload chmod 755 autoload cat cleanup.links cleanup.entries > cleanup chmod 755 cleanup Checking for driver products: -rw-r--r-- 1 root root 416149 4月 29 13:18 lt_modem.o -rw-r--r-- 1 root root 28912 4月 29 13:18 lt_serial.o ================================================= Enter, to begin modules dependencies test.Using /sbin/depmod Running: /sbin/depmod -e lt_modem.o The test succeeded. Running: /sbin/depmod -e lt_modem.o lt_serial.o The test succeeded. There are occassionally failures in the more global test: depmod -a executed after the drivers are installed, reflecting a lack of exact Flavor matching of the kernel-headers and kernel-2.4.7-10 Thus far this problem has only been encountered for Red Hat Linux =========================================================================== Enter, to finish ./build_module Copying newly compiled drivers to folder ../drivers-2.4.7-10 as a backup, as the source/ folder will be deleted during next run of: build_module 合計 444 -rw-r--r-- 1 root root 416149 4月 29 13:18 lt_modem.o -rw-r--r-- 1 root root 28912 4月 29 13:18 lt_serial.o Making symbolic links: lt_modem.o lt_serial.o autoload ltinst2 ltuninst2 A diagnostic record has been saved to BLDrecord.txt To install the modem drivers in the Search Path for modules, run: ./ltinst2 This command does require Root permission. For advanced User alternatives to this installation route, read DOCs/Options.txt