2009/1/24 Joshua Gordon Crawford <jgcrawford@xxxxxxxxx>: > 2009/1/24 Zsolt BÉRCZES <zsolt@xxxxxx>: >> hi, >> >> you can find also tgz version at http://linux.zsolttech.com/linmodem/agrsm/ > > Thanks, I'll try it out on Monday morning, after I get home from work. After some minor trouble compiling (#ifdef's around prototypes but not the actual functions - error log and patch attached), I got it installed. I loaded the modules and ran AgrMdmDaemon, but unfortunately wvdialconf couldn't find the modem (it did try /dev/ttySAGR), and sending ATZ to the device had no effect (normally clicking sounds as the modem resets). -- Joshua Crawford ... http://geocities.com/mortarn http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn Be rewarded! Join RewardsCentral today!
--- agrsm-2.1.80-4mdv2009.0-orig/HDA.c 2008-12-09 00:03:33.000000000 +1100 +++ agrsm-2.1.80-4mdv2009.0/HDA.c 2009-01-26 11:50:34.000000000 +1100 @@ -357,6 +357,7 @@ snd_printk(KERN_ERR"return %x\n", rvalue return rvalue; } +#ifdef CONFIG_SND_HDA_POWER_SAVE void snd_hda_power_up(struct hda_codec *codec) { return; @@ -366,6 +367,7 @@ void snd_hda_power_down(struct hda_codec { return; } +#endif /** * snd_hda_codec_write - send a single command without waiting for response
make -C /lib/modules/`uname -r`/build/ SUBDIRS=/usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0 modules make[1]: Entering directory `/usr/src/linux-2.6.27.7' CC [M] /usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0/HDA.o /usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0/HDA.c:361: error: redefinition of ‘snd_hda_power_up’ /usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0/hda_codec.h:756: error: previous definition of ‘snd_hda_power_up’ was here /usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0/HDA.c:366: error: redefinition of ‘snd_hda_power_down’ /usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0/hda_codec.h:757: error: previous definition of ‘snd_hda_power_down’ was here make[2]: *** [/usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0/HDA.o] Error 1 make[1]: *** [_module_/usr/local/src/Drivers/modem/new/agrsm-2.1.80-4mdv2009.0] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27.7' make: *** [module] Error 2