LSI/AgereSystems 11c11040 chipset support installation ,using dkms tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



An installation process is described below, culminating ininstallation of agrmodem.ko + agrserial.ko under a Ubuntu kernel2.6.27-7-generic.  The drivers could also be tested for other Agerechipset modems 11c1:0620 and 11c1:048c/f
Thanks go to LSI Linux maintainer Soumyendu Sarkar for providing theagrsm code packages,Zsolt László BÉRCZES at zsoltech  for the update to 2.6.27  kernel supportat the DKMS development team.
 The installation employs the DLMS toolset, which you can read about at: http://linux.dell.com/projects.shtml#dkmsThe dkms toolset is also available on RPM  based distros. So theprocess described below should be entirely similar.
A preliminary is the installation of the dkms package.  If onlinealready, it can be installed by:$ sudo apt-get update$ sudo apt-get install dksmwhich  basically  installs:/usr/sbin/dkms  -  the  binary/usr/share/man/man8/dkms.8.gz -documentation/usr/share/doc/dkms/   -  More documentation/etc/init.d/dkms_autoinstaller  - bootup actions/etc/dkms/  -  configuration files
If not on line under Linux,  start at http://packages.ubuntu.com/intrepid/dkmsand proceed to download the dkms package and any dependent packagesyour System may need.I suspect all files except the dkms itself will be on the Intrepidinstall cd.  So first try with install CD in place:$ sudo apt-get install   linux-headers-2.6.27-9-genericAny packages which must be download from the Ubuntu  repository can all be co-installed in the Ubuntu folder (Home folder or Desktopis OK) they were copied to with:$ sudo dpkg  -i *.deb
Next from http://linux.zsolttech.com/linmodem/agrsm/   get thedkms-agrsm_2.1.80-5_i386.debInstall with:$ sudo dpkg -i dkms-agrsm_2.1.80-5_i386.debA code package is installed to folder:   /usr/src/agrsm-2.1.80-4mdv2009.0/8250.h          agrmodem.h      agrsoftmodem.c.2.6.27  HDA.c includes.txt  modmake.txt     serial26.cAgereMdmDaemon  agrmodemlib.o   agruninst              HDA.c.2.6.27 LICENSE       modules.order   serial26.c.2.6.27agr_auxinst     agr_softmodem   config.h               HDA.c.hda_codec linuxif.h     Module.symversagrinst         agrsoftmodem.c  dkms.conf              hda_codec.h Makefile      README--------within which the agrmodemlib.o encrypts critical LSI proprietaryinformation  in 32 bit format.Thus these drivers do not support x86_64 kernels.
The code package is auto acted on by  dkms,which on my System generated the following report:=========Selecting previously deselected package dkms-agrsm.(Reading database ... 152492 files and directories currently installed.)Unpacking dkms-agrsm (from dkms-agrsm_2.1.80-5_i386.deb) ...Setting up dkms-agrsm (2.1.80-5) ...
Creating symlink /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/source ->                 /usr/src/agrsm-2.1.80-4mdv2009.0
DKMS: add Completed.
Kernel preparation unnecessary for this kernel.  Skipping...
Building module:cleaning build area....make KERNELRELEASE=2.6.27-7-generic -C/lib/modules/2.6.27-7-generic/buildM=/var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build.......cleaning build area....
DKMS: build Completed.Running module version sanity check.
agrmodem.ko: - Original module   - Found /lib/modules/2.6.27-7-generic/extra/agrmodem.ko   - Storing in /var/lib/dkms/agrsm/original_module/2.6.27-7-generic/i686/   - Archiving for uninstallation purposes - Installation   - Installing to /lib/modules/2.6.27-7-generic/updates/dkms/
agrserial.ko: - Original module   - Found /lib/modules/2.6.27-7-generic/extra/agrserial.ko   - Storing in /var/lib/dkms/agrsm/original_module/2.6.27-7-generic/i686/   - Archiving for uninstallation purposes - Installation   - Installing to /lib/modules/2.6.27-7-generic/updates/dkms/
depmod.........
DKMS: install Completed.============
With module properties:$ ls -l  /lib/modules/2.6.27-7-generic/updates/dkms/total 1560-rw-r--r-- 1 root root 1563628 2008-12-20 20:37 agrmodem.ko-rw-r--r-- 1 root root   26844 2008-12-20 20:37 agrserial.ko
Though my System lacks the compatible  hardware , agrmodem did load:$ sudo modprobe agrmodem
and kernel messages were read (some of you will have to prefix thetail command with sudo)marv@marvlap:~/dl/dkms4$ tail -f /var/log/messages &[1] 13826
Dec 20 20:08:15 marvlap pulseaudio[5963]: alsa-util.c: Device hw:1doesn't support 44100 Hz, changed to 37286 Hz.Dec 20 20:08:15 marvlap pulseaudio[5963]: alsa-util.c: Device hw:1doesn't support 2 channels, changed to 1.Dec 20 20:32:35 marvlap -- MARK --Dec 20 20:38:15 marvlap pulseaudio[5963]: alsa-util.c: Device hw:1doesn't support 44100 Hz, changed to 37286 Hz.Dec 20 20:38:15 marvlap pulseaudio[5963]: alsa-util.c: Device hw:1doesn't support 2 channels, changed to 1.Dec 20 20:38:37 marvlap kernel: [13606.950962] agrmodem: modulelicense 'Proprietary' taints kernel.Dec 20 20:38:37 marvlap kernel: [13606.956260] * Hello Agere Driver **
Agrserial loaded also:$ sudo modprobe agrserialmarv@marvlap:~/dl/dkms4$ Dec 20 20:43:07 marvlap kernel:[13877.452648] ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModemDec 20 20:43:07 marvlap kernel: [13877.455881] Loading module AgereModem Interface driver version 2.1.80.0 (2008-10-31)
Dependencies were checked with:$ lsmod | grep agragrserial              19808  0agrmodem             1259268  1snd                    63268  34agrmodem,snd_pcsp,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
There was dynamic port creation$ ls -l /dev/ttyAG*crw-rw---- 1 root dialout 62, 67 2008-12-20 20:43 /dev/ttyAGS3
I set symbolic links:$ sudo ln -s /dev/ttyAGS3 /dev/ttySAGR$ sudo ln -s /dev/ttyAGS3 /dev/modemChecking$ ls -l  /dev/ttyAGS3 /dev/ttySAGR  /dev/modemcrw-rw---- 1 root dialout 62, 67 2008-12-20 20:43 /dev/ttyAGS3lrwxrwxrwx 1 root root        12 2008-12-20 20:47 /dev/ttySAGR -> /dev/ttyAGS3lrwxrwxrwx 1 root root        12 2008-12-20 20:47 /dev/modem -> /dev/ttyAGS3
There was of course a failure to functionally detect the modem forlack of a compatible chipset (mine is a VIA modem)$ sudo wvdialconf wvtestEditing `wvtest'.Scanning your serial ports for a modem.Modem Port Scan<*1>: S0   S1   S2   S3ttySAGR<*1>: ATQ0 V1 E1 -- Dec 20 20:50:51 marvlap kernel:[14341.340497] ==> codecType = 0x31Dec 20 20:50:51 marvlap kernel: [14341.340526] ERR: Control Interface failedfailed with 2400 baud, next try: 9600 baudttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baudttySAGR<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.Sorry, no modem was detected!etc
However hopefully some of you with compatible chips will have positive results.
With respect to the patching of hda-codec code commonly required for11c11040 modems,first test as above, then the procedure with patching can be specifiedas necessary, in  a subsequent email
MarvS

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux