Re: Success Report: agrsm driver 0x11c11040 on Acer 4736z laptop, kernel 2.6.31
"Ehsan Aali" <[email protected]>
| Newsgroups | gmane.linux.linmodem |
|---|---|
| Message-ID | <C22820AD728F4673B5E668F9753A21C5@acerlaptop> |
Hi MavS: What I mean by talking about "an invalid Init script" is that if I put this line in my wvdial.conf : Init2 = ATQ0 V1 E0 S0=0 &C1 &D2 \V1 +FCLASS=0 The system freezez after running wvdial, but if I escape the '\V1' command and change it tp '\\V1' everything goes fine. In general I have to escape all commands that start with backslash or otherwise sustem hangs. I don't have any other modem to see if the result would be same on them. Below is the full compile output regarding your request: (I also attached the output of scanModem script) Best regards, Ehsan Aali. ------------------------------------------------------------------------------------------ make output: make -C /lib/modules/2.6.31-kernel/build M=/root/tmp/agrsm-11c11040-2.1.80~20091225 modules make[1]: Entering directory `/usr/src/linux-2.6.31-kernel' CC [M] /root/tmp/agrsm-11c11040-2.1.80~20091225/agrsoftmodem.o LD [M] /root/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.o LD [M] /root/tmp/agrsm-11c11040-2.1.80~20091225/agrserial.o Building modules, stage 2. MODPOST 2 modules CC /root/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.mod.o LD [M] /root/tmp/agrsm-11c11040-2.1.80~20091225/agrmodem.ko CC /root/tmp/agrsm-11c11040-2.1.80~20091225/agrserial.mod.o LD [M] /root/tmp/agrsm-11c11040-2.1.80~20091225/agrserial.ko make[1]: Leaving directory `/usr/src/linux-2.6.31-kernel' /* ************************************ */ gcc --version output: gcc (Gentoo 4.4.4-r2 p1.3, pie-0.4.5) 4.4.4 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /* ************************************ */ uname -a output: Linux host1 2.6.31-kernel #6 SMP Mon Mar 28 01:00:04 ICT 2011 i686 Pentium(R) Dual-Core CPU T4400 @ 2.20GHz GenuineIntel GNU/Linux ----- Original Message ----- From: "Marvin Stodolsky" <[email protected]> To: "Ehsan Aali" <[email protected]> Cc: <[email protected]> Sent: Friday, April 01, 2011 5:13 PM Subject: Re: Success Report: agrsm driver 0x11c11040 on Acer 4736z laptop, kernel 2.6.31 > Ehsan, > > Thanks very much for the report. > Would you please describe in more detail what you mean by " pass an > invalid Init Script" so I may do a fix, > and also the full record of the compile. There have been compile > failures with some earlier kernels > Unfortunately nothing can be done about the compression issues, as > that is in the pre-compiled code section provided by Agere/LSI > > MarvS > scanModem maintainer > > On Fri, Apr 1, 2011 at 3:56 AM, Ehsan Aali <[email protected]> wrote: >> Hi All: >> >> I am writing to this mailing list to report my succes in compiling. >> installing and using my laptop's modem (Agere systems HDA modem) after 3 >> months ! >> >> I managed to have a working driver by using the package >> 'agrsm-11c11040-2.1.80~20091225.tar.bz2' on my Gentoo box running kernel >> 2.6.31 (unpatched from kernel.org) >> >> The only issue is that if I pass an invalid Init Script, the system >> completely freezes and I have to restart. >> >> It's my third time that I am struggling with WinModems under linux, the >> first time was about 10 years ago and with an internal Motorola fax-modem >> which I could not managed to make it working, second time I managed to >> have >> the modem recognized and could even dial out and connect but the download >> speed was so slow, in comparison with Windows overall performance, >> >> Now as I forgot the last exprience I enthusiastically started to work on >> Agere driver and yesterday i had it working but unfortunately the speed >> is >> less than what i get in Windows and I have to frequently switch the >> Operating systems in order to use my dial-up conenction. >> >> I investigate the matter and it seems lack of compression in PPP and >> possibily other OS+Driver related issues (which am not really aware of >> details) make the conection slower in Linux (lots of ISPs which offer >> dial-up connections still use Windows Servers and due to this all Linux >> clients are unable to use compression methods.) >> >> Anyway I appreciate it if you guys let me know of any options to speed up >> my >> dial-up connection in Linux environment, although I guess nothing will >> enhance the exprience more. >> >> Final advise to all : Leave the WinModems alone ,buy a real modem, it >> does >> not worth the headache. >> >> Best Regards, >> Ehsan Aali. >>
ModemData.txt
(text/plain, 11.2 KB)
Only plain text email is forwarded by the [email protected] List Server, as HTML can contain viruses. Use as the email Subject Line: YourName, YourCountry This is kernel 2.6.31-kernel 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 [email protected] 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, This , ALSA_version=1.0.20 Linux version 2.6.31-kernel (root@host1) (gcc version 4.4.4 (Gentoo 4.4.4-r2 p1.3, pie-0.4.5) ) #6 SMP Mon Mar 28 01:00:04 ICT 2011 scanModem update of: 2011_02_04 /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: snd_hda_intel agrmodem agrserial Attached USB devices are: ID 08ff:1600 AuthenTec, Inc. AES1600 ID 04f2:b044 Chicony Electronics Co., Ltd 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 [email protected] Candidate PCI devices with modem chips are: 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 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:293e 1025:0260 Audio device: Intel Corporation 82801I Modem interrupt assignment and sharing: 22: 441 431 IO-APIC-fasteoi HDA Intel --- Bootup diagnostics for card in PCI slot 00:1b.0 ---- [ 0.502650] pci 0000:00:1b.0: reg 10 64bit mmio: [0x56700000-0x56703fff] [ 0.503028] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold [ 0.503111] pci 0000:00:1b.0: PME# disabled [ 5.934599] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 5.934635] 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 [email protected] 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: ALC888 Analog : ALC888 Analog : playback 1 : capture 1 00-01: ALC888 Digital : ALC888 Digital : playback 1 00-02: ALC888 Analog : ALC888 Analog : capture 1 00-03: INTEL HDMI : INTEL HDMI : playback 1 about /proc/asound/cards: ------------------------ 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0x56700000 irq 22 PCI slot 00:1b.0 has a High Definition Audio Card The drivers are in the kernel modules tree at: /lib/modules/2.6.36-gentoo/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.27.54/alsa-driver/pci/hda/snd-hda-intel.ko /lib/modules/2.6.27.54/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.35.9/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.31-kernel/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.26/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.35.3/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.34-gentoo-r6/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 Function Id: 0x2 Vendor Id: 0x11c11040 Subsystem Id: 0x10250260 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/ 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 82801I " CLASS=0403 PCIDEV=8086:293e SUBSYS=1025:0260 IRQ=22 HDA2=00:1b.0 SOFT=8086:293e.HDA HDAchipVendorID=11c1 CHIP=0x11c11040 IDENT=agrsm Driver=agrsm package=agrsm-11c11040 For candidate modem in: 00:1b.0 0403 Audio device: Intel Corporation 82801I Primary device ID: 8086:293e Subsystem PCI_id 1025:0260 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 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.4.4 and the compiler used in kernel assembly: 4.4.4 Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.4 linuc_headers base folder /lib/modules/2.6.31-kernel/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. 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-s--x--x 1 root root 251940 Oct 28 23:02 /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: wlan0 wmaster0 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: Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: /etc/modules.autoload.d/kernel-2.6:#agrmodem /etc/modules.autoload.d/kernel-2.6:agrmodem --------- end modem support lines --------