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 Menedas,
There are various spellings of my name, including Bjørn, but mine uses the normal letter 'o' :) Each spelling comes from a different area of Europe, and is pronounced slightly different.

Now, quite the contrary- You've successfully built the modem driver modules, so don't give up hope yet!!
These lines are normal output:

WARNING: could not find /root/agrsm-HDA-20080721-ALSA15/.agrmodemlib.o.cmd for /root/agrsm-HDA-20080721-ALSA15/agrmodemlib.o
WARNING: "snd_hda_codec_write" [/root/agrsm-HDA-20080721-ALSA15/agrmodem.ko] undefined!
WARNING: "snd_hda_codec_read" [/root/agrsm-HDA-20080721-ALSA15/agrmodem.ko] undefined!

They are the reason we must patch the ALSA files... But you're now over halfway, so you can copy the two new .ko files (agrmodem and agrserial.ko) to /lib/modules/`uname -r`/extra/.
then run 'sudo depmod -ae'

The next step is to get the ALSA sound driver built... The following should work for you, since you have trouble building any version other than 1.0.16.
1. Get a  copy of alsa-driver-1.0.15.tar.bz2 from the ALSA site.
Extract.
Copy the contents of alsa-kernel/sound/pci/hda FROM this 1.0.15 source dir TO the source dir of an ALSA version you CAN build successfully. (in your case, ALSA 1.0.16, I did this with 1.0.17RC2. ) Then, modify the hda_codec.c file you just copied over, adding the two EXPORT_SYMBOL lines. in the main directory of the ALSA source you just modified, do './configure --with-cards=hda-intel'
then run make.
This should generate the snd-hda-intel module for you, using the 1.0.15 source that was copied over. Copy the new module in modules/snd-hda-intel.ko to /lib/modules/`uname -r`/kernel/sound/pci/hda/ and overwrite the old snd-hda-intel.ko.
Reboot to load this new module.
Then, you should be able to 'sudo modprobe agrmodem' (If this fails, try 'sudo modprobe agrmodem --force-modversion' ) and 'sudo modprobe agrserial' It should create port /dev/ttyAGS3, which is your modem port for use with WVdial etc.

Hope this helps,
Bjorn.

menedas wrote:
Hi Bjorn,
btw. isn't it written somehow like Björn?

Bjorn Wielens wrote:

As far as I can tell, nobody else seems to have the conflicting error messages. Can you try copying the file serial26.c from the alsa v17 tarball to the source dir for ALSA15 tarball? This is a newer version of the file and should resolve the serial error messages you're getting below. If not, let me know and I can send you a patch that should fix the error you're getting:

Ok after 'cp agrsm-20080721/serial26.c agrsm-HDA-20080721-ALSA15' and 'make module' I get this error:

ubuntu:~/agrsm-HDA-20080721-ALSA15# make module
make -C /lib/modules/`uname -r`/build/ SUBDIRS=/root/agrsm-HDA-20080721-ALSA15 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find /root/agrsm-HDA-20080721-ALSA15/.agrmodemlib.o.cmd for /root/agrsm-HDA-20080721-ALSA15/agrmodemlib.o
WARNING: "snd_hda_codec_write" [/root/agrsm-HDA-20080721-ALSA15/agrmodem.ko] undefined!
WARNING: "snd_hda_codec_read" [/root/agrsm-HDA-20080721-ALSA15/agrmodem.ko] undefined!
WARNING: "snd_cards" [/root/agrsm-HDA-20080721-ALSA15/agrmodem.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'

I also made a reinstall of the linux-image-2.6.24-19-generic but the file /lib/modules/2.6.24-19-generic/kernel/sound/pci/hda/snd-hda-intel.ko
is still the same as I have copied there after last patch and compiling of alsa-driver-1.0.16. Problem is since that after hibernate I have no sound. I can also not find that file in the linux-image package. Where does it come from?

Seems not like we will finish it till Tuesday, as I said then I have normally to give the notebook back. :(

But anyway, thanks for helping.



      __________________________________________________________
Unglücklich mit Ihrer Mail-Adresse?

Millionen neuer Mail-Adressen - jetzt bei Yahoo!

http://de.docs.yahoo.com/mail/wunschmailadresse/index.html



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

  Powered by Linux