Re: Prolink 1456PVA and 1456PSA : Dityo, Indonesia

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

 



Antonio,

After following your instructions, I have compilation problems for the
agere modem. the agrmodem and agrserial cannot be found. Below is the
compilation result.

Regards,

Dityo
-------------------------------------------------------------------------------------------------------------------------------------
linux-zde1:/home/dityo/Downloads # tar -xvjf agrsm-HDA-20080721.tar.bz2
agrsm-20080721/
agrsm-20080721/Makefile
agrsm-20080721/agrinst
agrsm-20080721/8250.h
agrsm-20080721/.agrserial.ko.cmd
agrsm-20080721/agr_auxinst
agrsm-20080721/hda_codec.h
agrsm-20080721/HDA.c
agrsm-20080721/.agrmodem.o.cmd
agrsm-20080721/.agrmodem.mod.o.cmd
agrsm-20080721/Module.symvers
agrsm-20080721/modules.order
agrsm-20080721/README
agrsm-20080721/.tmp_versions/
agrsm-20080721/.tmp_versions/agrserial.mod
agrsm-20080721/.tmp_versions/agrmodem.mod
agrsm-20080721/LICENSE
agrsm-20080721/serial26.c
agrsm-20080721/.agrserial.o.cmd
agrsm-20080721/.HDA.o.cmd
agrsm-20080721/agrmodemlib.o
agrsm-20080721/linuxif.h
agrsm-20080721/.agrserial.mod.o.cmd
agrsm-20080721/config.h
agrsm-20080721/agr_softmodem
agrsm-20080721/.agrmodem.ko.cmd
agrsm-20080721/agruninst
agrsm-20080721/AgereMdmDaemon
agrsm-20080721/agrmodem.h
agrsm-20080721/.agrsoftmodem.o.cmd
agrsm-20080721/.serial26.o.cmd
agrsm-20080721/agrsoftmodem.c
linux-zde1:/home/dityo/Downloads # cd agrsm-20080721/
linux-zde1:/home/dityo/Downloads/agrsm-20080721 # make module
make -C /lib/modules/`uname -r`/build/
SUBDIRS=/home/dityo/Downloads/agrsm-20080721 modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make -C /usr/src/linux-2.6.25.5-1.1
O=/usr/src/linux-2.6.25.5-1.1-obj/i386/pae/. modules
  CC [M]  /home/dityo/Downloads/agrsm-20080721/agrsoftmodem.o
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘agr_pci_find_device’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:366: warning:
‘pci_find_device’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:504)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:369: warning:
‘pci_find_device’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:504)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘agr_pci_get_irq’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:383: warning:
‘pci_find_device’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:504)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_pcibios_read_config_byte’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:394: warning:
‘pci_find_slot’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:507)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_pcibios_read_config_word’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:397: warning:
‘pci_find_slot’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:507)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_pcibios_read_config_dword’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:400: warning:
‘pci_find_slot’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:507)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_pcibios_write_config_byte’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:403: warning:
‘pci_find_slot’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:507)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_pcibios_write_config_word’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:406: warning:
‘pci_find_slot’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:507)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_pcibios_write_config_dword’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:409: warning:
‘pci_find_slot’ is deprecated (declared at
/usr/src/linux-2.6.25.5-1.1/include/linux/pci.h:507)
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_task_queue_init’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:448: warning:
assignment from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_task_queue_init_usb’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:460: warning:
assignment from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: At top level:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:487: warning:
function declaration isn’t a prototype
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:513: warning:
function declaration isn’t a prototype
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:523: warning:
function declaration isn’t a prototype
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_usb_alloc_urb_kernel’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:527: warning: no
return statement in function returning non-void
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: At top level:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:528: warning:
function declaration isn’t a prototype
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_usb_alloc_urb_atomic’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:532: warning: no
return statement in function returning non-void
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_usb_get_dev’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:577: warning: no
return statement in function returning non-void
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_usb_buffer_alloc_atomic’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:617: warning: no
return statement in function returning non-void
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: In function
‘x_usb_buffer_alloc_kernel’:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:623: warning: no
return statement in function returning non-void
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c: At top level:
/home/dityo/Downloads/agrsm-20080721/agrsoftmodem.c:133: warning:
‘uss_driver’ defined but not used
  CC [M]  /home/dityo/Downloads/agrsm-20080721/HDA.o
