You don't need to compile, when using agrsm-11c11040_20091225_i386.deb, the DKMS system will manage all, per below MarvS $ sudo dkms remove -m agrsm048pci -v 2.1.60 --all [sudo] password for marv: -------- Uninstall Beginning -------- Module: agrsm048pci Version: 2.1.60 Kernel: 2.6.31-21-generic (i686) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel. agrmodem.ko: - Uninstallation - Deleting from: /lib/modules/2.6.31-21-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. agrserial.ko: - Uninstallation - Deleting from: /lib/modules/2.6.31-21-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. depmod...... DKMS: uninstall Completed. -------- Uninstall Beginning -------- Module: agrsm048pci Version: 2.1.60 Kernel: 2.6.32-22-generic (i686) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel. agrmodem.ko: - Uninstallation - Deleting from: /lib/modules/2.6.32-22-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. agrserial.ko: - Uninstallation - Deleting from: /lib/modules/2.6.32-22-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. depmod...... DKMS: uninstall Completed. ------------------------------ Deleting module version: 2.1.60 completely from the DKMS tree. ------------------------------ Done. marv@marvmac:~$ cd pkg/agrsm/1040 marv@marvmac:~/pkg/agrsm/1040$ ls 11c11040_2.6.32.1.patch agrsm-2.1.80-10mdv2009.0 agrsm-2.6.30.tar.bz2 agrsm-test.txt dkms-agrsm-SOURCE-2.1.80-9mdv2009.0.tgz agrsm-11c11040_20091225_i386.deb agrsm-2.1.80-10mdv2009.0.tar.gz agrsm-2.6.32 agrsoftmodem.c.0 agrsm-11c11040-2.1.80 agrsm-2.1.80-11c11040-20091225 agrsm-installer deb agrsm-11c11040-2.1.80~20091225.tar.bz2 agrsm-2.1.80-9mdv2009.0 agrsmlib.rar dkms-agrsm-2.1.80 marv@marvmac:~/pkg/agrsm/1040$ sudo dpkg -i agrsm-11c11040_20091225_i386.deb (Reading database ... 424176 files and directories currently installed.) Preparing to replace agrsm-11c11040 20091225 (using agrsm-11c11040_20091225_i386.deb) ... Error! There are no instances of module: agrsm-11c11040 2.1.80 located in the DKMS tree. The DKMS driver autocompiling package is installed. The drivers source code is being installed to the folder /usr/src/agrsm-11c11040-2.1.80 Then the drivers will be compiled and installed by the dkms tool provided that your System has adequate compiling support. Following kernel upgrades, complementary drivers will be automatically compiled and installed. Unpacking replacement agrsm-11c11040 ... Setting up agrsm-11c11040 (20091225) ... kboot=2.6.32-22-generic DKMS support found. Attempting drivers compilation and installation using DKMS actions on: Creating symlink /var/lib/dkms/agrsm-11c11040/2.1.80/source -> /usr/src/agrsm-11c11040-2.1.80 DKMS: add Completed. Kernel preparation unnecessary for this kernel. Skipping... applying patch GPL.patch...patching file agrsoftmodem.c Building module: cleaning build area.... make KERNELRELEASE=2.6.32-22-generic -C /lib/modules/2.6.32-22-generic/build M=/var/lib/dkms/agrsm-11c11040/2.1.80/build...... cleaning build area.... DKMS: build Completed. agrmodem.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/ agrserial.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/2.6.32-22-generic/updates/dkms/ depmod.... DKMS: install Completed. For a first functional test, run: sudo agrsm-test The following test fails, as my System lacks the modem hardware: 0$ sudo agrsm-test Found drivers for boot kernel 2.6.32-22-generic at: /lib/modules/2.6.32-22-generic/updates/dkms/agrserial.ko /lib/modules/2.6.32-22-generic/updates/dkms/agrmodem.ko Loading drivers: Drivers loaded: agrserial 10267 0 agrmodem 1250020 1 snd_hda_codec 74201 3 agrmodem,snd_hda_codec_realtek,snd_hda_intel snd 54148 19 agrmodem,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device and symbolic link created: lrwxrwxrwx 1 root root 12 2010-05-12 18:51 /dev/ttySAGR -> /dev/ttyAGS3 Checking for utility wvdialconf Found /usr/bin/wvdialconf, preparing to run: wvdialconf /etc/wvdial.conf A file /etc/wvdial.conf already exists, first renaming to /etc/wvdial.201005125105 Modem Port Scan<*1>: S0 S1 S2 S3 ttySAGR<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttySAGR<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. A reboot may be necessary before modem detection through: sudo modprobe agrserial Which will load agrmodem, agrserial and create the symbolic link needed for: sudo wvdialconf The installation record has been written to ./agrsm-test.txt On Wed, May 12, 2010 at 9:04 AM, Olemis Lang <olemis@xxxxxxxxx> wrote: > On 5/11/10, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: >> First install DKMS support >> Then from http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ get >> agrsm-11c11040_20091225_i386.deb >> agrsm-tools.deb >> agrsm-howto.txt >> >> Then install the deb packages with: >> $ sudo dpkg -i ag*.deb >> >> MarvS >> > > Thnx Marvin for the pointer , however as you can see in my previous > message I mentioned that I could not compile kernel modules after > applying the patch . Any thoughts ? > > Help will be appreciated. Thnx in advance ! > > -- > Regards, > > Olemis. > > Blog ES: http://simelo-es.blogspot.com/ > Blog EN: http://simelo-en.blogspot.com/ > > Featured article: >