Agere modem setup!!! HELP!!!

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

 



Help!

My ALSA modules is a version 1.0.17. I am using OpenSuse 11.1. I am trying
to setup a modem with Agere chipsets. My sound card is a Cmedia
CMI8738/C3DX PCIAudio Device which I never really got to work under
Linux.I did follow the HOWTO-Agere-11c11040-HDA axample up until step
number 6.

I get 2 Errors that I dont know how to deal with (Scroll down). Any advice
anybody?????


linux-5jhl:/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721 # make
module
make -C /lib/modules/`uname -r`/build/
SUBDIRS=/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
make -C ../../../linux-2.6.27.7-9
O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. modules
  CC [M] 
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.o
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?kill_proc_wrap?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:317:
error: implicit declaration of function ?kill_proc?
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?agr_pci_find_device?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:366:
warning: ?pci_find_device? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:550)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:369:
warning: ?pci_find_device? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:550)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?agr_pci_get_irq?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:383:
warning: ?pci_find_device? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:550)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_pcibios_read_config_byte?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:394:
warning: ?pci_find_slot? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:553)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_pcibios_read_config_word?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:397:
warning: ?pci_find_slot? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:553)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_pcibios_read_config_dword?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:400:
warning: ?pci_find_slot? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:553)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_pcibios_write_config_byte?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:403:
warning: ?pci_find_slot? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:553)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_pcibios_write_config_word?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:406:
warning: ?pci_find_slot? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:553)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_pcibios_write_config_dword?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:409:
warning: ?pci_find_slot? is deprecated (declared at
/usr/src/linux-2.6.27.7-9/include/linux/pci.h:553)
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_task_queue_init?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:448:
warning: assignment from incompatible pointer type
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_task_queue_init_usb?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:460:
warning: assignment from incompatible pointer type
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: At
top level:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:487:
warning: function declaration isn?t a prototype
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:513:
warning: function declaration isn?t a prototype
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:523:
warning: function declaration isn?t a prototype
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_usb_alloc_urb_kernel?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:527:
warning: no return statement in function returning non-void
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: At
top level:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:528:
warning: function declaration isn?t a prototype
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_usb_alloc_urb_atomic?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:532:
warning: no return statement in function returning non-void
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_usb_get_dev?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:577:
warning: no return statement in function returning non-void
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_usb_buffer_alloc_atomic?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:617:
warning: no return statement in function returning non-void
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c: In
function ?x_usb_buffer_alloc_kernel?:
/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.c:623:
warning: no return statement in function returning non-void
make[4]: ***
[/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721/agrsoftmodem.o]
Error 1
make[3]: ***
[_module_/mnt/Boitumedisho/Temp/FireFoxDownloads/agrsm-20080721] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
make: *** [module] Error 2




Kaymo,

This route is easier:
----
For kernels 2.6.26 and later, there best route is to
Install the dkms support package provided by your Linux distro.
Then from http://linux.zsolttech.com/linmodem/agrsm/Devel/
get the latest dkms-agrsm*.rpm package. See for an example:
    http://linmodems.technion.ac.il/bigarch/archive-eighth/msg03863.htm
-----

The
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
is only necessary for older kernels.

Please send to the List not me directly, as others are more expert on
this modem type.

MarvS

On Mon, Mar 16, 2009 at 5:21 PM,  <kaymo@xxxxxxxxxxxxx> wrote:
> Hi MarvS,
>
> Slow down!!! I am not that much of a pro, so I will need step bey step
> guidance, I am still heavily depend on Windows to use my PC and I want to
> change that.
>
> So for step by step guidance, I tried to follow the instructions given on
> the link below,
>
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
>
> only to realize that step number 2 was cumbersome cause on my distro
> (opensuse 11 - ASSUME the kernel is 2.6.27.7-9) there is no
> /sound/pci/hda/hda_codec.c  that is given on step 2 below.
>
> Step 2: Patch your sound driver file hda_codec.cto for export symbols
> needed by the drivers:
>
>   1. Use your favourite PLAIN TEXT editor, such as vi or gedit, and with
> root permission. This file is typically located at
> /usr/src/linux/sound/pci/hda/hda_codec.c
>   2. Add the lines EXPORT_SYMBOL(snd_hda_codec_read); and
> EXPORT_SYMBOL(snd_hda_codec_write); to the file, after the list of
> '#include' statements in the beginning.
>   3. Save the file.
>
> I am stuck there,
> and by the way is 11c11040 / 11c1:0620 the Agere chipset??? Mine is not
> hosted on a soundcard I bought a internal modem.
>
> I did download the files you provided links for, problem is I am not sure
> how to go froward from here.
>
>
>
>
>> Kaymo,
>>
>>  Compiling is necessary packages must be installed, providing:
>>       gcc-4.3  kernel-source-2.6.27.7-9-pae
>>
>> Then for the modem with chipset
>> 11c1:0620     Communication controller: Agere Systems Device
>>
>> For kernels 2.6.26 and later, there best route is to
>> Install the dkms support package provided by your Linux distro.
>> Then from http://linux.zsolttech.com/linmodem/agrsm/Devel/
>> get the latest dkms-agrsm*.rpm package. See for an example:
>>      http://linmodems.technion.ac.il/bigarch/archive-eighth/msg03863.htm
>>
>> The benefit of the dkms approach is that with future kernel updates,
>> the driver updates  will be automatic on your System
>>
>> Write back if  problems arise.
>>
>> MarvS
>>
>>
>> On Fri, Mar 13, 2009 at 1:33 AM,  <kaymo@xxxxxxxxxxxxx> wrote:
>>>
>>> Hi,
>>>
>>> I am using openSUSE 11.1 which did not auto-detect my modem. The modem
>>> uses Agere chipset (V.92 56kbps PCI Modem), to connect to a dial up
>>> network.I have attached the modem data text file
>>>
>>>
>>>
>>>
>>>
>>> -------------------------------------------
>>> South Africas premier free email service - www.webmail.co.za
>>> ------------------------------------------------------------------
>>> R30000 funeral cover for the whole Family. SMS webmail to 32909
>>
>
>
>
> -------------------------------------------
> South Africas premier free email service - www.webmail.co.za
> ------------------------------------------------------------------
> R30000 funeral cover for the whole Family. SMS webmail to 32909
>
>


-------------------------------------------
South Africas premier free email service - www.webmail.co.za 
------------------------------------------------------------------
Funeral cover 4 the family http://clients.wm.co.za/20024889/default.htm


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

  Powered by Linux