Re: Alan Cowie, New Zealand, kernel 2.6.26-2-686

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

 



Alan,

You may try the newer agrsm code:

http://linmodems.technion.ac.il/packages/ltmodem/sv92/agrsm-20090418.tar.gz

or a newer one available:

http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-20090502.tar.gz

Let us know if it does compile and hopefully you can make it work.

Regards,

Antonio

On 7/27/09, Alan Cowie <acowie@xxxxxxxxxxxxxxx> wrote:
> Cant seem to compile agrsm-20080626 on my machine. Have loaded the kernel
> headers but consistently get the same make error. Copy of my make output and
> ModemData.txt follow.
>
> **********Make results**********************
> IBMS50:/home/alan/agrsm-20090418# make
> make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/home/alan/agrsm-20090418
> modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
>   CC [M]  /home/alan/agrsm-20090418/serial26.o
> /home/alan/agrsm-20090418/serial26.c: In function 'receive_chars':
> /home/alan/agrsm-20090418/serial26.c:1007: error: 'struct uart_info' has no
> member named 'port'
> /home/alan/agrsm-20090418/serial26.c: In function 'serial8250_get_mctrl':
> /home/alan/agrsm-20090418/serial26.c:1371: warning: unused variable 'flags'
> /home/alan/agrsm-20090418/serial26.c: In function 'serial8250_config_port':
> /home/alan/agrsm-20090418/serial26.c:2039: warning: unused variable 'ret'
> /home/alan/agrsm-20090418/serial26.c: At top level:
> /home/alan/agrsm-20090418/serial26.c:2131: warning: initialization from
> incompatible pointer type
> /home/alan/agrsm-20090418/serial26.c:2132: warning: initialization from
> incompatible pointer type
> make[2]: *** [/home/alan/agrsm-20090418/serial26.o] Error 1
> make[1]: *** [_module_/home/alan/agrsm-20090418] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
> make: *** [modules] Error 2
> **************************************************
> ******************************
>  Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List
> Server,
>  as HTML can contain viruses. Use as the email Subject Line:
>            YourName, YourCountry  kernel 2.6.26-2-686
>  With this Subject Line cogent experts will be alerted, and useful case
> names left in the Archive.
>  YourCountry will enable Country specific guidance. Linux experts in
> YourCountry
>  can be found through: http://www.linux.org/groups/index.html.
> They will know your Country's modem code, which may be essential for dialup
> service.
> Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet
> Provider mail filters.
>  So in a day, also check the Archived responses at http://www.linmodems.org
> --------------------------  System information ----------------------------
> CPU=i686,
> Linux version 2.6.26-2-686 (Debian 2.6.26-15) (dannf@xxxxxxxxxx) (gcc
> version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Mar 26
> 01:08:11 UTC 2009
>  scanModem update of:  2009_07_02
>
>  There are no blacklisted modem drivers in /etc/modprobe*  files
>  Potentially useful modem drivers now loaded are:
>
>
> Attached USB devices are:
>  ID 1307:0165 Transcend Information, Inc.
>  ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
> If a cellphone is not detected, see
> http://ubuntuforums.org/archive/index.php/t-878554.html
>
> If a USB modem or cellphone is attached and was not detected, please
> provide available information in your request to discuss@xxxxxxxxxxxxx
>
> For candidate card in slot 03:0a.0, firmware information and bootup
> diagnostics are:
>  PCI slot PCI ID  SubsystemID Name
>  ---------- --------- --------- --------------
>  03:0a.0 11c1:048c 11c1:044c Communication controller: Agere Systems V.92
> 56K WinModem
>
>  Modem interrupt assignment and sharing:
>  --- Bootup diagnostics for card in PCI slot 03:0a.0 ----
>
> === Finished firmware and bootup diagnostics, next deducing cogent software.
> ===
>
> Predictive  diagnostics for card in bus 03:0a.0:
>  Modem chipset  detected on
> NAME="Communication controller: Agere Systems V.92 56K WinModem "
> CLASS=0780
> PCIDEV=11c1:048c
> SUBSYS=11c1:044c
> IRQ=11
> IDENT=agrsm
>
>  For candidate modem in:  03:0a.0
>    0780 Communication controller: Agere Systems V.92 56K WinModem
>       Primary device ID:  11c1:048c
>  Support type needed or chipset: agrsm
>
>
>
> The AgereSystems/LSI agrsm code supports compiling of a agrmodem + agrsm
> driver pair.
> One resource site is
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
> Thereat get the agrsm_howto.txt and one of the agrsm-tools packages.
> The initial agrsm_howto.txt compiling steps are only cogent to modems with
> PCI IDs:
>    11c1:0620, 11c1:048c and 11c1:048f chips.
>    They use the agrsm-20090418.tar.gz package.
> The agrsm-tools sets a useful symbolic link and a agrsm-test utlity
>
> For AgereSystems/LSI with Vendor 11c1 chips hosted on High Definition Audio
> cards, there may be support
> through the agrsm resources (providing an agrmodem + agrserial driver pair)
> as an alternative to usage
> of the snd-hda-intel driver + slmodemd helper. For the 11c11040 modem chip,
> ONLY the agrsm code is competent.
> Your Linux distro's dkms package should be first installed, as it directs
> the installation of modem
> specific dkms-agrsm resources, and also directs auto-installation of new
> drivers upon kernel upgrades.
>
> Currently, the dkms-agrsm code is NOT competent for 2.26.28 and later
> kernels.
> A short term fix is to install linux-image + linux-headers packages for
> earlier kernels.
> For example, for Ubuntu Jaunty with 2.6.28 kernels, linux-image +
> linux-headers packages
> for earlier 2.26.27 series Intrepid kernels can be installed. Search for
> them at:
>    http://packages.ubuntu.com
>
>
> The primary dkms-agrsm resource site is
> http://linux.zsolttech.com/linmodem/agrsm/
> whereat a few different packaging types are available. Debian type
> installers (supporting Ubuntu too)
> are copied to http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ .
> Thereat the current package
> is the dkms-agrsm_2.1.80-6_i386.deb is for Agere/LSI chipsets hosted on High
> Definition Audio cards.
> Read the Modem/DOCs/Agrsm.txt for details.
>
> -------------- end Agere Systems section -------------------
>
>  Completed candidate modem analyses.
>
>  The base of the UDEV device file system is: /dev/.udev
>
>  Versions adequately match for the compiler installed: 4.1.3
>              and the compiler used in kernel assembly: 4.1.3
>
>
>
>  Minimal compiling resources appear complete:
>    make utility - /usr/bin/make
>    Compiler version 4.1
>    linuc_headers base folder /lib/modules/2.6.26-2-686/build
>
>  However some compilations and executable functions may need additional
> files,
>  in the FileNames.h (so called kernel "h"eaders) collection installed in
> /usr/include/ .
>  For martian_modem, additional required packages are needed. The also
> required headers of package libc6 are commonly installed by default.
>  Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev
> packages, for kernels 2.6.24 and later versions.
>  In not included on your install CD, search for them at
> http://packages.ubuntu.com
>  or comparable Repository for other Linux distros.
>  When compiling ALSA drivers, the utility "patch" will also be needed.
>
>
> Compressed files at: /usr/src/lirc-modules.tar.bz2
> /usr/src/martian-modem.tar.bz2
>
> For Debian and some related distributions, a package kernel-kbuild-2.6-26
> may be needed to support driver compiling.
>
>
> If a driver compilation fails, with message including some lack of some
> FileName.h (stdio.h for example), then
> Some additional kernel-header files need installation to /usr/include. The
> minimal additional packages are libc6-dev
> and any of its dependents, under Ubuntu linux-libc-dev
>
> If an alternate ethernet connection is available,
> $  apt-get update
> $  apt-get -s install linux-kernel-devel
> will install needed packages.
> For Debian/Ubuntu related distributions, run the following command to
> display the needed package list:
>
> Otherwise packages have to be found through http://packages.ubuntu.com
> Once downloaded and transferred into a Linux partition,
> they can be installed alltogether with:
> $ sudo dpkg -i *.deb
>
>
> Checking pppd properties:
>  -rwsr-xr-- 1 root dip 269156 2008-11-29 06:48 /usr/sbin/pppd
>
> In case of an "error 17" "serial loopback" problem, see:
>     http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html
>
> To enable dialout without Root permission do:
>  $ su - root  (not for Ubuntu)
>          chmod a+x /usr/sbin/pppd
> or under Ubuntu related Linuxes
>   chmod a+x /usr/sbin/pppd
>
> Checking settings of: /etc/ppp/options
>
>
> In case of a message like:
>    Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
> see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
>
> Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
> Which can interfere with Browser naviagation.
>
>  Don't worry about the following, it is for experts should trouble shooting
> be necessary.
> ==========================================================
>
>  Checking for modem support lines:
>  --------------------------------------
>      /device/modem symbolic link:
> slmodemd created symbolic link /dev/ttySL0:
>      Within /etc/udev/ files:
> /etc/udev/rules.d/80-drivers.rules:SUBSYSTEM=="atm",
> RUN+="dsl-modem.agent"
>      Within /etc/modprobe.conf files:
> /etc/modprobe.d/agrsm.conf:## setup agrsm modem with only: "sudo modprobe
> agrserial"
> /etc/modprobe.d/agrsm.conf:install agrserial /sbin/modprobe --ignore-install
> agrmodem ; /sbin/modprobe --ignore-install agrserial && \
> /etc/modprobe.d/agrsm.conf:remove agrserial
> /sbin/modprobe -r --ignore-remove agrserial ;
> /sbin/modprobe -r --ignore-remove agrmodem && { if test -L /dev/ttySAGR;
> then rm /dev/ttySAGR; fi } ; true
> /etc/modprobe.d/agrsm.conf:# to automate bootup  "sudo modprobe agrmodem"
> /etc/modprobe.d/agrsm.conf:## to setup agrsm modem with only: "sudo modprobe
> agrmodem"
> /etc/modprobe.d/agrsm.conf:# install agrmodem
> /sbin/modprobe --ignore-install agrmodem && \
> /etc/modprobe.d/agrsm.conf:## of effects of agrmodem and agrserial loading
> /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
> /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
> /etc/modprobe.d/alsa-base-blacklist:# Uncomment these entries in order to
> blacklist unwanted modem drivers
> /etc/modprobe.d/alsa-base-blacklist:# blacklist snd-atiixp-modem
> /etc/modprobe.d/alsa-base-blacklist:# blacklist snd-via82xx-modem
>      Within any ancient /etc/devfs files:
>
>      Within ancient kernel 2.4.n /etc/module.conf files:
>
> --------- end modem support lines --------
>
>  For Debian users, the linux-headers-2.6.26-2-686.deb can be used instead of
> kernel-source/
>
>

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

  Powered by Linux