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

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

 



Hugo, 

Please try compiling the second tarball I sent last
night (with -ALSA15 suffix) This is because some
systems ship with ALSA 1.0.15 in /include, which is
outdated for the new driver.

Let me know what happens,
Bjorn.

--- Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
wrote:

> Bjorn, please check
> 
> 
> ---------- Forwarded message ----------
> From: Hugo Leonardo Canalli
> <hugocanalli@xxxxxxxxxxxxxxxxxx>
> Date: Wed, Jul 23, 2008 at 1:02 AM
> Subject: Re: Fwd: HOWTO for Agere 11C11040 Modem on
> HDA cards. (Roan,
> menedas, & others)
> To: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
> 
> 
> Newer version don't compile in my Ubuntu system:
> 
>
root@hugleo-desktop:/home/hugleo/Desktop/agrsm-20080721#
> make module
> make -C /lib/modules/`uname -r`/build/
> SUBDIRS=/home/hugleo/Desktop/agrsm-20080721 modules
> make[1]: Entering directory
> `/usr/src/linux-headers-2.6.24-19-generic'
>  CC [M]  /home/hugleo/Desktop/agrsm-20080721/HDA.o
> In file included from
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:22:
> include/sound/core.h:281: error: 'SNDRV_CARDS'
> undeclared here (not in a
> function)
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:216:
> warning: function
> declaration isn't a prototype
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In
> function
> 'GetHDABaseAddress':
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:227:
> warning: assignment makes
> integer from pointer without a cast
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:229:
> warning: return makes
> pointer from integer without a cast
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:219:
> warning: unused variable
> 'codec_temp'
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In
> function 'HDAdump':
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:244:
> warning: format '%x'
> expects type 'unsigned int', but argument 2 has type
> 'void *'
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:248:
> warning: format '%08X'
> expects type 'unsigned int', but argument 3 has type
> 'long unsigned int'
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:248:
> warning: format '%08X'
> expects type 'unsigned int', but argument 4 has type
> 'long unsigned int'
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:248:
> warning: format '%08X'
> expects type 'unsigned int', but argument 5 has type
> 'long unsigned int'
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:248:
> warning: format '%08X'
> expects type 'unsigned int', but argument 6 has type
> 'long unsigned int'
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:239:
> warning: unused variable
> 'codec_temp'
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In
> function
> 'setResumeCallBack':
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:287:
> warning: assignment from
> incompatible pointer type
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:288:
> warning: assignment from
> incompatible pointer type
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In
> function
> 'setSuspendCallBack':
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:293:
> warning: assignment from
> incompatible pointer type
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:294:
> warning: assignment from
> incompatible pointer type
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: At top
> level:
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:298:
> warning: function
> declaration isn't a prototype
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In
> function
> 'resetResumeCallBack':
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:299:
> warning: assignment from
> incompatible pointer type
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: At top
> level:
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:303:
> warning: function
> declaration isn't a prototype
> /home/hugleo/Desktop/agrsm-20080721/HDA.c: In
> function
> 'resetSuspendCallBack':
> /home/hugleo/Desktop/agrsm-20080721/HDA.c:304:
> warning: assignment from
> incompatible pointer type
> make[2]: ***
> [/home/hugleo/Desktop/agrsm-20080721/HDA.o] Error 1
> make[1]: ***
> [_module_/home/hugleo/Desktop/agrsm-20080721] Error
> 2
> make[1]: Leaving directory
> `/usr/src/linux-headers-2.6.24-19-generic'
> make: *** [module] Error 2
> 
> 
> On Tue, 2008-07-22 at 07:53 -0400, Marvin Stodolsky
> wrote:
> > Hugo
> >
> > The attached should also work with the 11c1:0620
> modems and has more
> > recent code.
> > the hda_symbols.patch is likely not relevant for 
> 11c1:0620
> >
> > Please test and report back to the List.
> >
> > MarvS
> >
> >
> > ---------- Forwarded message ----------
> > From: Bjorn Wielens <Uniacke1@xxxxxxxx>
> > Date: Mon, Jul 21, 2008 at 5:41 PM
> > Subject: Re: HOWTO for Agere 11C11040 Modem on HDA
> cards. (Roan,
> > menedas, & others)
> > To: Bjorn Wielens <uniacke1@xxxxxxxx>
> > Cc: roan@xxxxxxxx, kraisor@xxxxxxxxxxx,
> gnichols@xxxxxxxxxx,
> > menedas@xxxxxxxx, discuss@xxxxxxxxxxxxx,
> marvin.stodolsky@xxxxxxxxx,
> > linfix@xxxxxxxxxxxxxx, jacques.goldberg@xxxxxxxxx
> >
> >
> > 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 
=== message truncated ===



      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

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

  Powered by Linux