Get the source from here and extract them to /usr/src :
Run make module to build the agrmodem.ko dan agrserial.ko :
[root@localhost agrsm-2.1.80-4klixs2010]# make module
make -C /lib/modules/`uname -r`/build/ SUBDIRS=/usr/src/agrsm-2.1.80-4klixs2010 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.31.jf5′
CC [M] /usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.o
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c: In function ‘x_task_queue_init’:
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:458: warning: assignment from incompatible pointer type
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c: In function ‘x_task_queue_init_usb’:
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:469: warning: assignment from incompatible pointer type
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c: At top level:
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:496: warning: function declaration isn’t a prototype
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:522: warning: function declaration isn’t a prototype
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:532: warning: function declaration isn’t a prototype
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:539: warning: function declaration isn’t a prototype
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:135: warning: ‘uss_driver’ defined but not used
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c: In function ‘x_linux_dbg_print_crit’:
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:364: warning: the frame size of 1536 bytes is larger than 1024 bytes
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c: In function ‘x_linux_dbg_print’:
/usr/src/agrsm-2.1.80-4klixs2010/agrsoftmodem.c:352: warning: the frame size of 1536 bytes is larger than 1024 bytes
CC [M] /usr/src/agrsm-2.1.80-4klixs2010/HDA.o
CC [M] /usr/src/agrsm-2.1.80-4klixs2010/serial26.o
LD [M] /usr/src/agrsm-2.1.80-4klixs2010/agrmodem.o
LD [M] /usr/src/agrsm-2.1.80-4klixs2010/agrserial.o
Building modules, stage 2.
MODPOST 2 modules
CC /usr/src/agrsm-2.1.80-4klixs2010/agrmodem.mod.o
LD [M] /usr/src/agrsm-2.1.80-4klixs2010/agrmodem.ko
CC /usr/src/agrsm-2.1.80-4klixs2010/agrserial.mod.o
LD [M] /usr/src/agrsm-2.1.80-4klixs2010/agrserial.ko
make[1]: Leaving directory `/usr/src/linux-2.6.27.31.jf5′
[root@localhost agrsm-2.1.80-4klixs2010]#
The build module agrmodem.ko and agrserial.ko can be inserted manually unto system with insmod, or you can let make install do their stuff :
[root@localhost agrsm-2.1.80-4klixs2010]# make install
./agrinst
Installing Agere Softmodem driver version 2.1.80-Red Flag NE 5.0
copying agrmodem.ko and agrserial.ko to /lib/modules/2.6.27.31.jf5/kernel/drivers/char
Copying installation components to /usr/lib/AgereSoftModem
Usage of Agere Softmodem driver is subject to acceptance of EULA as stated in /usr/lib/AgereSoftModem/LICENSEAgere Systems Soft Modem End User SOFTWARE LICENSE AGREEMENT
YOU SHOULD READ THE TERMS AND CONDITIONS OF THIS AGREEMENT BEFORE YOU DOWNLOAD AND USE THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE. ONCE YOU HAVE READ THIS LICENSE AGREEMENT AND AGREE TO ITS TERMS, YOU MAY DOWNLOAD AND USE THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE. DOWNLOADING OR USING THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE SHOWS YOUR ACCEPTANCE OF THE TERMS OF THIS LICENSE AGREEMENT.
The terms and conditions of this Agreement will apply to the Agere Systems Soft Modem Software (hereafter “Software”) supplied under this Agreement and any derivatives obtained therefrom, including any copy. The term Software includes programs and related documentation supplied herewith.
The following file is made available under the standard Linux license, a copy of which may be found at <http://www.linux.org/info/gnu.html>.
serial26.cThese additional files are not derived from any Linux open source content, and are subject to the following restrictions.
agrsoftmodem.c
agrmodem.h
linuxif.h
agrmodemlib.o
Makefile
agrinst
agruninst
agr_auxinst
agr_softmodem
README1.0 TITLE AND LICENSE GRANT
…….
YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT AND UNDERSTAND IT, AND THAT BY DOWNLOADING OR USING THE SOFTWARE, YOU AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS. YOU FURTHER AGREE THAT THIS AGREEMENT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE RIGHTS AND LIABILITIES OF THE PARTIES. THIS AGREEMENT SUPERCEDES ALL PRIOR ORAL AGREEMENTS, PROPOSALS OR UNDERSTANDINGS, AND ANY OTHER COMMUNICATIONS BETWEEN US RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.Starting Agere Soft Modem
[root@localhost agrsm-2.1.80-4klixs2010]#
Then you could check the loaded module using dmesg and lsmod :
[root@localhost agrsm-2.1.80-4klixs2010]# dmesg | grep tail
……
agrmodem: module license ‘Proprietary’ taints kernel.
* Hello Agere Driver **
Loading module Agere Modem Controller driver version 2.1.80 (2008-10-31)
ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModem
Loading module Agere Modem Interface driver version 2.1.80.0 (2008-10-31)
[root@localhost agrsm-2.1.80-4klixs2010]#
[root@localhost agrsm-2.1.80-4klixs2010]# lsmod | grep agr
agrserial 15728 0
agrmodem 1254148 1
snd 51620 14 agrmodem,snd_hda_intel,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
[root@localhost agrsm-2.1.80-4klixs2010]#
As you may see the Agere modem was loaded and had ttyAGS3 device node.
If agrmodem and agrserial could not loaded for some reason, load manually using :
[root@localhost agrsm-2.1.80-4klixs2010]# modprobe agrmodem
[root@localhost agrsm-2.1.80-4klixs2010]# modprobe agrserial
[root@localhost agrsm-2.1.80-4klixs2010]# depmod -a
Then, you could query the modem using KPPP or wvdial for sure.
For your information, this agere driver was licensed as ‘proprietary’ on the kernel message, so I have some little worries to put this on axioo ARCD system as a free solution OS.