11c11040 modem chipset : Agere D40

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

 



Hello, list,

i tested this driver (kernel source driver)
http://service.one.de/download/index.php?&direction=0&order=&directory=NOTEBOOKS/ONE_A1xx/Linux%20Drivers/Source-code/Modem
for Red Flag in 2.6.21 branch of kernel.org, and the modem works OK.

So, i'm now looking the source code driver for adapt it a other kernels,
at the moment i testing with 2.6.22-14 of Ubuntu.

Regards,

Jose Luis Diez

---------------------------- Mensaje original ----------------------------
Asunto: Re: 11c11040 modem chipset : Agere D40 agrmodemlib.o
De:     "Antonio Olivares" <olivares14031@xxxxxxxxx>
Fecha:  Mar, 24 de Junio de 2008, 2:30 am
Para:   "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx>
Cc:     "Linmodems" <discuss@xxxxxxxxxxxxx>
        "FA" <fas65@xxxxxxxxxxxxxxxxxxx>
--------------------------------------------------------------------------

On 6/23/08, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
> Antonio,
>     I'm not helpful of more help from LSI beyond this code release.
> They will develop Linux code, when some sponsor is willing to pay for
> it, usually a large buyer of their chipsets.  They are obligated to be
> a Profit Making orgnization,
> and code development is Expensive.  Doing updates with the evolution
> of the Linux kernel is another follow through Expense.
>
> While there are folks at LSI  who wish us well/luck on the code they
> have released,
> again. they are both obligated to protect their core intellectual
> property (as precompiled binaries) and also, to make profit for their
> stockholders.
>
> With respect to the USB warnings, they can likely be commented out of the
> code.
I do not mind the USB warnings, I have seen them before :)
> The unresolved symbols issue is much more difficult.
I wonder if it is alsa related.  If I need to have the ALSA,
ALSA-DEVEL packages installed.  I have seen that sound is something
that I cannot take for granted on this machine.  I only used this
machine at school and connected with wired ethernet cable.  I only
tried the code to see if it would work and so that others would/could
benefit from it.  I run Fedora rawhide on that machine and since end
of May has not been updated.  I like to run Slax to test stuff and the
tests were done with SLAX.  The kernel sources in slax are stripped a
little bit, maybe on Ubuntu it could work.  I tried to install Ubuntu
on one of my machines, but I failed to do so.  Both Kubuntu, and
Xubuntu failed, also Fedora 9.  I would like to test some more, but I
do not know if I should get the alsa, alsa-devel for 1.0.16 and
install those and see if that helps get the  modem working.  It
defintely uses alsa since it has an HDA part.  Maybe that is what is
needed to get the drivers working.

As far as the kernel version, slax will likely move to a newer kernel
2.6.25.X or 2.6.26 based kernel and make the compilation of this code
more difficult.

Again I will repeat this I hope someone can contact LSI and let them know:

Kernel developers can make drivers for free, they just have to open up
their assests, if they decide to not open source, then they are
proprietary and can lose other customers.  Problem is that drivers
already exist for the other OS and not for linux, what can we do to
pressure these guys to do what the kernel developers want.

http://news.yahoo.com/s/pcworld/20080623/tc_pcworld/147430

Nvidia does not want to cooperate,

http://blogs.zdnet.com/open-source/?p=2587

In another releated page:

http://www.infoworld.com/article/08/06/23/Linux_kernel_developers_Say_no_to_closed-source_modules_1.html?source=rss&url=http://www.infoworld.com/article/08/06/23/Linux_kernel_developers_Say_no_to_closed-source_modules_1.html

``Vendors should open source their modules because they will be
optimized by going through the kernel review process, according to the
developers.
Help is available for this process, as the Linux Driver Project group
will write drivers for vendors at no charge, the site notes.
The Linux Foundation has also published a long essay espousing the
benefits of developing device drivers by the Linux model.''

I encourage other users to try and maybe they will be succesfull.  I
know that I am close to achieve a working 11c11040 other than Red Flag
kernel 2.6.21???

But the symbols part makes it very difficult to find the area which
kills it off.

Regards,

