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

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

 



hi,

please can you provide the output of:
find /proc/asound/ -type f -exec grep . -H {} \;
and
lspci -vv

at this time the pci and codec detection routines in the agrsm package looks 
for me very strange and outdated. without the source of agrmodemlib i just can 
guess.
now i try to get the sound part working, but chance is low.

mfg
zsolt

Am Sonntag, 21. Dezember 2008 03:22:37 schrieb Marvin Stodolsky:
> An installation process is described below, culminating in
> installation of agrmodem.ko + agrserial.ko under a Ubuntu kernel
> 2.6.27-7-generic.  The drivers could also be tested for other Agere
> chipset modems 11c1:0620 and 11c1:048c/f
>
> Thanks go to LSI Linux maintainer Soumyendu Sarkar for providing the
> agrsm code packages,
> Zsolt László BÉRCZES at zsoltech  for the update to 2.6.27  kernel support
> at the DKMS development team.
>
>  The installation employs the DLMS toolset, which you can read about at:
>  http://linux.dell.com/projects.shtml#dkms
> The dkms toolset is also available on RPM  based distros. So the
> process described below should be entirely similar.
>
> A preliminary is the installation of the dkms package.  If online
> already, it can be installed by:
> $ sudo apt-get update
> $ sudo apt-get install dksm
> which  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/dkms and proceed to download the dkms
> package and any dependent packages your System may need.
> I suspect all files except the dkms itself will be on the Intrepid
> install cd.  So first try with install CD in place:
> $ sudo apt-get install   linux-headers-2.6.27-9-generic
> Any packages which must be download from the Ubuntu  repository
>  can all be co-installed in the Ubuntu folder (Home folder or Desktop
> is OK) they were copied to with:
> $ sudo dpkg  -i *.deb
>
> Next from http://linux.zsolttech.com/linmodem/agrsm/   get the
> dkms-agrsm_2.1.80-5_i386.deb
> Install with:
> $ sudo dpkg -i dkms-agrsm_2.1.80-5_i386.deb
> A 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.c
> AgereMdmDaemon  agrmodemlib.o   agruninst              HDA.c.2.6.27
>  LICENSE       modules.order   serial26.c.2.6.27
> agr_auxinst     agr_softmodem   config.h               HDA.c.hda_codec
>  linuxif.h     Module.symvers
> agrinst         agrsoftmodem.c  dkms.conf              hda_codec.h
>  Makefile      README
> --------
> within which the agrmodemlib.o encrypts critical LSI proprietary
> information  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/build
> M=/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 the
> tail 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:1
> doesn't support 44100 Hz, changed to 37286 Hz.
> Dec 20 20:08:15 marvlap pulseaudio[5963]: alsa-util.c: Device hw:1
> doesn'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:1
> doesn't support 44100 Hz, changed to 37286 Hz.
> Dec 20 20:38:15 marvlap pulseaudio[5963]: alsa-util.c: Device hw:1
> doesn't support 2 channels, changed to 1.
> Dec 20 20:38:37 marvlap kernel: [13606.950962] agrmodem: module
> license 'Proprietary' taints kernel.
> Dec 20 20:38:37 marvlap kernel: [13606.956260] * Hello Agere Driver **
>
> Agrserial loaded also:
> $ sudo modprobe agrserial
> marv@marvlap:~/dl/dkms4$ Dec 20 20:43:07 marvlap kernel:
> [13877.452648] ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModem
> Dec 20 20:43:07 marvlap kernel: [13877.455881] Loading module Agere
> Modem Interface driver version 2.1.80.0 (2008-10-31)
>
> Dependencies were checked with:
> $ lsmod | grep agr
> agrserial              19808  0
> agrmodem             1259268  1
> snd                    63268  34
> agrmodem,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/modem
> Checking
> $ ls -l  /dev/ttyAGS3 /dev/ttySAGR  /dev/modem
> crw-rw---- 1 root dialout 62, 67 2008-12-20 20:43 /dev/ttyAGS3
> lrwxrwxrwx 1 root root        12 2008-12-20 20:47 /dev/ttySAGR ->
> /dev/ttyAGS3 lrwxrwxrwx 1 root root        12 2008-12-20 20:47 /dev/modem
> -> /dev/ttyAGS3
>
> There was of course a failure to functionally detect the modem for
> lack of a compatible chipset (mine is a VIA modem)
> $ sudo wvdialconf wvtest
> Editing `wvtest'.
> Scanning your serial ports for a modem.
> Modem Port Scan<*1>: S0   S1   S2   S3
> ttySAGR<*1>: ATQ0 V1 E1 -- Dec 20 20:50:51 marvlap kernel:
> [14341.340497] ==> codecType = 0x31
> Dec 20 20:50:51 marvlap kernel: [14341.340526] ERR: Control Interface
> failed failed with 2400 baud, next try: 9600 baud
> ttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
> ttySAGR<*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 for
> 11c11040 modems,
> first test as above, then the procedure with patching can be specified
> as necessary, in  a subsequent email
>
> MarvS
>
> --
> Diese Nachricht wurde auf Viren und andere gef�hrliche Inhalte untersucht
> und ist - aktuelle Virenscanner vorausgesetzt - sauber.
> For all your IT requirements visit: http://www.ZsoltTech.Com


--
Diese Nachricht wurde auf Viren und andere gef�liche Inhalte untersucht
und ist - aktuelle Virenscanner vorausgesetzt - sauber.
For all your IT requirements visit: http://www.ZsoltTech.Com



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

  Powered by Linux