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 > >> > >> > http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-2.1.80-2mdv2009.0.src.rpm > >> from the 11c11040 pit of the linmodems site. > >> > >> Make sure it's the .src.rpm file. > >> > >> convert to cpio with 'rpm2cpio > >> agrsm-2.1.80-2mdv2009.0.src.rpm > > >> agrsm-2.1.80-2mdv2009.0.cpio > >> > >> extract: cpio -i < agrsm-2.1.80-2mdv2009.0.cpio > >> > >> There are a multitude of patch files included in > the > >> src. RPM. apply > >> ALL of them. This fixes the IRQ flags, among > other > >> things. > >> > >> If you run make at this stage, then it will fail > >> because the module > >> uses a GPL-only function call - usb_put_dev. > There > >> are various ways to > >> bypass this, either by commenting out the line > in > >> question, or my > >> unorthodox (and lazy) method of editing the > >> MODULE_LICENSE line in > >> agrsoftmodem.c. > >> > >> run make module. > >> The modules built for me on 2.6.25.5 and they > load > >> fine. Dmesg shows > >> that the modem is detected. /dev/ttyAGS3 > appears. > >> > >> However, if I try to run the modem daemon > >> ./AgrMdmDaemon, it locks the > >> entire system and requires a hard reset. > >> > >> Hope this helps someone to get it going! > >> > >> Bjorn. > >> > >> > >> > >> > __________________________________________________________________ > >> Be smarter than spam. See how smart SpamGuard is > at giving junk email > the boot with the All-new Yahoo! Mail. Click on > Options in Mail and > switch to New Mail today or register for free at > http://mail.yahoo.ca > >> > >> > > > > > > __________________________________________________________________ Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/
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 > >> > >> > http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-2.1.80-2mdv2009.0.src.rpm > >> from the 11c11040 pit of the linmodems site. > >> > >> Make sure it's the .src.rpm file. > >> > >> convert to cpio with 'rpm2cpio > >> agrsm-2.1.80-2mdv2009.0.src.rpm > > >> agrsm-2.1.80-2mdv2009.0.cpio > >> > >> extract: cpio -i < agrsm-2.1.80-2mdv2009.0.cpio > >> > >> There are a multitude of patch files included in > the > >> src. RPM. apply > >> ALL of them. This fixes the IRQ flags, among > other > >> things. > >> > >> If you run make at this stage, then it will fail > >> because the module > >> uses a GPL-only function call - usb_put_dev. > There > >> are various ways to > >> bypass this, either by commenting out the line > in > >> question, or my > >> unorthodox (and lazy) method of editing the > >> MODULE_LICENSE line in > >> agrsoftmodem.c. > >> > >> run make module. > >> The modules built for me on 2.6.25.5 and they > load > >> fine. Dmesg shows > >> that the modem is detected. /dev/ttyAGS3 > appears. > >> > >> However, if I try to run the modem daemon > >> ./AgrMdmDaemon, it locks the > >> entire system and requires a hard reset. > >> > >> Hope this helps someone to get it going! > >> > >> Bjorn. > >> > >> > >> > >> > __________________________________________________________________ > >> Be smarter than spam. See how smart SpamGuard is > at giving junk email > the boot with the All-new Yahoo! Mail. Click on > Options in Mail and > switch to New Mail today or register for free at > http://mail.yahoo.ca > >> > >> > > > > > > __________________________________________________________________ Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/
Attachment:
agere_modem-alsa17.tgz
Description: application/compressed-tar