I'm having problem getting my agere pci soft modem to work with ubuntu. I have tried everything that i read online. PLEASE HELP!!!!!! -------------------------------------------------------------------------------------------------------------------------------------- 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.28-11-generic 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.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 scanModem update of: 2009_05_31 The dialer utility package WVDIAL does not appear to be installed on your System. Please read Modem/DOCs/wvdial.txt There are no blacklisted modem drivers in /etc/modprobe* files Potentially useful modem drivers now loaded are: snd_via82xx_modem Attached USB devices are: ID 0409:0056 NEC Corp. ID 0930:6545 Toshiba Corp. ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader ID 09da:0006 A4 Tech Co., Ltd Optical Mouse WOP-35 / Trust 450L Optical Mouse 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 00:09.0, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:09.0 11c1:048c 11c1:044c Communication controller: Agere Systems V.92 56K WinModem Modem interrupt assignment and sharing: =================================== The modem interrupt (IRQ) is 255 . IRQs of 0 or 255 are not functional!! The CPU cannot control the modem until this situation is corrected!! Possible corrections are: 1) Within the boot up BIOS, change from a Windows to a non-PNP/Other Operating System type. Instructions for accessing BIOS are at: http://linmodems.technion.ac.il/resources.html within: Additional Resourcces. 2a) Add an option "pci=routeirq" to the kernel boot up line. Here is an example paragraph from /boot/grub/menu.lst : title Ubuntu, kernel 2.6.15-26-686 root (hd0,6) kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/hda7 ro pci=routeirq initrd /boot/initrd.img-2.6.15-26-686 savedefault 2b) Same as above, but use "pollirq" instead of "pci=routeirq". 3) Within some BIOS setups, IRQ assignments can be changed. 4) On non-laptop systems, moving the modem card to another slot has helped. 5) Sometimes upgrading the kernel changes IRQ assignment. ===================================== --- Bootup diagnostics for card in PCI slot 00:09.0 ---- [ 0.550704] pci 0000:00:09.0: reg 10 32bit mmio: [0xea000000-0xea0000ff] [ 0.550711] pci 0000:00:09.0: reg 14 io port: [0xa000-0xa007] [ 0.550717] pci 0000:00:09.0: reg 18 io port: [0xa400-0xa4ff] [ 0.550738] pci 0000:00:09.0: supports D2 [ 0.550741] pci 0000:00:09.0: PME# supported from D2 D3hot D3cold [ 0.550745] pci 0000:00:09.0: PME# disabled The PCI slot 00: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. For candidate card in slot 00:11.6, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:11.6 1106:3068 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller Modem interrupt assignment and sharing: 22: 2277 IO-APIC-fasteoi VIA8237 --- Bootup diagnostics for card in PCI slot 00:11.6 ---- [ 0.551369] pci 0000:00:11.6: reg 10 io port: [0xdc00-0xdcff] [ 75.596051] VIA 82xx Modem 0000:00:11.6: enabling device (0000 -> 0001) [ 75.596552] VIA 82xx Modem 0000:00:11.6: PCI INT C -> Link[ALKC] -> GSI 22 (level, low) -> IRQ 22 [ 76.348025] VIA 82xx Modem 0000:00:11.6: setting latency timer to 64 [ 76.852254] VIA 82xx Modem 0000:00:11.6: PCI INT C disabled [ 76.852275] VIA 82xx Modem: probe of 0000:00:11.6 failed with error -13 The PCI slot 00:11.6 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. PCIbus=00:11.6 00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80) Flags: medium devsel, IRQ 22 I/O ports at dc00 [size=256] Capabilities: [d0] Power Management version 2 Kernel modules: snd-via82xx-modem ===== 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 ALSA verion is 1.0.18 The modem cards detected by "aplay -l" are: None The /proc/asound/pcm file reports: ----------------------- 00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1 00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1 about /proc/asound/cards: ------------------------ 0 [V8237 ]: VIA8237 - VIA 8237 VIA 8237 with ALC658D at 0xd800, irq 22 === Finished firmware and bootup diagnostics, next deducing cogent software. === Predictive diagnostics for card in bus 00:09.0: Modem chipset detected on NAME="Communication controller: Agere Systems V.92 56K WinModem " CLASS=0780 PCIDEV=11c1:048c SUBSYS=11c1:044c IRQ=255 IDENT=agrsm For candidate modem in: 00: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 + 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 ------------------- Predictive diagnostics for card in bus 00:11.6: Modem chipset detected on NAME="Communication controller: VIA Technologies, Inc. AC'97 Modem Controller " CLASS=0780 PCIDEV=1106:3068 SUBSYS=none IRQ=22 SOFT=1106:3068.MC97 CodecArchived=AGR02_possibly IDENT=slmodemd SLMODEMD_DEVICE=modem:1 Driver=snd-via82xx-modem For candidate modem in: 00:11.6 0780 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller Primary device ID: 1106:3068 Subsystem PCI_id none Softmodem codec or chipset from diagnostics: from Archives: AGR02_possibly Support type needed or chipset: slmodemd An ALSA (Advanced Linux Sound Architecture) modem driver: snd-via82xx-modem provides Low Level support enabling contact with the modem hardware. For all BUT Conexant chip soft modems (using hsfmodem software) complementary High Level support is through a Smartlink utility: slmodemd Download from http://linmodems.technion.ac.il/packages/smartlink/ the package SLMODEMD.gcc4.3.tar.gz having a compiled slmodemd. Unpack under Linux with: $ tar zxf SLMODEMD.gcc4.3.tar.gz and read instructions therein. But briefly, the modem is setup with command: sudo slmodemd -c YOUR_COUNTRY --alsa modem:1 reporting dynamic creation of ports: /dev/ttySL0 --> /dev/pts/N , with N some number Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance. Writing DOCs/Smartlink.txt ============ end Smartlink section ===================== Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.3.3 and the compiler used in kernel assembly: 4.3.3 The patch utility is needed and is needed for compiling ALSA drivers, and possibly others. Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.3 linuc_headers base folder /lib/modules/2.6.28-11-generic/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: -rwsr-xr-- 1 root dip 277352 2009-02-20 17:25 /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) sudo chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes sudo chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options asyncmap 0 noauth crtscts lock hide-password modem proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx 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: Within /etc/modprobe.conf files: /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2 /etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------