Re: Compiling support for AGRSM 0x11c11040 - Fedora 9 - kernel 2.6.26.5-45

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

 



Zsolt,

Thanks for your attention.

I am thinking to go to a newer kernel version and more specifically
kernel-2.6.27.24-78.2.53.fc9.i686.
Any chances to make it working easily with this kernel and alsa 1.0.19 ?
Or ALSA 1.0.19 should be problem as well ?


Isamar




2009/06/12 4:14 に Zsolt László BÉRCZES<zsolt@xxxxxxxxxxxxx> さんは書きました:
> hi isamar,
> the http://linux.zsolttech.com/linmodem/agrsm/ hold thefirst quick and dirty
> hacked version of the driver for kernel 2.6.27.
> new version is at http://linux.zsolttech.com/linmodem/agrsm/Testing/
>
> think none of the versions will wor for you (kernel 2.6.26 and alsa 1.0.19)
> how important is it for you to get the modem working?
>
> tnx
> zsolt
>
> Am Friday 12 June 2009 05:04:31 schrieb Isamar Maia:
>> Marvin,
>>
>> Looks like they updated the site http://linux.zsolttech.com/linmodem/agrsm/
>> and now there are only support files for kernel => 2.6.27
>>
>> Should it work to 2.6.26 ?
>>
>> I tried to compile anyway, but now I have:
>>
>> make module
>> make -C /lib/modules/2.6.26.5-45.fc9.i686/build/
>> SUBDIRS=/producao/packages/agrsm/agrsm-2.1.80-4mdv2009.0 modules
>> make[1]: Entering directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
>>   CC [M]  /producao/packages/agrsm/agrsm-2.1.80-4mdv2009.0/serial26.o
>> /producao/packages/agrsm/agrsm-2.1.80-4mdv2009.0/serial26.c: In
>> function 'receive_chars':
>> /producao/packages/agrsm/agrsm-2.1.80-4mdv2009.0/serial26.c:990:
>> error: 'struct uart_info' has no member named 'port'
>> make[2]: *** [/producao/packages/agrsm/agrsm-2.1.80-4mdv2009.0/serial26.o]
>> Error 1
>> make[1]: *** [_module_/producao/packages/agrsm/agrsm-2.1.80-4mdv2009.0]
>> Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
>> make: *** [module] Error 2
>>
>> The structure "uart_info" was changed in 2.6.27 in
>> include/linux/serial_core.h
>>
>> https://www.linuxhq.com/kernel/v2.6/27-rc1/include/linux/serial_core.h
>>
>> Maybe, somebody can tell me how to change the references in serial26.c
>> to fit that in 2.6.26 solve
>> the compilation problem.
>>
>> Isamar
>>
>> 2009/6/10 Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
>> > Isamar,
>> >
>> > For 2.6.26 kernels, you should be able to use one of the dkms-agrsm
>> > packages. First install Fedora's dkms support. Then try from
>> > http://linux.zsolttech.com/linmodem/agrsm/
>> > install the dkms-agrsm-2.1.80-4mdv2009.0.i586.rpm
>> > See the example at
>> > http://linmodems.technion.ac.il/bigarch/archive-eighth/msg03863.html
>> >
>> > dkms automates compilation and installation of needed drivers upon
>> > kernel upgrade, provided the linux-headers are also installed.
>> >
>> > MarvS
>> >
>> > 2009/6/10 Isamar Maia <isamar@xxxxxxxxx>:
>> >> Hi Folks,
>> >>
>> >> Long time since my last post here. Thank you very much for all
>> >> collaboration and great results
>> >>  supporting several modems on Linux.
>> >>
>> >> I am trying to compile agrsm support for kernel 2.6.26.5-45.fc9.i686.
>> >> Using Fedora 9. Alsa-driver-1.0.19
>> >>
>> >> I cannot use different kernel and distro versions since it's a
>> >> customized OEM distro(respin) with several
>> >> dependencies and customizations.
>> >>
>> >> I am not getting to add the "EXPORT_SYMBOL"  lines as per described in
>> >> the item 2.2 of
>> >> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11
>> >>c11040-HDA.html
>> >>
>> >> When I add those lines and try to recompile the alsa kernel driver, I
>> >> get:
>> >>
>> >>
>> >> In file included from
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/hda_codec.c:2:
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:193: error: redefinition of '__kstrtab_snd_hda_codec_read'
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:34: error: previous definition of '__kstrtab_snd_hda_codec_read'
>> >> was here
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:193: error: redefinition of '__ksymtab_snd_hda_codec_read'
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:34: error: previous definition of '__ksymtab_snd_hda_codec_read'
>> >> was here
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:222: error: redefinition of '__kstrtab_snd_hda_codec_write'
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:35: error: previous definition of '__kstrtab_snd_hda_codec_write'
>> >> was here
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:222: error: redefinition of '__ksymtab_snd_hda_codec_write'
>> >> /usr/src/alsa/alsa-driver-1.0.19/pci/hda/../../alsa-kernel/pci/hda/hda_c
>> >>odec.c:35: error: previous definition of '__ksymtab_snd_hda_codec_write'
>> >> was here make[4]: ***
>> >> [/usr/src/alsa/alsa-driver-1.0.19/pci/hda/hda_codec.o] Error 1 make[3]:
>> >> *** [/usr/src/alsa/alsa-driver-1.0.19/pci/hda] Error 2 make[2]: ***
>> >> [/usr/src/alsa/alsa-driver-1.0.19/pci] Error 2
>> >> make[1]: *** [_module_/usr/src/alsa/alsa-driver-1.0.19] Error 2
>> >> make[1]: Leaving directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
>> >> make: *** [compile] Error 2
>> >>
>> >>
>> >> Any tip?
>> >>
>> >>
>> >> --
>> >> Isamar Maia
>> >> Brazil: 55-71-9146-8575
>> >>            55-71-4062-8688
>> >> 日本: +81-(0)3-4550-1212
>> >> "In a world without walls. Who needs windows and gates?"
>
>
>
> --
> Diese Nachricht wurde auf Viren und andere gef�hrliche Inhalte untersucht
> und ist - aktuelle Virenscanner vorausgesetzt - sauber.
> For all your IT requirements visit: http://www.ZsoltTech.Com
>
>



-- 
Isamar Maia
Brazil: 55-71-9146-8575
            55-71-4062-8688
日本: +81-(0)3-4550-1212
"In a world without walls. Who needs windows and gates?"


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

  Powered by Linux