Re: agrmodem 048c compiles and installs but doesn't work

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

 



Patches,

Sometimes completely shuttting down audio fuction helps with this
11c1:048c  chipset modem.
Antonio can better advise how to shut down audio under Fedora.

MarvS

On Thu, Jan 13, 2011 at 4:06 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Patches,
>
> It is not working because of a kernel oops/kernel panic error? from
> last part of your data:
>
> dmesg | grep -i agr
> ----------------------------
> [11418.781429] agrmodem: module license 'Proprietary' taints kernel.
> [11418.850254] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [11418.850312] agrsm: created 1 infos
> [11423.574226] agrserial: Loading module Agere Modem Interface driver
> version 2.1.60.0.Linspire (2005-11-16)
> [11432.826219] agrsm 0000:02:09.0: PCI INT A disabled
> [11432.977161] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [11432.978640] agrsm: created 1 infos
> [11433.008150] agrserial: Loading module Agere Modem Interface driver
> version 2.1.60.0.Linspire (2005-11-16)
> [11435.161155] Â[<f952c068>] ? wrap_LX_isr_handler+0x0/0x18 [agrmodem]
> [11435.161209] Â[<f952c22a>] x_request_irq+0x20/0x22 [agrmodem]
> [11435.161276] Â[<f95e3189>] lin_isr_obtain+0x39/0x50 [agrmodem]
> [11435.161337] Â[<f95e3130>] ? LX_isr_handler+0x0/0x20 [agrmodem]
> [11435.161404] Â[<f95d4329>] LXHardwareCommonStartISR+0xf9/0x170 [agrmodem]
> [11435.161472] Â[<f95d4540>] ? LXHardwareCommonTopHalf+0x0/0xe0 [agrmodem]
> [11435.161539] Â[<f95dcc10>] CodecInstallIsr+0x20/0x50 [agrmodem]
> [11435.161597] Â[<f95ef55d>] CAcadiaInit+0x18d/0x520 [agrmodem]
> [11435.161665] Â[<f95d3350>] LXHardwareStart+0x3b0/0xe40 [agrmodem]
> [11435.161759] Â[<f95d2318>] linux_modem_open+0x48/0x110 [agrmodem]
> [11435.161809] Â[<f952c113>] modemPortOpen+0xd/0x17 [agrmodem]
> [11435.161819] Â[<f7879b58>] serial8250_startup+0x3e/0x26e [agrserial]
>
> If you try a newer kernel, does it do the same?
>
> Regards,
>
> Antonio
>
> On Thu, Jan 13, 2011 at 2:33 PM, Patches Houlihan
> <patchesthecaveman@xxxxxxxxx> wrote:
>> The driver for my agrmodem 048c compiles successfully (though I do get
>> some warnings shown below) and the module loads and appears to
>> recognize the modem, but wvdial in agrsm-test fails to recognize the
>> modem. ÂI have verified that the modem works fine in Windows.
>>
>> Thank you for any suggestions you can offer.
>>
>> ModemData.txt
>> ---------------------
>> Â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.35.6-45.fc14.i686
>> Â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, Âfedora , ÂALSA_version=1.0.23
>> Linux version 2.6.35.6-45.fc14.i686
>> (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.5.1 20100924
>> (Red Hat 4.5.1-4) (GCC) ) #1 SMP Mon Oct 18 23:56:17 UTC 2010
>> ÂscanModem update of: Â2010_12_12
>>
>> /etc/lsb-release not found
>>
>>
>> Presently install your Linux Distributions dkms package. It provides
>> for automated driver updates,
>> following upgrade of your kernel. ÂFor details see
>> http://linux.dell.com/projects.shtml#dkms
>>
>> ÂThere are no blacklisted modem drivers in /etc/modprobe* Âfiles
>>
>> ÂPotentially useful modem drivers now loaded are:
>> Â Â Â Â Â Âagrmodem agrserial
>>
>> Attached USB devices are:
>> ÂID 1038:0100 Ideazon, Inc. Zboard
>> ÂID 03eb:3301 Atmel Corp. at43301 4-Port Hub
>> ÂID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
>> ÂID 0bc2:3008 Seagate RSS LLC
>> If a cellphone is not detected, see
>> http://ubuntuforums.org/archive/index.php/t-878554.html
>> A sample report is:
>> http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html
>>
>> 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:
>> 02:09.0 Communication controller: Agere Systems V.92 56K WinModem (rev 03)
>> High Definition Audio cards can host modem chips.
>>
>> For candidate card in slot 02:09.0, firmware information and bootup
>> diagnostics are:
>> ÂPCI slot    PCI ID     ÂSubsystemID   Name
>> Â---------- Â Â --------- Â Â Â --------- Â Â Â --------------
>> Â02:09.0    Â11c1:048c    11c1:044c    Communication
>> controller: Agere Systems V.92 56K WinModem
>>
>> ÂModem interrupt assignment and sharing:
>> Â18:   119466  IO-APIC-fasteoi  uhci_hcd:usb4, eth0
>> Â--- Bootup diagnostics for card in PCI slot 02:09.0 ----
>> [ Â Â0.122480] pci 0000:02:09.0: reg 10: [mem 0xfe1ffc00-0xfe1ffcff]
>> [ Â Â0.122492] pci 0000:02:09.0: reg 14: [io Â0xecf8-0xecff]
>> [ Â Â0.122503] pci 0000:02:09.0: reg 18: [io Â0xe800-0xe8ff]
>> [ Â Â0.122552] pci 0000:02:09.0: supports D2
>> [ Â Â0.122556] pci 0000:02:09.0: PME# supported from D2 D3hot D3cold
>> [ Â Â0.122564] pci 0000:02:09.0: PME# disabled
>> [11418.850254] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
>> [11432.826219] agrsm 0000:02:09.0: PCI INT A disabled
>> [11432.977161] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
>>
>> ÂThe PCI slot 02:09.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.
>>
>>
>> === Finished firmware and bootup diagnostics, next deducing cogent software. ===
>>
>> Predictive Âdiagnostics for card in bus 02:09.0:
>> Â Â Â ÂModem chipset Âdetected on
>> NAME="Communication controller: Agere Systems V.92 56K WinModem "
>> CLASS=0780
>> PCIDEV=11c1:048c
>> SUBSYS=11c1:044c
>> IRQ=18
>> IDENT=agrsm
>>
>> ÂFor candidate modem in: Â02:09.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 +
>> agrserial driver pair.
>> There are a few different chipsets which use this driver pair, but
>> they use different code resources:
>> Chipsets            ÂKV*   PackageNames (most current as
>> of November 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
>> agrsm06pci-2.1.80~20100106.tar.gz !!
>> 11c11040 (on HDA audio cards) Â 2.6.31
>> agrsm-11c11040_20091225_i386.deb or
>> agrsm-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-nineth/msg02753.html
>> Â For the 11c11040 chip with kernels 2.6.31 and later a change in a
>> modules loading settingmay be necessary.
>> Â Within the file /etc/modprobe.d/alsa-base.conf Â(or equivalent for
>> your Distro), 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 be 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 distros dkms package
>> is previously installed, if provides for future updates matching
>> forthcoming kernels.
>>
>> -------------- 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.5.1
>> Â Â Â Â Â Â and the compiler used in kernel assembly: 4.5.1
>>
>> Âlinux-headers-2.6.35.6-45.fc14.i686 resources needed for compiling
>> are not manifestly ready!
>> ÂThe patch utility is needed for compiling ALSA drivers, and possibly others.
>>
>> ÂIf compiling is necessary packages must be installed, providing:
>>
>>
>>
>> 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:
>> Â Â Â Â-r-xr-xr-x. 1 root root 350632 Jun 16 Â2010 /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
>> lock
>>
>> 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
>>
>> For guidance on FAX usage, get from
>> http://linmodems.technion.ac.il/packages/ Âget faxing.tar.gz
>> It has samples for a modem using port /dev/ttySL0, which must be
>> changed to match your modem's port.
>>
>> 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:
>>
>> Â Â 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
>> Â Â Within any ancient /etc/devfs files:
>>
>> Â Â Within ancient kernel 2.4.n /etc/module.conf files:
>>
>> --------- end modem support lines --------
>>
>>
>> agrsm-test
>> ---------------
>>
>> Found drivers for boot kernel 2.6.35.6-45.fc14.i686 at:
>> find: paths must precede expression: agrserial.ko
>> Usage: find [-H] [-L] [-P] [-Olevel] [-D
>> help|tree|search|stat|rates|opt|exec] [path...] [expression]
>>
>>
>>
>> Loading drivers:
>>
>> Drivers loaded:
>> agrserial        8586 Â0
>> agrmodem       1182405 Â1 agrserial
>>
>> and symbolic link created:
>> lrwxrwxrwx. 1 root root 12 Jan 13 12:17 /dev/ttySAGR -> /dev/ttyAGS3
>>
>> Checking for utility wvdialconf
>> Found /usr/bin/wvdialconf, preparing to run:
>> Â Â Â Âwvdialconf /etc/wvdial.conf
>> A file /etc/wvdial.conf already exists, first renaming to
>> /etc/wvdial.201101131701
>>
>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
>> ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
>> Modem Port Scan<*1>: S1 Â S2 Â S3
>> ttySAGR<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
>> ttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
>> ttySAGR<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
>>
>> A reboot may be necessary before modem detection through:
>> Â Â Â Âsudo modprobe agrserial
>> Which will load agrmodem, agrserial and create the symbolic link needed for:
>> Â Â Â Âsudo wvdialconf
>>
>>
>> The installation record has been written to ./agrsm-test.txt
>>
>> make
>> -----------
>> make -C /lib/modules/2.6.35.6-45.fc14.i686/build
>> SUBDIRS=/home/me/Downloads/agrsm048pci-2.1.60 modules
>> make[1]: Entering directory `/usr/src/kernels/2.6.35.6-45.fc14.i686'
>> ÂCC [M] Â/home/me/Downloads/agrsm048pci-2.1.60/agrsoftmodem.o
>> objcopy --weaken-symbol=LXHardwareInfoCreate \
>> Â Â Â Â--weaken-symbol=LXHardwareInfoDestroy \
>> Â Â Â Â/home/me/Downloads/agrsm048pci-2.1.60/agrmodemlib.o
>> /home/me/Downloads/agrsm048pci-2.1.60/agrsm_core.o
>> ÂCC [M] Â/home/me/Downloads/agrsm048pci-2.1.60/lib.o
>> /home/me/Downloads/agrsm048pci-2.1.60/lib.c: In function âx_linux_dbg_printâ:
>> /home/me/Downloads/agrsm048pci-2.1.60/lib.c:109:2: warning: the frame
>> size of 1540 bytes is larger than 1024 bytes
>> /home/me/Downloads/agrsm048pci-2.1.60/lib.c: In function
>> âx_linux_dbg_print_critâ:
>> /home/me/Downloads/agrsm048pci-2.1.60/lib.c:120:2: warning: the frame
>> size of 1540 bytes is larger than 1024 bytes
>> ÂCC [M] Â/home/me/Downloads/agrsm048pci-2.1.60/serial26.o
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c: In function
>> âserial8250_get_mctrlâ:
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:1383:16: warning:
>> unused variable âflagsâ
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c: In function
>> âserial8250_config_portâ:
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:2051:6: warning:
>> unused variable âretâ
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c: At top level:
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:2143:2: warning:
>> initialization from incompatible pointer type
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:2144:2: warning:
>> initialization from incompatible pointer type
>> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:1933:1: warning:
>> âserial8250_request_rsa_resourceâ defined but not used
>> ÂLD [M] Â/home/me/Downloads/agrsm048pci-2.1.60/agrmodem.o
>> ÂLD [M] Â/home/me/Downloads/agrsm048pci-2.1.60/agrserial.o
>> ÂBuilding modules, stage 2.
>> ÂMODPOST 2 modules
>> WARNING: could not find
>> /home/me/Downloads/agrsm048pci-2.1.60/.agrsm_core.o.cmd for
>> /home/me/Downloads/agrsm048pci-2.1.60/agrsm_core.o
>> WARNING: modpost: Found 3 section mismatch(es).
>> To see full details build your kernel with:
>> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>> ÂCC Â Â Â/home/me/Downloads/agrsm048pci-2.1.60/agrmodem.mod.o
>> ÂLD [M] Â/home/me/Downloads/agrsm048pci-2.1.60/agrmodem.ko
>> ÂCC Â Â Â/home/me/Downloads/agrsm048pci-2.1.60/agrserial.mod.o
>> ÂLD [M] Â/home/me/Downloads/agrsm048pci-2.1.60/agrserial.ko
>> make[1]: Leaving directory `/usr/src/kernels/2.6.35.6-45.fc14.i686'
>>
>> dmesg | grep -i agr
>> ----------------------------
>> [11418.781429] agrmodem: module license 'Proprietary' taints kernel.
>> [11418.850254] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
>> [11418.850312] agrsm: created 1 infos
>> [11423.574226] agrserial: Loading module Agere Modem Interface driver
>> version 2.1.60.0.Linspire (2005-11-16)
>> [11432.826219] agrsm 0000:02:09.0: PCI INT A disabled
>> [11432.977161] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
>> [11432.978640] agrsm: created 1 infos
>> [11433.008150] agrserial: Loading module Agere Modem Interface driver
>> version 2.1.60.0.Linspire (2005-11-16)
>> [11435.161155] Â[<f952c068>] ? wrap_LX_isr_handler+0x0/0x18 [agrmodem]
>> [11435.161209] Â[<f952c22a>] x_request_irq+0x20/0x22 [agrmodem]
>> [11435.161276] Â[<f95e3189>] lin_isr_obtain+0x39/0x50 [agrmodem]
>> [11435.161337] Â[<f95e3130>] ? LX_isr_handler+0x0/0x20 [agrmodem]
>> [11435.161404] Â[<f95d4329>] LXHardwareCommonStartISR+0xf9/0x170 [agrmodem]
>> [11435.161472] Â[<f95d4540>] ? LXHardwareCommonTopHalf+0x0/0xe0 [agrmodem]
>> [11435.161539] Â[<f95dcc10>] CodecInstallIsr+0x20/0x50 [agrmodem]
>> [11435.161597] Â[<f95ef55d>] CAcadiaInit+0x18d/0x520 [agrmodem]
>> [11435.161665] Â[<f95d3350>] LXHardwareStart+0x3b0/0xe40 [agrmodem]
>> [11435.161759] Â[<f95d2318>] linux_modem_open+0x48/0x110 [agrmodem]
>> [11435.161809] Â[<f952c113>] modemPortOpen+0xd/0x17 [agrmodem]
>> [11435.161819] Â[<f7879b58>] serial8250_startup+0x3e/0x26e [agrserial]
>>
>



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

  Powered by Linux