/home/dityo/Downloads/agrsm-20080721/HDA.c:216: warning: function
declaration isn’t a prototype
/home/dityo/Downloads/agrsm-20080721/HDA.c: In function ‘GetHDABaseAddress’:
/home/dityo/Downloads/agrsm-20080721/HDA.c:227: warning: assignment
makes integer from pointer without a cast
/home/dityo/Downloads/agrsm-20080721/HDA.c:229: warning: return makes
pointer from integer without a cast
/home/dityo/Downloads/agrsm-20080721/HDA.c:219: warning: unused
variable ‘codec_temp’
/home/dityo/Downloads/agrsm-20080721/HDA.c: In function ‘HDAdump’:
/home/dityo/Downloads/agrsm-20080721/HDA.c:244: warning: format
‘%x’ expects type ‘unsigned int’, but argument 4 has type
‘void *’
/home/dityo/Downloads/agrsm-20080721/HDA.c:248: warning: format
‘%08X’ expects type ‘unsigned int’, but argument 5 has type
‘long unsigned int’
/home/dityo/Downloads/agrsm-20080721/HDA.c:248: warning: format
‘%08X’ expects type ‘unsigned int’, but argument 6 has type
‘long unsigned int’
/home/dityo/Downloads/agrsm-20080721/HDA.c:248: warning: format
‘%08X’ expects type ‘unsigned int’, but argument 7 has type
‘long unsigned int’
/home/dityo/Downloads/agrsm-20080721/HDA.c:248: warning: format
‘%08X’ expects type ‘unsigned int’, but argument 8 has type
‘long unsigned int’
/home/dityo/Downloads/agrsm-20080721/HDA.c:239: warning: unused
variable ‘codec_temp’
/home/dityo/Downloads/agrsm-20080721/HDA.c: In function ‘setResumeCallBack’:
/home/dityo/Downloads/agrsm-20080721/HDA.c:287: warning: assignment
from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/HDA.c:288: warning: assignment
from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/HDA.c: In function
‘setSuspendCallBack’:
/home/dityo/Downloads/agrsm-20080721/HDA.c:293: warning: assignment
from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/HDA.c:294: warning: assignment
from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/HDA.c: At top level:
/home/dityo/Downloads/agrsm-20080721/HDA.c:298: warning: function
declaration isn’t a prototype
/home/dityo/Downloads/agrsm-20080721/HDA.c: In function
‘resetResumeCallBack’:
/home/dityo/Downloads/agrsm-20080721/HDA.c:299: warning: assignment
from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/HDA.c: At top level:
/home/dityo/Downloads/agrsm-20080721/HDA.c:303: warning: function
declaration isn’t a prototype
/home/dityo/Downloads/agrsm-20080721/HDA.c: In function
‘resetSuspendCallBack’:
/home/dityo/Downloads/agrsm-20080721/HDA.c:304: warning: assignment
from incompatible pointer type
/home/dityo/Downloads/agrsm-20080721/HDA.c: In function ‘findHDACodec’:
/home/dityo/Downloads/agrsm-20080721/HDA.c:278: warning: control
reaches end of non-void function
  CC [M]  /home/dityo/Downloads/agrsm-20080721/serial26.o
  LD [M]  /home/dityo/Downloads/agrsm-20080721/agrmodem.o
  LD [M]  /home/dityo/Downloads/agrsm-20080721/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/home/dityo/Downloads/agrsm-20080721/.agrmodemlib.o.cmd for
/home/dityo/Downloads/agrsm-20080721/agrmodemlib.o
WARNING: "snd_hda_codec_write"
[/home/dityo/Downloads/agrsm-20080721/agrmodem.ko] undefined!
WARNING: "snd_hda_codec_read"
[/home/dityo/Downloads/agrsm-20080721/agrmodem.ko] undefined!
  CC      /home/dityo/Downloads/agrsm-20080721/agrmodem.mod.o
  LD [M]  /home/dityo/Downloads/agrsm-20080721/agrmodem.ko
  CC      /home/dityo/Downloads/agrsm-20080721/agrserial.mod.o
  LD [M]  /home/dityo/Downloads/agrsm-20080721/agrserial.ko
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'

linux-zde1:/home/dityo/Downloads/agrsm-20080721 # make install

./agrinst
Installing Agere Softmodem driver version 2.1.80-Red Flag NE 5.0
copying agrmodem.ko and agrserial.ko to
/lib/modules/2.6.25.5-1.1-pae/kernel/drivers/char
Copying installation components to /usr/lib/AgereSoftModem
Usage
 of Agere Softmodem driver is subject to acceptance of EULA as stated
in /usr/lib/AgereSoftModem/LICENSE

Agere Systems Soft Modem End User SOFTWARE LICENSE AGREEMENT

Starting Agere Soft Modem
FATAL: Module agrmodem not found.
FATAL: Module agrserial not found.

linux-zde1:/home/dityo/Downloads/agrsm-20080721 #
---------------------------------------------------------------------------------------------------------------------------------
On Tue, Sep 16, 2008 at 11:12 AM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Dityo,
>
>
> It appears that you have two modems,
>
> For this one:
>
> For candidate modem in:  02:0b.0
>  0780 Communication controller: Agere Systems Device 0620
>    Primary device ID:  11c1:0620
> Support type needed or chipset: SV2P
>
> AGRSM - At http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
>  Compiling resources for a driver module pair: agrmodem.ko + agrserial.ko
>  Use the  agrsm-HDA-20080721-ALSA15.tar.bz2 or agrsm-HDA-20080721.tar.bz2
>  Read the agrsm_howto.txt.  For 11c11040 chips, also the
> HOWTO-Agere-11c11040-HDA.html
>
> But you need to install kernel-headers and a compiler:
>
>
> The kernel was compiled with gcc version 4.3.1 and a
> compiler is not installed
>
>  linux-headers-2.6.25.5-1.1-pae resources needed for
> compiling are not
> manifestly ready!
>
>  If compiling is necessary packages must be installed,
> providing:
>        gcc-4.3 make kernel-source-2.6.25.5-1.1-pae
>
> For the other modem:
>
>  For candidate modem in:  02:0a.0
>   0703 Modem: SILICON Laboratories Intel 537 [Winmodem]
>      Primary device ID:  1543:3052
>  Support type needed or chipset:        Motorola_on_1543:3052
>
> I am not really sure if to recommend you the INTEL 537 driver from here:
>
> http://linmodems.technion.ac.il/packages/Intel/537/Intel-537EP-2.70.95.0-for-2.6.20.tar.gz
>
> The information does not seem right, a Motorola with Intel Combination?
>
> Regards,
>
> Antonio
>


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

  Powered by Linux