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, 

Sounds like you got the ALSA drivers installed okay. 

Can you copy and paste the output of 'make module' in
to your next reply, so I can see the detailed error
output? (Error 2 is a rather generic error, at this
moment all I can say is that make failed because
something didn't compile properly)

Thanks!
Bjorn.




--- roan <roan@xxxxxxxx> wrote:

> so i tried using this HOWTO
>
http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00838.html
> until the words 'Get more coffee'
> then copied needed file to needed dir
> rebooted
> unpacked the tarball you attached in the email
> trying to 'make module' in that dir but it gives me
> error2
> where is my mistake?
> 
> 
> On Tue, 22 Jul 2008 09:56:48 -0400 (EDT)
>   Bjorn Wielens <uniacke1@xxxxxxxx> wrote:
> > Hi Roan, 
> > the file you're using tries to patch the same file
> > twice... So apply it as you did, and then when
> asked '
> > Reversed (or previously applied) patch detected! 
> >> Assume 
> >> -R? [n]'
> > you should answer N. When asked 'apply anyway',
> also
> > answer N.
> > 
> > That should get you back on track!
> > Bjorn.
> > 
> > 
> > 
> > --- roan <roan@xxxxxxxx> wrote:
> > 
> >> Hi
> >> i have a problem patching ALSA. i downloaded
> patch
> >> from 
> >> here:
> >>
> >
>
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/hda_symbols.patch
> >> put it into my alsa driver folder:
> >> /home/roan/alsa-driver-1.0.17
> >> trying to patch with command patch -p1 <
> >> hda_symbols.patch
> >> and getting this:
> >> ------
> >> $ 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] y
> >> Hunk #1 succeeded at 132 (offset 30 lines).
> >> patch unexpectedly ends in middle of line
> >> Hunk #2 succeeded at 156 with fuzz 1 (offset 30
> >> lines).
> >> ------
> >> what am i doing wrong?
> >> 
> >> On Mon, 21 Jul 2008 18:41:50 -0300
> >>   Bjorn Wielens <Uniacke1@xxxxxxxx> wrote:
> >> > Okay, I hope I've CCed this to all the right
> >> people.
> >> >First off, to Marv, and Jaques (everyone else,
> you
> >> don't 
> >> >need this info):
> >> > the patch file applied needs to be applied to
> the
> >> alsa 
> >> >source to export the symbols. (previous version
> >> tried to 
> >> >patch the same file twice-- sound/ is a link to 
> >> >alsa-kernel/)
> >> > the agrsm tarball is the driver for the modem,
> >> modified 
> >> >to work with new alsa versions (thanks to José)
> and
> >> with 
> >> >my fixes to remove the GPL-only symbols in 
> >> >agrsoftmodem.c.
> >> > This was done with some use of #ifdef NONGPL,
> so
> >> that if 
> >> >the NONGPL flag is defined (comments at
> beginning
> >> of 
> >> >file), these symbols are re-inserted.
> >> > This allows the modules to be built and loaded
> on
> >> newer 
> >> >kernels without the need to change the module
> >> licence 
> >> >from Proprietary to GPL and violating the GPL.
> (So
> >> we can 
> >> >now put it on the linmodems site)
> >> > These USB symbols are NOT needed for
> functioning
> >> of the 
> >> >11c11040 modem. (and those with USB modems are
> >> better off 
> >> >using other drivers anyway).
> >> > ------------------
> >> > To everyone else:
> >> > Once you have installed ALSA version 1.0.16 or
> >> greater, 
> >> >and verified it works,
> >> > Please follow these steps to continue:
> >> > 1. Put the hda_symbols.patch file in your
> >> alsa-driver 
> >> >source directory.
> >> > 2. Run the command 'patch -p1 <
> hda_symbols.patch'
> >> to 
> >> >patch the ALSA source. (Patched file is 
> >> >./alsa-kernel/pci/hda/hda_codec.c)
> >> > 3. Build the patched ALSA modules. ('make')
> >> > 4. Copy the file modules/snd_hda_intel.ko to 
> >> >/lib/modules/<your kernel 
> >> >version>/kernel/sound/pci/hda/snd-hda-intel.ko
> >> > (overwrites old module, rename it if you want)
> >> > 5. run 'depmod -ae'.
> >> > 6. You should now have the patched module
> >> installed. 
> >> >Reboot to activate.
> >> > ---
> >> > 7. Extract the attached e-mail tarball: 'tar
> -jxvf
> >> 
> >> >agrsm-HDA-20080721.tar.bz2'
> >> > 8. Change to the new dir: 'cd agrsm-20080721/'
> >> > 9. Build the modules. ('make module')
> >> > 10. Make a directory for the newly created
> agere
> >> modem 
> >> >modules:
> >> > 'sudo mkdir /lib/modules/<your kernel
> >> version>/extra/'
> >> > 11. Now copy the modules here: 'sudo cp *.ko 
> >> >/lib/modules/<your kernel version>/extra/'
> >> > 12. run 'depmod -ae'
> >> > 13. Load the new modules: 'modprobe agrmodem'
> >> followed 
> >> >by 'modprobe agrserial' IN THAT ORDER!
> >> > (If you get a complaint about unknown symbols,
> >> check the 
> >> >last few lines of 'dmesg' and let me know what
> >> symbol)
> >> > You should now have device node /dev/ttyAGS3.
> This
> >> is 
> >> >now your modem port.
> >> > You can use it with wvdial etc.
> >> > 
> >> > If you have any problems, please let me know
> and
> >> I'll do 
> >> >what I can to help.
> >> > 
> >> > Bjorn.
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > Bjorn Wielens wrote:
> >> >> Okay, we seem to be gathering a following with
> >> this
> >> >> HOWTO for the 11c11040 modem.
> >> >>
> >> >> The current stage we're at is having built and
> >> >> installed either ALSA modules 1.0.16 or
> 1.0.17,
> >> and
> >> >> verifying that /proc/asound/card0/codec#1
> >> contains
> >> >> correct info.
> >> >>
> >> >> I've received success reports from Roan and
> >> Menedas. 
> >> >>
> >> >> If anyone needs help getting to this point,
> let
> >> me
> >> >> know soon. I plan to continue with the howto
> >> later
> >> >> today when I have access to the machine with
> the
> >> >> needed tarballs on it.
> >> >>
> >> >> I will publish a HOWTO html document for later
> >> use
> >> >> after we've gotten everyone up and running. 
> >> >>
> >> >> Bjorn.
> >> >>
> >> >>
> >> >> --- roan <roan@xxxxxxxx> wrote:
> >> >>
> 
=== message truncated ===



      __________________________________________________________________
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