Hello. I'm trying to use the modem which came with my laptop to connect to the internet. Unfortunately it's a winmodem, like most. The output of scanModem (attached) is not clear enough as to which driver should be used on this modem. I finally installed and configured sl-modem-daemon - but I still don't know which country should I specify, since Colombia (where I currently live) is not one of the available options. It appears, nevertheless, that my system is talking to the modem. I can't connect to the internet, though, since I always get this message with either Gnome-PPP or WvDial: --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATM1L3DT019479472323 --> Waiting for carrier. ATM1L3DT019479472323 NO CARRIER --> No Carrier! Trying again. That happens even after I've set Carrier Check = no on wvdial.conf, so I'm stuck here. After rebooting, I get the following error message from both Gnome-PPP and WvDial: --> Cannot open /dev/ttySL0: No such file or directory --> Cannot open /dev/ttySL0: No such file or directory --> Cannot open /dev/ttySL0: No such file or directory Problem is, /dev/ttySL0 is there and world-writable. OK, then, I'll try restarting slmodemd: $ sudo slmodemd -c USA --alsa hw:0,6 error: locked memory limit too low: error: need 8388608 bytes, have 65536 bytes error: try 'ulimit -l 8192' Oh well. Since sudo ulimit doesn't work, I need to start a root shell, THEN run the ulimit code suggested, THEN slmodemd -c USA --alsa hw:0,6, and THEN... nothing. I'm right back at square one - no carrier. Also: the exact same setup works under Windows XP, so I know there's nothing wrong with my hardware. The full content of ModemData.txt follows: 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-24-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, Ubuntu , ALSA_version=1.0.23 Linux version 2.6.35-24-generic (buildd@vernadsky) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 scanModem update of: 2010_12_12 The modem symbolic link is /dev/modem -> ttySL0 The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/2 Distrib_ID=Ubuntu DistribCodeName=maverick AptRepositoryStem=http://ubuntu.wikimedia.org/ubuntu/ The dkms driver upgrade utilities are installed, There are no blacklisted modem drivers in /etc/modprobe* files Potentially useful modem drivers now loaded are: snd_hda_intel Attached USB devices are: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module] ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem ID 0781:5406 SanDisk Corp. Cruzer Micro U3 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:06.4 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01) High Definition Audio cards can host modem chips. For candidate card in slot 02:06.4, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 02:06.4 104c:803d 103c:30ac Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller Modem interrupt assignment and sharing: --- Bootup diagnostics for card in PCI slot 02:06.4 ---- [ 0.293990] pci 0000:02:06.4: reg 10: [mem 0xe420a000-0xe420afff] [ 0.294000] pci 0000:02:06.4: reg 14: [mem 0xe420b000-0xe420bfff] [ 0.294070] pci 0000:02:06.4: supports D1 D2 [ 0.294072] pci 0000:02:06.4: PME# supported from D0 D1 D2 D3hot [ 0.294078] pci 0000:02:06.4: PME# disabled The PCI slot 02:06.4 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:1b.0, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:1b.0 8086:27d8 103c:30ac Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller Modem interrupt assignment and sharing: 45: 16836 0 PCI-MSI-edge hda_intel --- Bootup diagnostics for card in PCI slot 00:1b.0 ---- [ 0.290686] pci 0000:00:1b.0: reg 10: [mem 0xe4700000-0xe4703fff 64bit] [ 0.290750] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold [ 0.290755] pci 0000:00:1b.0: PME# disabled [ 28.827744] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0 [ 28.827779] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0 [ 28.827788] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 28.827858] HDA Intel 0000:00:1b.0: irq 45 for MSI/MSI-X [ 28.827891] 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. === Finished firmware and bootup diagnostics, next deducing cogent software. === Predictive diagnostics for card in bus 02:06.4: Modem chipset detected on NAME="Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller" CLASS=0780 PCIDEV=104c:803d SUBSYS=103c:30ac IRQ=11 HDA2=00:1b.0 HDAchipVendorID=11c1 CHIP=0x11c13026 IDENT=slmodemd SLMODEMD_DEVICE=hw:0,6 Driver=snd-hda-intel package=agrsm-11c11040 For candidate modem in: 02:06.4 0780 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller Primary device ID: 104c:803d Support type needed or chipset: slmodemd An ALSA (Advanced Linux Sound Architecture) modem driver: snd-hda-intel 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.4_alsa1.0.23.tar.gz having a compiled slmodemd. Unpack under Linux with: $ tar zxf SLMODEMD_gcc4.4_alsa1.0.23.tar.gz and read instructions therein. But briefly, the modem is setup with command: sudo slmodemd -c YOUR_COUNTRY --alsa hw:0,6 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/Intel.txt Writing DOCs/Smartlink.txt ============ end Smartlink section ===================== 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 ------------------- Predictive diagnostics for card in bus 00:1b.0: Modem chipset not detected on NAME="Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller " CLASS=0403 PCIDEV=8086:27d8 SUBSYS=103c:30ac IRQ=45 For candidate modem in: 00:1b.0 0403 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller Primary device ID: 8086:27d8 Support type needed or chipset: Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.4.5 and the compiler used in kernel assembly: 4.4.5 linux-headers-2.6.35-24-generic resources needed for compiling are not manifestly ready! If compiling is necessary packages must be installed, providing: linux-headers-2.6.35-24-generic 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 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 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 eth2 ppp0 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: lrwxrwxrwx 1 root root 6 2010-12-21 22:43 /dev/modem -> ttySL0 slmodemd created symbolic link /dev/ttySL0: lrwxrwxrwx 1 root root 10 2010-12-21 22:43 /dev/ttySL0 -> /dev/pts/2 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/sl-modem.conf:install slamr /sbin/modprobe -qb ungrab-winmodem; /sbin/modprobe --ignore-install slamr; test -e /dev/slamr0 && (chmod 660 /dev/slamr0 && chgrp dialout /dev/slamr0) || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0) /etc/modprobe.d/sl-modem.conf:install slusb /sbin/modprobe -qb ungrab-winmodem; /sbin/modprobe --ignore-install slusb; test -e /dev/slusb0 && (chmod 660 /dev/slusb0 && chgrp dialout /dev/slusb0) || (/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0) /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 -------- -- $0='!/msfQ0yjoV!fe!sfldbi!psup!pmpT'x19xor print+map{("\e[7m \e[0m", chr ord(chop$0)-1)[$_].("\n")[++$i%72]}split//,unpack'B*',pack'H*',( $P='F'x18)."8186078739E1F0F0E19FCF333319CCE6667383CF0733099E67E7F39" ."FCF3333218067E7F39FCF3333319E6666739F860787399E70F0E1$P"#Perl rulz