Re: Agere 11c11040 success with ALSA 1.0.17

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

 



Hi Jose, 
I've tried doing that, but with no success, as the
modem just gives 'No stream' errors. 
can you re-send the tarball? it seems to be
corrupt(0kb)

Also, which (if any) patches did you apply to the
agrsm source code? This may also be an issue.

Thanks!
Bjorn.


--- José Luis Díez Ruiz <joseluis.diez@xxxxxx> wrote:

> Hello, Bjorn
> 
> I had modified and had tested the source code modem
> in kernel 2.6.25.8
> with ALSA 1.0.17 and the modem works OK.
> 
> I attach the tar ball.
> 
> Two things... in kernel 2.6.25 and newer, the USB is
> GPL-symbol
> dependence, and this module is propietary, so i
> modified the
> MODULE_LICENSE(GPL), for not to have to recompile
> the kernel.
> Too is necessary to patch the ALSA with export
> symbols snd_hda_codec_read
> and snd_hda_codec_write
>
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/hda_symbols.patch
> and the modem works OK.
> 
> Also tested the original one_a1xx source code and
> work OK in kernel 2.6.26
> from kernel.org (that to have ALSA 1.0.16)
> 
> Regards.
> 
> ---------------------------- Mensaje original
> ----------------------------
> Asunto: Re: Agere 11c11040 module building success -
> 2.6.25.5
> De:     "Mr.Bor de Tor" <uniacke1@xxxxxxxx>
> Fecha:  Lun, 7 de Julio de 2008, 11:45 am
> Para:   "José Luis Díez Ruiz" <joseluis.diez@xxxxxx>
>
--------------------------------------------------------------------------
> 
> Hi Jose,
> The issue is that newer versions of ALSA handle the
> modem PCM streams differently, and as such, the
> agrsm
> driver requires a version of the snd-hda-intel
> module
> that is v. 1.0.15 or older. Using that info, I
> managed
> to get it working. (note that anything before 1.0.17
> won't compile easily on my machine)
> I'm currently in contact with Marv regarding my
> success with the modem working on 2.6.25, and once
> we've gotten the files and "paperwork" together,
> we'll
> make an official announcement to the list :)
> Thanks for all your help!
> Bjorn.
> 
> 
> --- José Luis Díez Ruiz <joseluis.diez@xxxxxx>
> wrote:
> 
> > Hello Bjorn,
> >
> > do you patch the HDA Alsa symbols? there is some
> > error there...
> >
> >
>
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/hda_symbols.patch
> >
> > patch it, recompile and reload snd-hda-codec
> module
> > and then recompile the
> > Agere driver, the module must load without force
> > options.
> >
> > The Alsa version 1.0.14 has these symbols, you can
> > test with it for to
> > confirm that the Agere driver works in your
> > hardware, and then to search
> > the Alsa error, although i think that your hda
> > symbols don't load
> > successfully.
> > For verify the symbols load correctly to do this:
> > grep -i
> > snd_hda_codec_read /proc/kallsyms and grep -i
> > snd_hda_codec_write
> > /proc/kallsyms
> >
> > Regards.
> >
> > ---------------------------- Mensaje original
> > ----------------------------
> > Asunto: [Fwd: Re: Agere 11c11040 module building
> > success - 2.6.25.5]
> > De:     "Bjorn Wielens" <Uniacke1@xxxxxxxx>
> > Fecha:  Vie, 4 de Julio de 2008, 11:13 pm
> > Para:   José Luis Díez Ruiz <joseluis.diez@xxxxxx>
> >
>
--------------------------------------------------------------------------
> >
> > Here are the results, as you requested- Hope you
> can
> > help me on 2.6.25 :)
> >
> > Bjorn
> >
> >
> > -------- Original Message --------
> > Subject: 	Re: Agere 11c11040 module building
> success
> > - 2.6.25.5
> > Date: 	Thu, 03 Jul 2008 18:15:10 -0300
> > From: 	Bjorn Wielens <Uniacke1@xxxxxxxx>
> > To: 	Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
> > CC: 	Linmodems <discuss@xxxxxxxxxxxxx>
> > References:
> > <790636.47090.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> >
>
<c27106ee0807030603w2d8f68f0v72e847f65f8833f@xxxxxxxxxxxxxx>
> >
> >
> >
> > Hi all,
> > As promised, here's the update and the logs.
> > This is a 32 bit system, kernel 2.6.25.5-pae
> > (openSuSE 11 default)
> > modem.log details the kernel OOPS I get caused by
> > modem-update-hda-structs.patch.
> > modem1.log details two attempts. The first with
> all
> > patches EXCEPT
> > modem-update-hda-structs.patch and
> > agrsm-hda_codec.patch.
> > This is the build that gives 'no stream' errors.
> > (see log)
> > The second half of the log (below the
> > ------------------------------ line)
> > details the attempt WITH the agrsm_hda_codec.patch
> > but without the
> > update-hda-structs patch.
> > This builds and loads fine (no complaints of
> missing
> > symbols either,
> > unlike the other two builds) but does a hard
> lockup
> > on trying to access
> > the modem device. (this happens even if I boot
> SuSE
> > in 'failsafe' mode.)
> > The other two files, hda_codec.c and hda_codec2.c
> > are the two ALSA codec
> > files that have been modified to export the
> > read/write symbols for agrsm.
> > the former is from alsa-kernel/pci/hda/hda_codec.c
> > and the latter is
> > pci/hda/hda_codec.c
> >
> > So close... but yet so far. Hope we can figure
> this
> > out- I would hate to
> > have to go back to an earlier kernel version on my
> > laptop, since the
> > wireless is now finally working properly.
> >
> > Bjorn.
> >
> >
> >
> > Marvin Stodolsky wrote:
> > > Bjorn,
> > >
> > > It would be worth retesting the Agere Driver
> pair
> > with potential
> > > resource conflicts minimized.
> > > In /etc/discover.conf  comment out anything you
> > don't need.
> > > Also blacklist or unload any non-essential
> > modules.
> > > Then reboot and retest.
> > >  modprobe agrmodem
> > > may be harmless, as the IRQ is taken only upon
> > > modprobe agrserial
> > >
> > > Please report also to the List if successful.
> > >
> > > MarvS
> > >
> > >
> > > On Tue, Jun 24, 2008 at 6:00 AM, Mr.Bor de Tor
> > <uniacke1@xxxxxxxx> wrote:
> > >
> > >> Hi all,
> > >> I have succeeded in building the 2.1.80
> > >> agrmodem/agrserial pair (with
> > >>  HDA support) on my computer, and the modules
> > loaded
> > >> successfully!
> > >>  (However, running 'AgrMdmDaemon' hangs the
> > system.)'
> > >> No unresolved
> > >>  hda_codec_read/write symbol issues.
> > >>
> > >> Here's what I did:
> > >> 1. get the file
> 
=== message truncated ===> Hello, Bjorn
> 
> I had modified and had tested the source code modem
> in kernel 2.6.25.8
> with ALSA 1.0.17 and the modem works OK.
> 
> I attach the tar ball.
> 
> Two things... in kernel 2.6.25 and newer, the USB is
> GPL-symbol
> dependence, and this module is propietary, so i
> modified the
> MODULE_LICENSE(GPL), for not to have to recompile
> the kernel.
> Too is necessary to patch the ALSA with export
> symbols snd_hda_codec_read
> and snd_hda_codec_write
>
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/hda_symbols.patch
> and the modem works OK.
> 
> Also tested the original one_a1xx source code and
> work OK in kernel 2.6.26
> from kernel.org (that to have ALSA 1.0.16)
> 
> Regards.
> 
> ---------------------------- Mensaje original
> ----------------------------
> Asunto: Re: Agere 11c11040 module building success -
> 2.6.25.5
> De:     "Mr.Bor de Tor" <uniacke1@xxxxxxxx>
> Fecha:  Lun, 7 de Julio de 2008, 11:45 am
> Para:   "José Luis Díez Ruiz" <joseluis.diez@xxxxxx>
>
--------------------------------------------------------------------------
> 
> Hi Jose,
> The issue is that newer versions of ALSA handle the
> modem PCM streams differently, and as such, the
> agrsm
> driver requires a version of the snd-hda-intel
> module
> that is v. 1.0.15 or older. Using that info, I
> managed
> to get it working. (note that anything before 1.0.17
> won't compile easily on my machine)
> I'm currently in contact with Marv regarding my
> success with the modem working on 2.6.25, and once
> we've gotten the files and "paperwork" together,
> we'll
> make an official announcement to the list :)
> Thanks for all your help!
> Bjorn.
> 
> 
> --- José Luis Díez Ruiz <joseluis.diez@xxxxxx>
> wrote:
> 
> > Hello Bjorn,
> >
> > do you patch the HDA Alsa symbols? there is some
> > error there...
> >
> >
>
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/hda_symbols.patch
> >
> > patch it, recompile and reload snd-hda-codec
> module
> > and then recompile the
> > Agere driver, the module must load without force
> > options.
> >
> > The Alsa version 1.0.14 has these symbols, you can
> > test with it for to
> > confirm that the Agere driver works in your
> > hardware, and then to search
> > the Alsa error, although i think that your hda
> > symbols don't load
> > successfully.
> > For verify the symbols load correctly to do this:
> > grep -i
> > snd_hda_codec_read /proc/kallsyms and grep -i
> > snd_hda_codec_write
> > /proc/kallsyms
> >
> > Regards.
> >
> > ---------------------------- Mensaje original
> > ----------------------------
> > Asunto: [Fwd: Re: Agere 11c11040 module building
> > success - 2.6.25.5]
> > De:     "Bjorn Wielens" <Uniacke1@xxxxxxxx>
> > Fecha:  Vie, 4 de Julio de 2008, 11:13 pm
> > Para:   José Luis Díez Ruiz <joseluis.diez@xxxxxx>
> >
>
--------------------------------------------------------------------------
> >
> > Here are the results, as you requested- Hope you
> can
> > help me on 2.6.25 :)
> >
> > Bjorn
> >
> >
> > -------- Original Message --------
> > Subject: 	Re: Agere 11c11040 module building
> success
> > - 2.6.25.5
> > Date: 	Thu, 03 Jul 2008 18:15:10 -0300
> > From: 	Bjorn Wielens <Uniacke1@xxxxxxxx>
> > To: 	Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
> > CC: 	Linmodems <discuss@xxxxxxxxxxxxx>
> > References:
> > <790636.47090.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> >
>
<c27106ee0807030603w2d8f68f0v72e847f65f8833f@xxxxxxxxxxxxxx>
> >
> >
> >
> > Hi all,
> > As promised, here's the update and the logs.
> > This is a 32 bit system, kernel 2.6.25.5-pae
> > (openSuSE 11 default)
> > modem.log details the kernel OOPS I get caused by
> > modem-update-hda-structs.patch.
> > modem1.log details two attempts. The first with
> all
> > patches EXCEPT
> > modem-update-hda-structs.patch and
> > agrsm-hda_codec.patch.
> > This is the build that gives 'no stream' errors.
> > (see log)
> > The second half of the log (below the
> > ------------------------------ line)
> > details the attempt WITH the agrsm_hda_codec.patch
> > but without the
> > update-hda-structs patch.
> > This builds and loads fine (no complaints of
> missing
> > symbols either,
> > unlike the other two builds) but does a hard
> lockup
> > on trying to access
> > the modem device. (this happens even if I boot
> SuSE
> > in 'failsafe' mode.)
> > The other two files, hda_codec.c and hda_codec2.c
> > are the two ALSA codec
> > files that have been modified to export the
> > read/write symbols for agrsm.
> > the former is from alsa-kernel/pci/hda/hda_codec.c
> > and the latter is
> > pci/hda/hda_codec.c
> >
> > So close... but yet so far. Hope we can figure
> this
> > out- I would hate to
> > have to go back to an earlier kernel version on my
> > laptop, since the
> > wireless is now finally working properly.
> >
> > Bjorn.
> >
> >
> >
> > Marvin Stodolsky wrote:
> > > Bjorn,
> > >
> > > It would be worth retesting the Agere Driver
> pair
> > with potential
> > > resource conflicts minimized.
> > > In /etc/discover.conf  comment out anything you
> > don't need.
> > > Also blacklist or unload any non-essential
> > modules.
> > > Then reboot and retest.
> > >  modprobe agrmodem
> > > may be harmless, as the IRQ is taken only upon
> > > modprobe agrserial
> > >
> > > Please report also to the List if successful.
> > >
> > > MarvS
> > >
> > >
> > > On Tue, Jun 24, 2008 at 6:00 AM, Mr.Bor de Tor
> > <uniacke1@xxxxxxxx> wrote:
> > >
> > >> Hi all,
> > >> I have succeeded in building the 2.1.80
> > >> agrmodem/agrserial pair (with
> > >>  HDA support) on my computer, and the modules
> > loaded
> > >> successfully!
> > >>  (However, running 'AgrMdmDaemon' hangs the
> > system.)'
> > >> No unresolved
> > >>  hda_codec_read/write symbol issues.
> > >>
> > >> Here's what I did:
> > >> 1. get the file
> 
=== message truncated ===



      __________________________________________________________________
Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/

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

  Powered by Linux