Re: Error on installing modem file

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

 



Marv,

I can get the code to compile on 2.6.40[Fedora's version of 3.0].
However, there are some things that need correction.  See below:

[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ make clean
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225 clean
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  CLEAN   /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/.tmp_versions
  CLEAN   /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/Module.symvers
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ make
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225 modules
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  CC [M]  /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.o
/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:
In function ‘x_linux_dbg_print’:
/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:347:2:
warning: the frame size of 1540 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:
In function ‘x_linux_dbg_print_crit’:
/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:359:2:
warning: the frame size of 1540 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
  SHIPPED /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodemlib.o
  CC [M]  /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/HDA.o
  CC [M]  /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/serial26.o
  LD [M]  /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.o
  LD [M]  /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/.agrmodemlib.o.cmd
for /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodemlib.o
WARNING: "x_usb_buffer_alloc_atomic"
[/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
WARNING: "x_usb_buffer_free"
[/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
WARNING: "x_usb_buffer_free_ext"
[/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
WARNING: "x_usb_buffer_alloc_kernel"
[/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
  CC      /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.mod.o
  LD [M]  /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.ko
  CC      /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrserial.mod.o
  LD [M]  /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrserial.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ su -
'make modules_install'
su: user make modules_install does not exist
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ su -c
'make modules_install'
Password:
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225
modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  INSTALL /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrmodem.ko
  INSTALL /home/olivares/Downloads/agrsm-11c11040-2.1.80~20091225/agrserial.ko
  DEPMOD  2.6.40-4.fc15.i686
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_alloc_kernel
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_free_ext
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_free
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_alloc_atomic
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'

To get the code to compile some changes need to be taken care of
1) replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK in line 118:

From
spinlock_t modem_driver_lock = SPIN_LOCK_UNLOCKED;
to
DEFINE_SPINLOCK(modem_driver_lock);

sed -i 's|spinlock_t modem_driver_lock =
SPIN_LOCK_UNLOCKED|DEFINE_SPINLOCK(modem_driver_lock)|g'
agrsoftmodem.c

2)

http://kerneltrap.org/mailarchive/git-commits-head/2010/4/30/32383

      usb_buffer_alloc() is renamed to usb_alloc_coherent()
      usb_buffer_free()  is renamed to usb_free_coherent()

so,

[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ sed -i
's|usb_buffer_alloc|usb_alloc_coherent|g' agrsoftmodem.c
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ sed -i
's|usb_buffer_free|usb_free_coherent|g' agrsoftmodem.c

making the changes, the code compiles, but running (make
modules_install) gives warnings :

[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ sed -i
's|spinlock_t modem_driver_lock =
SPIN_LOCK_UNLOCKED|DEFINE_SPINLOCK(modem_driver_lock)|g' agrs
agrsm-test.txt  agrsoftmodem.c
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ sed -i
's|spinlock_t modem_driver_lock =
SPIN_LOCK_UNLOCKED|DEFINE_SPINLOCK(modem_driver_lock)|g'
agrsoftmodem.c
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ make clean
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225 clean
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  CLEAN   /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/.tmp_versions
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ make
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225 modules
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  CC [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.o
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c: In
function ‘x_usb_buffer_alloc_atomic’:
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:586:2:
error: implicit declaration of function ‘usb_buffer_alloc’
[-Werror=implicit-function-declaration]
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:586:2:
warning: return makes pointer from integer without a cast [enabled by
default]
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c: In
function ‘x_usb_buffer_alloc_kernel’:
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:590:2:
warning: return makes pointer from integer without a cast [enabled by
default]
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c: In
function ‘x_usb_buffer_free’:
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:595:2:
error: implicit declaration of function ‘usb_buffer_free’
[-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[2]: *** [/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.o]
Error 1
make[1]: *** [_module_/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'
make: *** [default] Error 2
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ sed -i
's|usb_buffer_alloc|usb_alloc_coherent|g' agrsoftmodem.c
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ sed -i
's|usb_buffer_free|usb_free_coherent|g' agrsoftmodem.c
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ make clean
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225 clean
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  CLEAN   /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/.tmp_versions
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ make
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225 modules
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  CC [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.o
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c: In
function ‘x_linux_dbg_print’:
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:346:2:
warning: the frame size of 1540 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c: In
function ‘x_linux_dbg_print_crit’:
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.c:358:2:
warning: the frame size of 1540 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
  SHIPPED /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodemlib.o
  CC [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/HDA.o
  CC [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/serial26.o
  LD [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.o
  LD [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/.agrmodemlib.o.cmd
for /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodemlib.o
WARNING: "x_usb_buffer_alloc_atomic"
[/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
WARNING: "x_usb_buffer_free"
[/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
WARNING: "x_usb_buffer_free_ext"
[/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
WARNING: "x_usb_buffer_alloc_kernel"
[/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.ko]
undefined!
  CC      /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.mod.o
  LD [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.ko
  CC      /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrserial.mod.o
  LD [M]  /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrserial.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'
[olivares@toshiba-satellite agrsm-11c11040-2.1.80~20091225]$ su -c
'make modules_install'
Password:
make -C /lib/modules/2.6.40-4.fc15.i686/build
M=/home/olivares/tmp/agrsm-11c11040-2.1.80~20091225 modules_install
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.i686'
  INSTALL /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.ko
  INSTALL /home/olivares/tmp/agrsm-11c11040-2.1.80~20091225/agrserial.ko
  DEPMOD  2.6.40-4.fc15.i686
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_alloc_kernel
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_free_ext
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_free
WARNING: /lib/modules/2.6.40-4.fc15.i686/extra/agrmodem.ko needs
unknown symbol x_usb_buffer_alloc_atomic
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.i686'


Someone with more experience and knowhow can fix these better.  I have
that modem and never got it to work :(, but I hope others do get it
working.

--------------------------  System information ----------------------------
CPU=i686,  fedora ,  ALSA_version=1.0.24
Linux version 2.6.40-4.fc15.i686 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc
version 4.6.0 20110530 (Red Hat 4.6.0-9) (GCC) ) #1 SMP Fri Jul 29 18:54:39 UTC
2011
 scanModem update of:  2011_02_04

/etc/lsb-release not found


Presently install your Linux Distributions dkms package. It provides for automat
ed driver updates,
following upgrade of your kernel.  For details see http://linux.dell.com/project
s.shtml#dkms

 There are no blacklisted modem drivers in /etc/modprobe*  files

 Potentially useful modem drivers now loaded are:
       snd_hda_intel

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx

Candidate PCI devices with modem chips are:
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio C
ontroller (rev 02)
High Definition Audio cards can host modem chips.

For candidate card in slot 00:1b.0, firmware information and bootup diagnostics
are:
 PCI slot       PCI ID          SubsystemID     Name
 ----------     ---------       ---------       --------------
 00:1b.0        8086:27d8       1179:ff01       Audio device: Intel Corporation
N10/ICH 7 Family High Definition Audio Controller

 Modem interrupt assignment and sharing:
  43:        608          0   PCI-MSI-edge      hda_intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[    0.159764] pci 0000:00:1b.0: [8086:27d8] type 0 class 0x000403
[    0.159789] pci 0000:00:1b.0: reg 10: [mem 0xdc440000-0xdc443fff 64bit]
[    0.159878] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.159885] pci 0000:00:1b.0: PME# disabled
[   24.551095] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 2
2
[   24.551162] HDA Intel 0000:00:1b.0: irq 43 for MSI/MSI-X
[   24.551201] HDA Intel 0000:00:1b.0: setting latency timer to 64

 The PCI slot 00:1b.0 of the modem card may be disabled early in
 a bootup process,  but then enabled later. If modem drivers load
 but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.



===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: ALC861-VD Analog : ALC861-VD Analog : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdc440000 irq 43

 PCI slot 00:1b.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.38.8-32.fc15.i686/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.40-4.fc15.i686/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.38.8-35.fc15.i686/kernel/sound/pci/hda/snd-hda-intel.ko
 The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: LSI ID 1040
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
Modem Function Group: 0x1

 The audio card hosts a softmodem chip:  0x11c11040

The softmodem chip 11c11040 is hosted on the Subsytem of the High Definition Aud
io card,
and is supported by the AgereSystems/LSI driver pair agrmodem + agrserial, which
 is provided by
the most current package agrsm-11c11040-version at http://linmodems.technion.ac.
il/packages/ltmodem/11c11040/

If not a Conexant modem, the driver agrsm with its dependent drivers:

----------
provide audio + modem support with the modem chip residing on the subsystem.
Any particular card can host any one of several soft modem chips.

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 00:1b.0:
        Modem chipset  detected on
NAME="Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Con
troller "
CLASS=0403
PCIDEV=8086:27d8
SUBSYS=1179:ff01
IRQ=43
HDA2=00:1b.0
SOFT=8086:27d8.HDA
HDAchipVendorID=11c1
CHIP=0x11c11040
IDENT=agrsm
Driver=agrsm
package=agrsm-11c11040

 For candidate modem in:  00:1b.0
   0403 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio C
ontroller
      Primary device ID:  8086:27d8
    Subsystem PCI_id  1179:ff01
    Softmodem codec or chipset from diagnostics: 0x11c11040
                               from    Archives:
                        The HDA card softmodem chip is 0x11c11040


Support type needed or chipset: agrsm


Writing DOCs/Intel.txt

The AgereSystems/LSI agrsm code supports compiling of a agrmodem + agrserial dri
ver pair.
There are a few different chipsets which use this driver pair, but they use diff
erent code resources:
Chipsets                        KV*     PackageNames (most current as of Novembe
r 2009)
--------------------------------------------------------------------------------
--------------
11c1:048c and 11c1:048f         2.6.29  agrsm048pci-2.1.60_20100108_i386.deb or
agrsm048pci-2.1.60_20100108.tar.gz
11c1:0620                       2.6.31  agrsm06pci-2.1.80_20100106_i386.deb or a
grsm06pci-2.1.80~20100106.tar.gz !!
11c11040 (on HDA audio cards)   2.6.31  agrsm-11c11040_20091225_i386.deb or agrs
m-11c11040-2.1.80~20091225.tar.bz2  !!
   All available at: http://linmodems.technion.ac.il/packages/ltmodem/11c11040/

Additionally there are;
automation & testing                    agrsm-tools_0.0.1_all.deb or agrsm-tools
-0.0.1-2.noarch.rpm
General background                      agrsm_howto.txt
--------------------------------------------------------------------------------
----------------
* KV == latest kernel release with a reported success
!! Latest update with major credit to  Nikolay Zhuravlev
   But see conflict issue: http://linmodems.technion.ac.il/bigarch/archive-ninet
h/msg02753.html
   For the 11c11040 chip with kernels 2.6.31 and later a change in a modules loa
ding settingmay be necessary.
   Within the file /etc/modprobe.d/alsa-base.conf  (or equivalent for your Distr
o), change the phrase:
      options snd-hda-intel power_save=10
   to:
      options snd-hda-intel power_save=0
   or the agrsm drivers will not function. For Ubuntu related systems this can b
e done with:
   $ sudo gedit /etc/modprobe.d/alsa-base.conf

Report from  Bjorn Wielens:
Please note- trying to load the modules on a OpenSuSE 11.2 system gives
 an error about the module_version symbol. Using:
# modprobe --force agrmodem
# modprobe --force agrserial
is necessary to load the drivers, and does not appear to cause ill effects.


All of the above packages are dkms competent.  This means that if your Linux dis
tros dkms package
is previously installed, if provides for future updates matching forthcoming ker
nels.

-------------- end Agere Systems section -------------------


Regards,

Antonio

Change usb_alloc to usb_alloc_coherent




On Mon, Aug 8, 2011 at 12:05 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
> Ian
>
> The core problem currently is that the code is not compiling under
> current kernels, per example below.
> No one currently following this List seems to have the adequate skills
> to update this Open Source section of the code.
> If you must use a modem, we would recommend buying some Controller Chipset type
> which are supported fully by Linux serial drivers.  But don't but
> anything that doesn't promise Linux support.
>
> MarvS
>
> $ sudo make
> make -C /lib/modules/2.6.38-10-generic/build
> M=/usr/src/pkg/agrsm/1040/agrsm-2.6.32 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.38-10-generic'
>  CC [M]  /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.o
> /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.c: In function
> ‘x_usb_buffer_alloc_atomic’:
> /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.c:586:2: error:
> implicit declaration of function ‘usb_buffer_alloc’
> /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.c:586:2: warning:
> return makes pointer from integer without a cast
> /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.c: In function
> ‘x_usb_buffer_alloc_kernel’:
> /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.c:590:2: warning:
> return makes pointer from integer without a cast
> /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.c: In function
> ‘x_usb_buffer_free’:
> /usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.c:595:2: error:
> implicit declaration of function ‘usb_buffer_free’
> make[2]: *** [/usr/src/pkg/agrsm/1040/agrsm-2.6.32/agrsoftmodem.o] Error 1
> make[1]: *** [_module_/usr/src/pkg/agrsm/1040/agrsm-2.6.32] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-10-generic'
> make: *** [default] Error 2
>
>
> On Mon, Aug 8, 2011 at 12:56 PM, Antonio Olivares
> <olivares14031@xxxxxxxxx> wrote:
>> Ian,
>>
>> I believe that the errors occuring is that there is a reason :)  The
>> reason being that the driver you are trying to install is the
>> incorrect one.  You need the agrsm-11c11040 modem driver:
>>
>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-11c11040_20091225_i386.deb
>>
>> + the agrsm tools:
>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-tools_0.0.1_all.deb
>>
>> But like I have mentioned before there have been no success reports as
>> of late(with newer kernels >= 2.6.31 :(
>>
>> Marv can advise you what to do in this case, if there are updates to
>> the modem code, but you can try them out and report back with the
>> errors/error messages that you encounter.
>>
>> Regards,
>>
>> Antonio
>>
>> On Mon, Aug 8, 2011 at 11:48 AM, Ian Smith <ismith@xxxxxxxxxxxxxx> wrote:
>>> Antonio,
>>>
>>> Many thanks for your help. Both packages (the driver and the tools)
>>> still complain about the files
>>>
>>> "E: agrsm048pci-2.1.60:wrong-file-owner-uid-or-gid".
>>>
>>> Is this correct that these errors occur?
>>>
>>> Kind Regards,
>>>
>>>
>>> Ian
>>>
>>>
>>> On 08/08/11 17:29, Antonio Olivares wrote:
>>>> Ian,
>>>>
>>>> scanModem does report what you have mentioned:
>>>>
>>>> Codec: LSI ID 1040
>>>> Address: 1
>>>> MFG Function Id: 0x2 (unsol 1)
>>>> Vendor Id: 0x11c11040
>>>> Subsystem Id: 0x11c10001
>>>> Revision Id: 0x100200
>>>> Modem Function Group: 0x1
>>>>
>>>>  The audio card hosts a softmodem chip:  0x11c11040
>>>>
>>>> The softmodem chip 11c11040 is hosted on the Subsytem of the High
>>>> Definition Audio card,
>>>> and is supported by the AgereSystems/LSI driver pair agrmodem +
>>>> agrserial, which is provided by
>>>> the most current package agrsm-11c11040-version at
>>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
>>>>
>>>> But it mentions the most current agrsm-11c11040-version which is
>>>> referenced below:
>>>>
>>>> 11c11040 (on HDA audio cards)
>>>>
>>>> 2.6.31  agrsm-11c11040_20091225_i386.deb
>>>>
>>>>    All available at:
>>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
>>>>
>>>> Additionally you are encouraged to get the agrsm-tools package
>>>> automation & testing                    agrsm-tools_0.0.1_all.deb
>>>>
>>>> There are difficulties though, as there have been no success reports
>>>> with newer kernels :(  But you may try them out and report back with a
>>>> report.
>>>>
>>>> Regards,
>>>>
>>>>
>>>> Antonio
>>>>
>>>>
>>>> On Mon, Aug 8, 2011 at 11:21 AM, Ian Smith <ismith@xxxxxxxxxxxxxx> wrote:
>>>>> Antonio,
>>>>>
>>>>> Many thanks for such a quick reply.
>>>>>
>>>>> I have attached the file as requested.
>>>>>
>>>>> Kind Regards,
>>>>>
>>>>> Ian
>>>>>
>>>>> On 08/08/11 17:17, Antonio Olivares wrote:
>>>>>> Ian,
>>>>>>
>>>>>> Would you mind sending us ModemData.txt?  It would help determine if
>>>>>> the agrsm048pci-2.1.60_20100316.deb package is the right one for the
>>>>>> job.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Antonio
>>>>>>
>>>>>> On Mon, Aug 8, 2011 at 11:00 AM, Ian Smith <ismith@xxxxxxxxxxxxxx> wrote:
>>>>>>> Sirs,
>>>>>>>
>>>>>>> I am trying to get my fax modem working, and used the latest version of
>>>>>>> scanModem (which complained about being 27weeks old), and this
>>>>>>> instructed me to download the latest file from
>>>>>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ - so I selected
>>>>>>> agrsm048pci-2.1.60_20100316_i386.deb
>>>>>>> <http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm048pci-2.1.60_20100316_i386.deb>
>>>>>>> as this had the latest file date, and appeared to be a formal release.
>>>>>>>
>>>>>>> When I used Ubuntu Software Centre to install it, I got errors stating
>>>>>>> that the "package was of bad quality" and in more detail had the
>>>>>>> following error possibly for each file "E: agrsm048pci-2.1.60:
>>>>>>> wrong-file-owner-uid-or-gid".
>>>>>>>
>>>>>>> Where can I get a more up to date version of scanModem? And is there a
>>>>>>> version of the software for my modem that I can see is safe to install?
>>>>>>>
>>>>>>> Thank you for your help.
>>>>>>>
>>>>>>> Kind Regards,
>>>>>>>
>>>>>>> Ian
>>>>>>>
>>>>>>>
>>>>
>>>
>>
>



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

  Powered by Linux