Re: HOWTO for Agere 11C11040 Modem on HDA cards. (Roan, menedas, & others)

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

 



Hi Roan, 

Sorry this is taking longer than expected, but thanks
for bearing with me... we will get this modem working
in the end.

The version differences between Aplay and the version
file are disturbing... It means things will be more
difficult to figure out for me :)

Anyway, since you have the ALSA _modules_ 1.0.16, the
following should work. (assuming you have kernel
sources installed):

'cd /usr/src/linux'.
MANUALLY edit the file sound/pci/hda/hda_codec.c (or
pci/hda/hda_codec.c if the former is not there) to
have the following two lines. (Put them after the list
of '#includes' at the beginning of the file):

EXPORT_SYMBOL(snd_hda_codec_read);
EXPORT_SYMBOL(snd_hda_codec_write);

Then, in the /usr/src/linux dir, do the following
'make cloneconfig'
'make clean'
'make modules'
'make modules-install'. This will install the fixed
sound modules. 

The modem driver for ALSA modules 1.0.16 and newer is
in this tarball:
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-HDA-20080721.tar.bz2

extract, and in the dir, do 'make module'. Then copy
the two .ko files to /lib/modules/(kernel
version)/extra and run 'sudo depmod -ae' 
You should then be able to modprobe the files and the
/dev/ttyAGS3 modem port will be usable.
Hope this helps,
Bjorn.




--- roan <roan@xxxxxxxx> wrote:

> hi
> nothing is helping or i'm doing smth wrong. if you'd
> be so 
> kind please help me to solve the problem step by
> step.
> i installed fresh new ubuntu 8.04.1 with english
> locale 
> and downloaded all upgrades.
> and installed build-essential package.
> 
> 'cat /proc/asound/version' says this:
> 
> --------------
> $ cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version
> 1.0.16.
> Compiled on Jun 18 2008 for kernel 2.6.24-19-generic
> 
> (SMP).
> --------------
> 
> but 'aplay --version':
> 
> --------------
> $ aplay --version
> aplay: version 1.0.15 by Jaroslav Kysela
> <perex@xxxxxxxx>
> --------------
> 
> then using apt-get i downloaded alsa-source package
> and 
> untar it to my home folder.
> then downloaded hda_symbols.patch and put it to that
> 
> folder with alsa driver source.
> applied patch:
> 
> --------------
> $ patch -p1 < hda_symbols.patch
> patching file alsa-kernel/pci/hda/hda_codec.c
> Hunk #1 succeeded at 132 (offset 30 lines).
> Hunk #2 succeeded at 158 (offset 30 lines).
> patching file sound/pci/hda/hda_codec.c
> Reversed (or previously applied) patch detected! 
> Assume 
> -R? [n] N
> Apply anyway? [n] N
> Skipping patch.
> patch unexpectedly ends in middle of line
> 2 out of 2 hunks ignored -- saving rejects to file 
> sound/pci/hda/hda_codec.c.rej
> --------------
> 
> then i tried to do 'make' (as it goes in first
> manual you 
> send) in the same folder but i got an error (look
> the 
> attached file)
> 
> please tell me what next should i do?
> ---
> Professional hosting for everyone -
> http://www.host.ru
> > --------------
> $make
> make all-deps
> make[1]: Entering directory
> `/home/roan/Desktop/TESTING/modules/alsa-driver'
> utils/mod-deps --basedir
>
/home/roan/Desktop/TESTING/modules/alsa-driver/alsa-kernel
> --hiddendir
> /home/roan/Desktop/TESTING/modules/alsa-driver
> --versiondep
>
/home/roan/Desktop/TESTING/modules/alsa-driver/kconfig-vers
> --makeconf > toplevel.config.in
> utils/mod-deps: 1: ELF: not found
> utils/mod-deps: 1: @8: not found
> utils/mod-deps: 2: @: not found
> utils/mod-deps: 3: !
>                           : not found
> utils/mod-deps: 4: ��: not found
> utils/mod-deps: 1: Syntax error: word unexpected
> (expecting ")")
> make[1]: *** [toplevel.config.in] Error 2
> make[1]: Leaving directory
> `/home/roan/Desktop/TESTING/modules/alsa-driver'
> make: *** [dummy1] Error 2
> --------------
> 



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

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

  Powered by Linux