Jack, For agrsm06pci-2.1.80~20100106, try changing MODULE_LICENSE("Proprietary") to MODULE_LICENSE("GPL") in the agrsoftmodem.c file and compile again. For agrsm-11c11040-2.1.80~20091225.tar.bz2, please send the patch of the changes you tried to make to remove/deactivate the HDA stuff. Please run commands: sudo modprobe -r agrserial sudo modprobe -r agrmodem make sudo make modules_install sudo modprobe agrmodem sudo modprobe agrserial sudo ln -sf /dev/ttyAGS3 /dev/modem sudo ln -sf /dev/ttyAGS3 /dev/ttySAGR and show the result of the following command: sudo wvdialconf /etc/wvdial.conf -- Nick Zhuravlev www.auriga.com On Fri, Jan 15, 2010 at 12:52:28AM +0800, M81011181 <m81011181@xxxxxxxxxxxx> wrote: > Hi Nick Zhuravlev & MarvS, > Just complete the try for your advice :) thanks~! > > I can't finished the driver compile for agrsm06pci-2.1.80~20100106, error messages as below:- > make -C /lib/modules/2.6.30.10-2_SMP.rhel5/build M=/home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106 modules > make[1]: Entering directory `/usr/src/linux-2.6.30.10-2_SMP.rhel5' > CC [M] /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem..o > /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function ‘agr_pci_find_device’: > /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:364: warning: ignoring return value of ‘pci_enable_device’, declared with attribute warn_unused_result > /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: At top level: > /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:486: warning: function declaration isn’t a prototype > /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:508: warning: function declaration isn’t a prototype > /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:518: warning: function declaration isn’t a prototype > /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:519: warning: function declaration isn’t a prototype > SHIPPED /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrmodemlib.o > CC [M] /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/hda.o > CC [M] /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/serial26.o > LD [M] /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrmodem.o > LD [M] /home/jack/rpmbuild/BUILD/agrsm06pci-2.1.80~20100106/agrserial.o > Building modules, stage 2. > MODPOST 2 modules > FATAL: modpost: GPL-incompatible module agrmodem.ko uses GPL-only symbol 'usb_put_dev' > make[2]: *** [__modpost] Error 1 > make[1]: *** [modules] Error 2 > > Then, I try another one, agrsm048pci-2.1.60_20100108, after compile the driver without error, I load the driver into the kernel, but the usb modem light is not turn on, > I check with the agrsoftmodem.c and find that there are no "USB_MODEM" code inside it , so, I think this version is not support for usb modem. > > I try the agrsm-11c11040-2.1.80~20091225.tar.bz2 again by remark the HDA stuff. and this time using minicom is not showing any > error message and will not hang up the screen, but later when I using wvdial to testing the modem, it show the below screen :- > [root@lenovo ~]# ln -s /dev/ttyAGS3 /dev/ttySAGR > [root@lenovo ~]# wvdial > --> WvDial: Internet dialer version 1.54.0 > --> Initializing modem. > --> Sending: ATZ > --> Sending: ATQ0 > --> Re-Sending: ATZ > --> Modem not responding. > > and the dmesg info :- > serial8250_register_ports: BaseAddress 0x0400 Irq 3 > ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModem > agrserial - ret_val 0, call: lt_modem_ops.init_modem > Loading module Agere Modem Interface driver version 2.1.80.0 (2007-10-01) > ==> codecType = 0x31 > BALA Usb_StartIsoDma pRecDmabuffer c0c00220 pPlayDmabuffer c0c00e20 > Uss_InitForUsingBulkEps() - download workaround > 70000a64: 20 > 70000a65: 14af > 70000a66: 2298 > 70000a67: 14af > 70000a68: 14b1 > 70000a69: 14af > 70000a6a: 14af > 70000a6b: 14af > * Download Bulk Patch! > ERROR status -32 > Reading gfunctable after bulk download @ addr 70000a64 > 70000a64: 20 > 70000a65: 14af > 70000a66: 2298 > 70000a67: 14af > 70000a68: 70001588 > 70000a69: 14af > 70000a6a: 14af > 70000a6b: 14af > USS_CMD_CHANGE_CLK command passed > Usb_BoostArmClock(): ARMCDR Reg= 20, clock running @ 7 Mhz > ERROR status -32 > BALA IsoUsb_StartIsoDma > reset enpoint 0x1 retVal 0 > reset enpoint 0x81 retVal 0 > x_usb_start_dma pRecDmabuffer c0c00220 pPlayDmabuffer c0c00e20 > ** i = 0 > ** i = 1 > > URBS 2 > x_usb_start_dma return > *** Usb_StartIsoDma End 100 > ERROR status -32 > ERROR status -32 > BALA Usb_StopIsoDma > x_usb_stop_dma > > STREAMING ENDED > Number of times Write/Read performed=1 > BALA Usb_StopIsoDma > x_usb_stop_dma > > STREAMING ENDED > Number of times Write/Read performed=1 > ==> codecType = 0x31 > >