Hi, They clearly are not being exported, otherwise you would not see the output "[ 2430.810061] agrmodem: Unknown symbol snd_hda_codec_write" in the result of 'dmesg'. The commented code serves to make the modules compatible with their proprietary licence. Newer kernels do not allow modules with a proprietary licence to access certain USB function calls. Since we are not dealing with a USB modem, these function calls have been commented out. Bjorn. Maykel Moya wrote: > El lun, 13-10-2008 a las 16:28 -0300, Bjorn Wielens escribió: > >> Hm... Looks like the snd-hda-intel module wasn't patched correctly. >> Please re-built it. (Steps 1-3 in the 11c11040 HOWTO.) >> Bjorn. > > I think I already have those symbols exported. After reading the > EXPORT_SYMBOL[1] macro I can infer (not assure, just infer) that the > existence of the symbol __ksymtab_<name> in a given .ko implies that > <name> was EXPORT_SYMBOL'ed in that .ko. > > Another thing that call my attention is that modprobe also complains > about symbol snd_cards. That symbol is exported in alsa code. > > Could you explain me please the meaning of the commented NONGPL macro > inside agrsoftmodem.c? > > Regards, > maykel > > [1] http://lxr.linux.no/linux+v2.6.27/include/linux/module.h#L189 > > root@emma:~# modinfo snd-hda-intel |egrep filename > filename: /lib/modules/2.6.27-6-generic/updates/alsa/pci/hda/snd-hda-intel.ko > > root@emma:~# > nm /lib/modules/2.6.27-6-generic/updates/alsa/pci/hda/snd-hda-intel.ko | > egrep snd_hda_codec_[rw] > d8ad869b A __crc_snd_hda_codec_read > ee8232ba A __crc_snd_hda_codec_write > 00000004 r __kcrctab_snd_hda_codec_read > 00000000 r __kcrctab_snd_hda_codec_write > 00000014 r __kstrtab_snd_hda_codec_read > 00000000 r __kstrtab_snd_hda_codec_write > 00000008 r __ksymtab_snd_hda_codec_read > 00000000 r __ksymtab_snd_hda_codec_write > 00002800 T snd_hda_codec_read > 000025e0 T snd_hda_codec_resume_amp > 00002570 T snd_hda_codec_resume_cache > 00002500 T snd_hda_codec_write > 000042e0 T snd_hda_codec_write_cache > > >
Attachment:
signature.asc
Description: OpenPGP digital signature