Antonio
>
> MarvS
>
>
>
> On Mon, Jun 23, 2008 at 6:00 PM, Antonio Olivares
> <olivares14031@xxxxxxxxx> wrote:
>> I am closer than ever, but the unresolved symbol is what is killing
>> the module(s) from working.
>>
>> I know why I got permission denied..  file agrinst was not executable.
>>  and fixed by doing
>> # chmod +x agrinst
>>
>> I also made some of the other files executable like
>>
>> agruninst, and others there that needed to be.
>>
>> root@slax:~/src# make module
>> make -C /lib/modules/`uname -r`/build/ SUBDIRS=/root/src modules
>> make[1]: Entering directory `/usr/src/linux-2.6.24.5'
>>
>>  WARNING: Symbol version dump /usr/src/linux-2.6.24.5/Module.symvers
>>           is missing; modules will have no dependencies and modversions.
>>
>>  CC [M]  /root/src/agrsoftmodem.o
>> /root/src/agrsoftmodem.c: In function 'x_request_irq':
>> /root/src/agrsoftmodem.c:276: warning: passing argument 2 of
>> 'request_irq' from incompatible pointer type
>> /root/src/agrsoftmodem.c: In function 'agr_pci_find_device':
>> /root/src/agrsoftmodem.c:358: warning: 'pci_find_device' is deprecated
>> (declared at include/linux/pci.h:492)
>> /root/src/agrsoftmodem.c:361: warning: 'pci_find_device' is deprecated
>> (declared at include/linux/pci.h:492)
>> /root/src/agrsoftmodem.c:360: warning: ignoring return value of
>> 'pci_enable_device', declared with attribute warn_unused_result
>> /root/src/agrsoftmodem.c: In function 'agr_pci_get_irq':
>> /root/src/agrsoftmodem.c:375: warning: 'pci_find_device' is deprecated
>> (declared at include/linux/pci.h:492)
>> /root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_byte':
>> /root/src/agrsoftmodem.c:386: warning: 'pci_find_slot' is deprecated
>> (declared at include/linux/pci.h:493)
>> /root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_word':
>> /root/src/agrsoftmodem.c:389: warning: 'pci_find_slot' is deprecated
>> (declared at include/linux/pci.h:493)
>> /root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_dword':
>> /root/src/agrsoftmodem.c:392: warning: 'pci_find_slot' is deprecated
>> (declared at include/linux/pci.h:493)
>> /root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_byte':
>> /root/src/agrsoftmodem.c:395: warning: 'pci_find_slot' is deprecated
>> (declared at include/linux/pci.h:493)
>> /root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_word':
>> /root/src/agrsoftmodem.c:398: warning: 'pci_find_slot' is deprecated
>> (declared at include/linux/pci.h:493)
>> /root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_dword':
>> /root/src/agrsoftmodem.c:401: warning: 'pci_find_slot' is deprecated
>> (declared at include/linux/pci.h:493)
>> /root/src/agrsoftmodem.c: In function 'x_task_queue_init':
>> /root/src/agrsoftmodem.c:440: warning: assignment from incompatible
>> pointer type
>> /root/src/agrsoftmodem.c: In function 'x_task_queue_init_usb':
>> /root/src/agrsoftmodem.c:452: warning: assignment from incompatible
>> pointer type
>> /root/src/agrsoftmodem.c: At top level:
>> /root/src/agrsoftmodem.c:479: warning: function declaration isn't a
>> prototype
>> /root/src/agrsoftmodem.c:501: warning: function declaration isn't a
>> prototype
>> /root/src/agrsoftmodem.c:511: warning: function declaration isn't a
>> prototype
>> /root/src/agrsoftmodem.c:512: warning: function declaration isn't a
>> prototype
>>  CC [M]  /root/src/HDA.o
>> /root/src/HDA.c:208: warning: function declaration isn't a prototype
>> /root/src/HDA.c: In function 'GetHDABaseAddress':
>> /root/src/HDA.c:219: warning: assignment makes integer from pointer
>> without a cast
>> /root/src/HDA.c:221: warning: return makes pointer from integer without a
>> cast
>> /root/src/HDA.c:211: warning: unused variable 'codec_temp'
>> /root/src/HDA.c: In function 'HDAdump':
>> /root/src/HDA.c:236: warning: format '%x' expects type 'unsigned int',
>> but argument 2 has type 'void *'
>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>> int', but argument 3 has type 'long unsigned int'
>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>> int', but argument 4 has type 'long unsigned int'
>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>> int', but argument 5 has type 'long unsigned int'
>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>> int', but argument 6 has type 'long unsigned int'
>> /root/src/HDA.c:231: warning: unused variable 'codec_temp'
>> /root/src/HDA.c: In function 'setResumeCallBack':
>> /root/src/HDA.c:279: warning: assignment from incompatible pointer type
>> /root/src/HDA.c:280: warning: assignment from incompatible pointer type
>> /root/src/HDA.c: In function 'setSuspendCallBack':
>> /root/src/HDA.c:285: warning: assignment from incompatible pointer type
>> /root/src/HDA.c:286: warning: assignment from incompatible pointer type
>> /root/src/HDA.c: At top level:
>> /root/src/HDA.c:290: warning: function declaration isn't a prototype
>> /root/src/HDA.c: In function 'resetResumeCallBack':
>> /root/src/HDA.c:291: warning: assignment from incompatible pointer type
>> /root/src/HDA.c: At top level:
>> /root/src/HDA.c:295: warning: function declaration isn't a prototype
>> /root/src/HDA.c: In function 'resetSuspendCallBack':
>> /root/src/HDA.c:296: warning: assignment from incompatible pointer type
>> /root/src/HDA.c: In function 'LnxTransferCodecVerbs':
>> /root/src/HDA.c:302: warning: unused variable 'CodecAddress'
>> /root/src/HDA.c: In function 'LnxTransferCodecVerbsWrite':
>> /root/src/HDA.c:323: warning: unused variable 'CodecAddress'
>> /root/src/HDA.c: In function 'findHDACodec':
>> /root/src/HDA.c:270: warning: control reaches end of non-void function
>>  CC [M]  /root/src/serial26.o
>> /root/src/serial26.c: In function 'serial8250_startup':
>> /root/src/serial26.c:1434: warning: assignment from incompatible pointer
>> type
>> /root/src/serial26.c: In function 'serial8250_set_termios':
>> /root/src/serial26.c:1699: warning: passing argument 2 of
>> 'uart_get_baud_rate' from incompatible pointer type
>> /root/src/serial26.c:1699: warning: passing argument 3 of
>> 'uart_get_baud_rate' from incompatible pointer type
>> /root/src/serial26.c: At top level:
>> /root/src/serial26.c:2115: warning: initialization from incompatible
>> pointer type
>> /root/src/serial26.c:2116: warning: initialization from incompatible
>> pointer type
>> /root/src/serial26.c:2123: warning: initialization from incompatible
>> pointer type
>>  LD [M]  /root/src/agrmodem.o
>>  LD [M]  /root/src/agrserial.o
>>  Building modules, stage 2.
>>  MODPOST 2 modules
>>  CC      /root/src/agrmodem.mod.o
>>  LD [M]  /root/src/agrmodem.ko
>>  CC      /root/src/agrserial.mod.o
>>  LD [M]  /root/src/agrserial.ko
>> make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
>> root@slax:~/src# 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.24.5/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
>>
>>
>> YOU SHOULD READ THE TERMS AND CONDITIONS OF THIS AGREEMENT BEFORE YOU
>> DOWNLOAD AND USE THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE.  ONCE
>> YOU HAVE READ THIS LICENSE AGREEMENT AND AGREE TO ITS TERMS, YOU MAY
>> DOWNLOAD AND USE THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE.
>> DOWNLOADING OR USING THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE
>> SHOWS YOUR ACCEPTANCE OF THE TERMS OF THIS LICENSE AGREEMENT.
>>
>> The terms and conditions of this Agreement will apply to the Agere
>> Systems Soft Modem Software (hereafter "Software") supplied under this
>> Agreement and any derivatives obtained therefrom, including any copy.
>> The term Software includes programs and related documentation supplied
>> herewith.
>>
>> The following file is made available under the standard Linux license,
>> a copy of which may be found at <http://www.linux.org/info/gnu.html>.
>> serial26.c
>>
>> These additional files are not derived from any Linux open source
>> content, and are subject to the following restrictions.
>> agrsoftmodem.c
>> agrmodem.h
>> linuxif.h
>> agrmodemlib.o
>> Makefile
>> agrinst
>> agruninst
>> agr_auxinst
>> agr_softmodem
>> README
>>
>> 1.0     TITLE AND LICENSE GRANT
>>
>>        1.1     The Software is copyrighted and/or contains
>> proprietary information protected by law.  All Software and all copies
>> thereof are and will remain the sole property of Agere Systems or its
>> suppliers.  Agere Systems hereby grants you a non-exclusive right to
>> use the Software, in whatever form recorded, which is furnished to you
>> under or in contemplation of this Agreement, in an Agere Systems Soft
>> Modem.  Any other use of the Software or removal of the Software from
>> a country in which use is licensed shall automatically terminate this
>> license.
>>
>>        1.2     You agree to use your best efforts to see that any
>> user of the Software licensed hereunder complies with the terms and
>> conditions of this Agreement.
>>
>>
>> 2.0     SOFTWARE USE
>>
>>        2.1     You are permitted to make copies of the Software
>> provided that any such copy shall contain the same copyright notice
>> and proprietary marking included on the original Software.
>>
>>        2.2     You agree not to merge or combine any portion of the
>> Software with any other software, other than the Linux operating
>> system, unless expressly permitted by the laws of the jurisdiction
>> where you are located.  Any portion of the Software merged or combined
>> with the other software will continue to be the subject of the terms
>> and conditions of this Agreement and you agree to reproduce on the
>> merged or combined portion of the Software the copyright and other
>> proprietary rights notices included in the original Software.
>>
>> 2.3     Redistribution and Usage
>>  Agere permits use and limited redistribution of this Licensed
>> Software in source and binary forms, with or without modification,
>> subject to the following terms and conditions, in addition to the
>> terms mentioned in this agreement.
>> 2.3.1   Agere Systems reserves the right not to allow a third party to
>> reuse or redistribute the software, at its sole discretion.
>> 2.3.2   User hereby agrees not to remove or alter any copyright,
>> trademark, credits and other proprietary notices contained within or
>> associated with the Licensed Software, and shall include all such
>> unaltered copyright, trademark, credits and other proprietary notices
>> on or in every copy of the Software.
>> 2.3.3   Notwithstanding any other provisions in this Agreement to the
>> contrary, any modifications or alterations made to the Licensed
>> Software shall cause any warranties and intellectual property
>> indemnifications to become null and void and of no further effect.
>>
>> 3.0     DISCLAIMER OF WARRANTY
>>
>>        3.1     You understand and acknowledge that the Software may
>> contain errors, bugs or other defects.  The Software is provided on
>> AS-IS basis, without warranty of any kind.
>>
>>        3.2     Agere Systems has used reasonable efforts to minimize
>> defects or errors in the Software.  HOWEVER, YOU ASSUME THE RISK OF
>> ANY AND ALL DAMAGE OR LOSS FROM USE OR INABILITY TO USE THE SOFTWARE.
>> Specifically, but not in limitation of the foregoing disclaimers,
>> Agere Systems does not warrant that the functions of the Software will
>> meet your requirements or that the Software operation will be
>> error-free or uninterrupted.
>>
>>        3.3     Agere Systems bears no responsibility for supplying
>> assistance for fixing or for communicating known errors to you
>> pertaining to the Software supplied hereunder.
>>
>>        3.4     YOU UNDERSTAND THAT AGERE SYSTEMS, ITS AFFILIATES,
>> CONTRACTORS, SUPPLIERS, AND AGENTS MAKE NO WARRANTIES, EXPRESS OR
>> IMPLIED, AND SPECIFICALLY DISCLAIM ANY WARRANTY OF MERCHANTABILITY OR
>> FITNESS FOR A PARTICULAR PURPOSE.
>>
>> 4.0     EXCLUSIVE REMEDIES AND LIMITATION OF LIABILITIES
>>
>>        4.1     Regardless of any other provisions of this Agreement,
>> neither Agere Systems nor its affiliates, contractors, suppliers, or
>> agents shall be liable for any indirect, incidental, or consequential
>> damages (including lost profits) sustained or incurred in connection
>> with the use, operation, or inability to use the Software or for
>> damages due to causes beyond the reasonable control of Agere Systems,
>> its affiliates, contractors, suppliers, and agents attributable to any
>> service, products, or action of any other person.
>>
>>        4.2     This Agreement shall be construed in accordance with
>> and governed by the laws of the State of New York.
>>
>> YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT AND UNDERSTAND IT,
>> AND THAT BY DOWNLOADING OR USING THE SOFTWARE, YOU AGREE TO BE BOUND
>> BY ITS TERMS AND CONDITIONS.  YOU FURTHER AGREE THAT THIS AGREEMENT IS
>> THE COMPLETE AND EXCLUSIVE STATEMENT OF THE RIGHTS AND LIABILITIES OF
>> THE PARTIES.  THIS AGREEMENT SUPERCEDES ALL PRIOR ORAL AGREEMENTS,
>> PROPOSALS OR UNDERSTANDINGS, AND ANY OTHER COMMUNICATIONS BETWEEN US
>> RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.
>>
>> root@slax:~/src# /etc/rc.d/rc.a
>> rc.acpid          rc.agr_softmodem  rc.alsa
>> root@slax:~/src# /etc/rc.d/rc.agr_softmodem start
>> Starting Agere Soft Modem
>> insmod: error inserting
>> '/lib/modules/2.6.24.5/kernel/drivers/char/agrmodem.ko': -1 Unknown
>> symbol in module
>> insmod: error inserting
>> '/lib/modules/2.6.24.5/kernel/drivers/char/agrserial.ko': -1 No such
>> device
>> /etc/rc.d/rc.agr_softmodem: line 29:
>> /usr/lib/AgereSoftModem/AgereMdmDaemon: Permission denied
>>
>> fixed these Permission denied.  Made the file
>> /usr/lib/AgereSoftModem/AgereMdmDaemon executable and done!!!
>>
>> root@slax:/etc/rc.d# cat rc.agr_softmodem | more
>> #===========================================================================
>> # File Name :     agr_softmodem
>> #
>> # Copyright (c) 2002, 2003, 2004 Agere Systems, Inc.  All rights reserved.
>> #
>> # Description:
>> #  Service script for Agere Soft Modem driver modules
>> #  This script is linked to various run levels and will be run when the
>> system
>> #  boots up or shuts down.
>> #
>> # Revision History:
>> #   Name                   Date          Change
>> #   Soumyendu Sarkar       12/03/2002    Initial
>> #===========================================================================
>> #!/bin/sh
>>
>> group="uucp"
>> mode="666"
>>
>> device="/dev/ttyAGS3"
>>
>> case "$1" in
>>
>>  start)
>>  echo "Starting Agere Soft Modem"
>>
>>  /sbin/insmod -f /lib/modules/`uname -r`/kernel/drivers/char/agrmodem.ko;
>> \
>>  /sbin/insmod -f /lib/modules/`uname -r`/kernel/drivers/char/agrserial.ko;
>> \
>>  /usr/lib/AgereSoftModem/AgereMdmDaemon
>>
>>  if [ -e /dev/modem ]
>>  then
>>      :
>>  else
>>  ln -s $device /dev/modem
>>  fi
>>        ;;
>>
>>  stop)
>>  echo "Shutting down Agere Soft Modem"
>>
>> root@slax:/etc/rc.d# modprobe /lib/modules/`uname
>> -r`/kernel/drivers/char/agrmodem.ko
>> FATAL: Module /lib/modules/2.6.24.5/kernel/drivers/char/agrmodem.ko not
>> found.
>> root@slax:/etc/rc.d# ls
>> /lib/modules/2.6.24.5/kernel/drivers/char/agrmodem.ko -l
>> -rw-r--r-- 1 root root 1554203 Jun 23 16:37
>> /lib/modules/2.6.24.5/kernel/drivers/char/agrmodem.ko
>> root@slax:/etc/rc.d# modprobe /lib/modules/`uname
>> -r`/kernel/drivers/char/agrserial.ko
>> FATAL: Module /lib/modules/2.6.24.5/kernel/drivers/char/agrserial.ko not
>> found.
>> root@slax:/etc/rc.d# ls
>> /lib/modules/2.6.24.5/kernel/drivers/char/agrserial.ko
>> /lib/modules/2.6.24.5/kernel/drivers/char/agrserial.ko
>> root@slax:/etc/rc.d# ls /lib/modules/2.6.24.5/kernel/drivers/char/ -l
>> total 2341
>> drwxr-xr-x 2 root root     195 Apr 23 11:49 agp/
>> -rw-r--r-- 1 root root 1554203 Jun 23 16:37 agrmodem.ko
>> -rw-r--r-- 1 root root   18670 Jun 23 16:37 agrserial.ko
>> -rw-r--r-- 1 root root   18464 Apr 23 11:49 applicom.ko
>> -rw-r--r-- 1 root root   10282 Apr 23 11:49 cs5535_gpio.ko
>> -rw-r--r-- 1 root root   55738 Apr 23 11:49 cyclades.ko
>> drwxr-xr-x 2 root root     144 Apr 23 11:49 drm/
>> -rw-r--r-- 1 root root   11780 Apr 23 11:49 dtlk.ko
>> -rw-r--r-- 1 root root   32989 Apr 23 11:49 epca.ko
>> -rw-r--r-- 1 root root   32640 Apr 23 11:49 esp.ko
>> -rw-r--r-- 1 root root   19506 Apr 23 11:49 generic_serial.ko
>> -rw-r--r-- 1 root root   10059 Apr 23 11:49 hangcheck-timer.ko
>> drwxr-xr-x 2 root root      76 Apr 23 11:49 hw_random/
>> -rw-r--r-- 1 root root   12732 Apr 23 11:49 i8k.ko
>> drwxr-xr-x 2 root root      38 Apr 23 11:49 ip2/
>> drwxr-xr-x 2 root root     112 Apr 23 11:49 ipmi/
>> -rw-r--r-- 1 root root   25863 Apr 23 11:49 isicom.ko
>> -rw-r--r-- 1 root root   16948 Apr 23 11:49 lp.ko
>> -rw-r--r-- 1 root root   28174 Apr 23 11:49 moxa.ko
>> drwxr-xr-x 2 root root      25 Apr 23 11:49 mwave/
>> -rw-r--r-- 1 root root   35396 Apr 23 11:49 mxser.ko
>> -rw-r--r-- 1 root root   36060 Apr 23 11:49 mxser_new.ko
>> -rw-r--r-- 1 root root   15346 Apr 23 11:49 n_hdlc.ko
>> -rw-r--r-- 1 root root   14103 Apr 23 11:49 n_r3964.ko
>> -rw-r--r-- 1 root root    8594 Apr 23 11:49 nsc_gpio.ko
>> -rw-r--r-- 1 root root   14025 Apr 23 11:49 nvram.ko
>> -rw-r--r-- 1 root root   11220 Apr 23 11:49 pc8736x_gpio.ko
>> drwxr-xr-x 2 root root      65 Apr 23 11:49 pcmcia/
>> -rw-r--r-- 1 root root   13777 Apr 23 11:49 ppdev.ko
>> drwxr-xr-x 2 root root      23 Apr 23 11:49 rio/
>> -rw-r--r-- 1 root root   40037 Apr 23 11:49 rocket.ko
>> -rw-r--r-- 1 root root    9827 Apr 23 11:49 scx200_gpio.ko
>> -rw-r--r-- 1 root root   29251 Apr 23 11:49 sonypi.ko
>> -rw-r--r-- 1 root root   48917 Apr 23 11:49 specialix.ko
>> -rw-r--r-- 1 root root   41896 Apr 23 11:49 sx.ko
>> -rw-r--r-- 1 root root   68349 Apr 23 11:49 synclink.ko
>> -rw-r--r-- 1 root root   53305 Apr 23 11:49 synclink_gt.ko
>> -rw-r--r-- 1 root root   59257 Apr 23 11:49 synclinkmp.ko
>> -rw-r--r-- 1 root root   18461 Apr 23 11:49 tlclk.ko
>> -rw-r--r-- 1 root root   10640 Apr 23 11:49 toshiba.ko
>> drwxr-xr-x 2 root root      56 Apr 23 11:49 tpm/
>> root@slax:/etc/rc.d#
>>
>> root@slax:/usr/lib/AgereSoftModem# ls -l
>> total 1584
>> -rw-r--r-- 1 root root    9023 Jun 23 16:37 AgereMdmDaemon
>> -rw-r--r-- 1 root root    5744 Jun 23 16:37 LICENSE
>> -rw-r--r-- 1 root root    2069 Jun 23 16:37 README
>> -rwxr-xr-x 1 root root    1192 Jun 23 16:37 agr_softmodem*
>> -rwxr-xr-x 1 root root    2728 Jun 23 16:37 agrinst*
>> -rw-r--r-- 1 root root 1554203 Jun 23 16:37 agrmodem.ko
>> -rw-r--r-- 1 root root   18670 Jun 23 16:37 agrserial.ko
>> -rwxr-xr-x 1 root root    3690 Jun 23 16:37 agruninst*
>> root@slax:/usr/lib/AgereSoftModem# chmod +x AgereMdmDaemon
>> root@slax:/usr/lib/AgereSoftModem# cd ~
>> root@slax:~# /etc/rc.d/rc.agr_softmodem start
>> Starting Agere Soft Modem
>> insmod: error inserting
>> '/lib/modules/2.6.24.5/kernel/drivers/char/agrmodem.ko': -1 Unknown
>> symbol in module
>> insmod: error inserting
>> '/lib/modules/2.6.24.5/kernel/drivers/char/agrserial.ko': -1 No such
>> device
>>
>> root@slax:~# ls /lib/modules/2.6.24.5/kernel/drivers/char/agr* -l
>> -rw-r--r-- 1 root root 1554203 Jun 23 16:37
>> /lib/modules/2.6.24.5/kernel/drivers/char/agrmodem.ko
>> -rw-r--r-- 1 root root   18670 Jun 23 16:37
>> /lib/modules/2.6.24.5/kernel/drivers/char/agrserial.ko
>> root@slax:~#
>>
>> This is what is killing it, in my humble opinion
>>
>> Symbol usb_deregister is being used by a non-GPL module, which will
>> not be allowed in the future
>> Please see the file Documentation/feature-removal-schedule.txt in the
>> kernel source tree for more details.
>> agrmodem: Unknown symbol snd_hda_codec_read
>> Symbol usb_register_driver is being used by a non-GPL module, which
>> will not be allowed in the future
>> Please see the file Documentation/feature-removal-schedule.txt in the
>> kernel source tree for more details.
>> agrmodem: Unknown symbol snd_hda_codec_write
>> Symbol usb_deregister is being used by a non-GPL module, which will
>> not be allowed in the future
>> Please see the file Documentation/feature-removal-schedule.txt in the
>> kernel source tree for more details.
>> agrmodem: Unknown symbol snd_hda_codec_read
>> Symbol usb_register_driver is being used by a non-GPL module, which
>> will not be allowed in the future
>> Please see the file Documentation/feature-removal-schedule.txt in the
>> kernel source tree for more details.
>> agrmodem: Unknown symbol snd_hda_codec_write
>>
>> Maybe we can encourage LSI to work with the linux kernel developers as
>> they can write drivers for free, the article below shows this in more
>> detail
>>
>> http://news.yahoo.com/s/pcworld/20080623/tc_pcworld/147430
>>
>> We hope that is the case and they can write a driver that will work
>> for any version of the linux kernel.  If we could get past that
>> unresolved symbol business, we would be able to compile against any
>> kernel not just the Red Flag Kernel 2.6.21-???.
>>
>> Regards,
>>
>> Antonio
>>
>> On 6/23/08, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
>>> The first attempt, I forgot to add the following relevant parts from
>>> dmesg
>>>
>>> Symbol usb_deregister is being used by a non-GPL module, which will
>>> not be allowed in the future
>>> Please see the file Documentation/feature-removal-schedule.txt in the
>>> kernel source tree for more details.
>>> agrmodem: Unknown symbol snd_hda_codec_read
>>> Symbol usb_register_driver is being used by a non-GPL module, which
>>> will not be allowed in the future
>>> Please see the file Documentation/feature-removal-schedule.txt in the
>>> kernel source tree for more details.
>>> agrmodem: Unknown symbol snd_hda_codec_write
>>> Symbol usb_deregister is being used by a non-GPL module, which will
>>> not be allowed in the future
>>> Please see the file Documentation/feature-removal-schedule.txt in the
>>> kernel source tree for more details.
>>> agrmodem: Unknown symbol snd_hda_codec_read
>>> Symbol usb_register_driver is being used by a non-GPL module, which
>>> will not be allowed in the future
>>> Please see the file Documentation/feature-removal-schedule.txt in the
>>> kernel source tree for more details.
>>> agrmodem: Unknown symbol snd_hda_codec_write
>>>
>>> And Then I tried again, which I will attach inline here with the
>>> extracted zip file that you very kind to send.  I extracted the zip
>>> file and modified line 276 from SA_IRQF to IRQF_SHARED so that it can
>>> compile, then I get the following error:
>>>
>>> root@slax:~/src# make module
>>> make -C /lib/modules/`uname -r`/build/ SUBDIRS=/root/src modules
>>> make[1]: Entering directory `/usr/src/linux-2.6.24.5'
>>>
>>>   WARNING: Symbol version dump /usr/src/linux-2.6.24.5/Module.symvers
>>>            is missing; modules will have no dependencies and modversions.
>>>
>>>   CC [M]  /root/src/agrsoftmodem.o
>>> /root/src/agrsoftmodem.c: In function 'x_request_irq':
>>> /root/src/agrsoftmodem.c:276: warning: passing argument 2 of
>>> 'request_irq' from incompatible pointer type
>>> /root/src/agrsoftmodem.c: In function 'agr_pci_find_device':
>>> /root/src/agrsoftmodem.c:358: warning: 'pci_find_device' is deprecated
>>> (declared at include/linux/pci.h:492)
>>> /root/src/agrsoftmodem.c:361: warning: 'pci_find_device' is deprecated
>>> (declared at include/linux/pci.h:492)
>>> /root/src/agrsoftmodem.c:360: warning: ignoring return value of
>>> 'pci_enable_device', declared with attribute warn_unused_result
>>> /root/src/agrsoftmodem.c: In function 'agr_pci_get_irq':
>>> /root/src/agrsoftmodem.c:375: warning: 'pci_find_device' is deprecated
>>> (declared at include/linux/pci.h:492)
>>> /root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_byte':
>>> /root/src/agrsoftmodem.c:386: warning: 'pci_find_slot' is deprecated
>>> (declared at include/linux/pci.h:493)
>>> /root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_word':
>>> /root/src/agrsoftmodem.c:389: warning: 'pci_find_slot' is deprecated
>>> (declared at include/linux/pci.h:493)
>>> /root/src/agrsoftmodem.c: In function 'x_pcibios_read_config_dword':
>>> /root/src/agrsoftmodem.c:392: warning: 'pci_find_slot' is deprecated
>>> (declared at include/linux/pci.h:493)
>>> /root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_byte':
>>> /root/src/agrsoftmodem.c:395: warning: 'pci_find_slot' is deprecated
>>> (declared at include/linux/pci.h:493)
>>> /root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_word':
>>> /root/src/agrsoftmodem.c:398: warning: 'pci_find_slot' is deprecated
>>> (declared at include/linux/pci.h:493)
>>> /root/src/agrsoftmodem.c: In function 'x_pcibios_write_config_dword':
>>> /root/src/agrsoftmodem.c:401: warning: 'pci_find_slot' is deprecated
>>> (declared at include/linux/pci.h:493)
>>> /root/src/agrsoftmodem.c: In function 'x_task_queue_init':
>>> /root/src/agrsoftmodem.c:440: warning: assignment from incompatible
>>> pointer
>>> type
>>> /root/src/agrsoftmodem.c: In function 'x_task_queue_init_usb':
>>> /root/src/agrsoftmodem.c:452: warning: assignment from incompatible
>>> pointer
>>> type
>>> /root/src/agrsoftmodem.c: At top level:
>>> /root/src/agrsoftmodem.c:479: warning: function declaration isn't a
>>> prototype
>>> /root/src/agrsoftmodem.c:501: warning: function declaration isn't a
>>> prototype
>>> /root/src/agrsoftmodem.c:511: warning: function declaration isn't a
>>> prototype
>>> /root/src/agrsoftmodem.c:512: warning: function declaration isn't a
>>> prototype
>>>   CC [M]  /root/src/HDA.o
>>> /root/src/HDA.c:208: warning: function declaration isn't a prototype
>>> /root/src/HDA.c: In function 'GetHDABaseAddress':
>>> /root/src/HDA.c:219: warning: assignment makes integer from pointer
>>> without a cast
>>> /root/src/HDA.c:221: warning: return makes pointer from integer without a
>>> cast
>>> /root/src/HDA.c:211: warning: unused variable 'codec_temp'
>>> /root/src/HDA.c: In function 'HDAdump':
>>> /root/src/HDA.c:236: warning: format '%x' expects type 'unsigned int',
>>> but argument 2 has type 'void *'
>>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>>> int', but argument 3 has type 'long unsigned int'
>>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>>> int', but argument 4 has type 'long unsigned int'
>>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>>> int', but argument 5 has type 'long unsigned int'
>>> /root/src/HDA.c:240: warning: format '%08X' expects type 'unsigned
>>> int', but argument 6 has type 'long unsigned int'
>>> /root/src/HDA.c:231: warning: unused variable 'codec_temp'
>>> /root/src/HDA.c: In function 'setResumeCallBack':
>>> /root/src/HDA.c:279: warning: assignment from incompatible pointer type
>>> /root/src/HDA.c:280: warning: assignment from incompatible pointer type
>>> /root/src/HDA.c: In function 'setSuspendCallBack':
>>> /root/src/HDA.c:285: warning: assignment from incompatible pointer type
>>> /root/src/HDA.c:286: warning: assignment from incompatible pointer type
>>> /root/src/HDA.c: At top level:
>>> /root/src/HDA.c:290: warning: function declaration isn't a prototype
>>> /root/src/HDA.c: In function 'resetResumeCallBack':
>>> /root/src/HDA.c:291: warning: assignment from incompatible pointer type
>>> /root/src/HDA.c: At top level:
>>> /root/src/HDA.c:295: warning: function declaration isn't a prototype
>>> /root/src/HDA.c: In function 'resetSuspendCallBack':
>>> /root/src/HDA.c:296: warning: assignment from incompatible pointer type
>>> /root/src/HDA.c: In function 'LnxTransferCodecVerbs':
>>> /root/src/HDA.c:302: warning: unused variable 'CodecAddress'
>>> /root/src/HDA.c: In function 'LnxTransferCodecVerbsWrite':
>>> /root/src/HDA.c:323: warning: unused variable 'CodecAddress'
>>> /root/src/HDA.c: In function 'findHDACodec':
>>> /root/src/HDA.c:270: warning: control reaches end of non-void function
>>>   CC [M]  /root/src/serial26.o
>>> /root/src/serial26.c: In function 'serial8250_startup':
>>> /root/src/serial26.c:1434: warning: assignment from incompatible pointer
>>> type
>>> /root/src/serial26.c: In function 'serial8250_set_termios':
>>> /root/src/serial26.c:1699: warning: passing argument 2 of
>>> 'uart_get_baud_rate' from incompatible pointer type
>>> /root/src/serial26.c:1699: warning: passing argument 3 of
>>> 'uart_get_baud_rate' from incompatible pointer type
>>> /root/src/serial26.c: At top level:
>>> /root/src/serial26.c:2115: warning: initialization from incompatible
>>> pointer type
>>> /root/src/serial26.c:2116: warning: initialization from incompatible
>>> pointer type
>>> /root/src/serial26.c:2123: warning: initialization from incompatible
>>> pointer type
>>>   LD [M]  /root/src/agrmodem.o
>>>   LD [M]  /root/src/agrserial.o
>>>   Building modules, stage 2.
>>>   MODPOST 2 modules
>>>   CC      /root/src/agrmodem.mod.o
>>>   LD [M]  /root/src/agrmodem.ko
>>>   CC      /root/src/agrserial.mod.o
>>>   LD [M]  /root/src/agrserial.ko
>>> make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
>>> root@slax:~/src# make install
>>> ./agrinst
>>> make: execvp: ./agrinst: Permission denied
>>> make: *** [install] Error 127
>>> root@slax:~/src#
>>>
>>> Maybe in Ubuntu, it would work, but who knows.  I am trying this with
>>> Slax live cd, this way I do not have anything to lose just time.
>>> Reboot and all is well.
>>>
>>> Regards,
>>>
>>> Antonio
>>>
>>> On 6/23/08, FA <fas65@xxxxxxxxxxxxxxxxxxx> wrote:
>>>> so at least the code does build.
>>>> Lets hope, the missing symbols are not from the object-code-library...
>>>> Maybe the LSI Allentown people can tell...
>>>>
>>>>
>>>> Antonio Olivares schrieb:
>>>>> I have tested the code, and would like to report that while I still
>>>>> cannot connect, there is some progress
>>>>
>>>>
>>>
>>
>


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

  Powered by Linux