Modem
setting up modem operation takes 30 minutes or so.
The A110 comes with a built-in 56 Kbps modem. It is a soft-modem based on hi-def audio ALSA software (Intel HDA).
Seemingly LSI discontuinued the product, but based the DAA1040 DAA module on the Delphi design.
Contents |
Detailed information
The hardware is an AGERE fax-modem "DELPHI" model D40, rev. AM5, (ANATEL-registered).
The amixer info command yields its signature HDA: 11c1:1040, so it's the Agere/LSI softmodem-DAA wired to the Realtek 267 codec. The DAA is sitting on the HDA bus. The D40 DAA-module is more like an electric interface to the phone line with insulation amplifier/AD-DA and stuff like that. The modem system side is integrated into the ALC267.
Since there is only one single reference design publicly available for the ALC268, which has the same number of pins as the ALC267, presumably the D40 is controlled via GPIO pins, of which there are roughly 16. ALC268 has no modem system integrated but many spare n/c pins.
Drivers
The drivers might support efax or efax enhanced (http://shino.pos.to/linux/efax.html). There are other dialing tools available for linmodems.
Driver source code from One
See here.
Improved one.de driver from Mandriva developers
Mandriva developers have modified/improved the One drivers. To get the source code:
$ svn co http://svn.mandriva.com/svn/packages/cooker/agrsm
working binary driver for Ubuntu "hardy" 8.04
Working binary modules agrmodem.ko agrserial.ko and snd-hda-intel.ko are here:
just copy them to your /lib/modules/2.6.24-18-generic/extra
the ALSA driver snd-hda-intel.ko must replace the older module in it's subdirectory.
after "insmod agrmodem.ko" "insmod agrserial.ko" you should be able to link "ln -s /dev/ttyAGS3 /dev/modem" (else investigate)
now you can run minicom, picocomm (VT100 emulation), wvdial (or knet), efax. (preferrably in this order since efax might freeze the A110 like knet asf.) set "serial line" to /dev/modem in their config windows as superuser (su) Inside minicom, type "ATI" to get response Agere SoftModem Version 2.1.80.0
V42.bis connections up to 44000 bps were made successfully. efax is sometimes freezing the IL1. While wvdial with "AutoDNS = yes" worked, some other dialup tools (kppp etc.) sometimes froze the IL1. Sometimes the modem hung up for no apparent reason during ppp sessions.
The AT command set is documented in this manual; there are debugging commands and informational commands to improve performance and adapt to phone line. The manual applies to Agere PCI card modems with SV92P chipsets and is quite similar to the softmodem with 1040 DAA.
See here.
The old "ONE.de" binary driver is compiled for Red Flag Linux kernel version 2.6.21.0-22 and does not work in Ubuntu "Hardy".
linmodem.org driver
See here for Agere's powerful open-source library/driver.
Card default 'VT82xx'/'HDA VIA VT82xx at 0xf5300000 irq 21' Mixer name : 'Realtek ALC267' Components : 'HDA:10ec0267 HDA:11c11040' Controls : 16 Simple ctrls : 11
Diagnostics call statistics
the softmodem gives good tech info (UNImodem standard report) :
an example of the ATI11 results
Description Status
Last Connection V.90
Initial Transmit Carrier Rate 26400
Initial Receive Carrier Rate 52000
Final Transmit Carrier Rate 26400
Final Receive Carrier Rate 52000
Protocol Negotiation Result LAPM
Data Compression Result V.42bis
Estimated Signal/Noise Ratio (dB) 46
Receive Signal Power Level (-dBm) 33
Transmit Signal Power Level (-dBm) 18
Round Trip Delay (msec) 13
Near Echo Level (-dBm) 24
Far Echo Level (-dBm) 80
Transmit Frame Count 0
Transmit Frame Error Count 0
Receive Frame Count 0
Receive Frame Error Count 0
Retrain by Local Modem 0
Retrain by Remote Modem 0
Rate Renegotiation by Local Modem 0
Rate Renegotiation by Remote Modem 0
Call Termination Cause 1
Robbed-Bit Signaling 0
Digital Loss (dB) 06
Remote Server ID NA
OK
modem device
see also mailing list archives: http://linmodems.technion.ac.il/wgindex9.html
This note is for those using agrmodem.ko + agrserial.ko modules, which
includes those with the 11c11040 LSI/Agere chipset on High Definition
Audio card. Successive loading of agrmodem + agrserial dynamically
creates a port /dev/ttyAGS3 , which is not however used automatically
by the dialer setup utility wvdialconf.
The file below automates creation of a desirable symbolic link:
/dev/ttySAGR --> /dev/ttyAGS3
which will be found by wvdialconf.
Create a file /etc/modprobe.d/agrsm, which can be created with:
$ sudo gedit /etc/modprobe.d/agrsm
For users of RPM using distros, specifying some file in your /etc/modprobe.d/ arena will be necessary instead. But regardless the following lines should be copied/edited in.
# # filename /etc/modprobe.d/agrsm or equivalent.
# setup agrsm modem with only: "sudo modprobe agrserial"
# with symbolic link creation: /dev/ttySAGR --> /dev/ttyAGR3
# so wvdialconf will detect /dev/ttySAGR
#
install agrserial /sbin/modprobe --ignore-install agrmodem ;
/sbin/modprobe --ignore-install agrserial && \
test -e /dev/ttySAGR || ln -s /dev/ttyAGS3 /dev/ttySAGR
#
# remove symbolic link upon agrserial unloading
remove agrserial /sbin/modprobe -r --ignore-remove agrserial ;
/sbin/modprobe -r --ignore-remove agrmodem && \
{ if test -L /dev/ttySAGR; then rm /dev/ttySAGR; fi } ; true
#
# agrserial could be additionally added to /etc/modules ,
# to automate bootup "sudo modprobe agrserial"
# But if autoloading should cause a bootup Crash on some System,
# recovery would require expert usage of a Rescue disk
#
## setup agrsm modem with only: "sudo modprobe agrmodem"
# install agrmodem /sbin/modprobe --ignore-install agrmodem && \
# /sbin/modprobe --ignore-install agrserial && test -e /dev/ttySAGR ||
ln -s /dev/ttyAGS3 /dev/ttySAGR
## However "sudo modprobe agrserial" is preferred to enable separate testing
## of effects of agrmodem and agrserial loading
### END file
With such a file present, both drivers are loaded with following outputs to /var/log/messages:
$ sudo modprobe agrserial * Hello Agere Driver ** ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModem Loading module Agere Modem Interface driver version 2.1.80.0 (2008-10-31)
With symbolic link created
$ ls -l /dev/ttySAGR lrwxrwxrwx 1 root root 12 2008-12-31 12:35 /dev/ttySAGR -> /dev/ttyAGS3
Both drivers are removed by:
$ sudo modprobe -r agrserial Unloading Agere Modem Interface driver: version 2.1.80.0