Tour, Add a line to /etc/wvdial.conf : Carrier Check = no MarvS 2009/4/24 Patompong Kumdang <u500910052@xxxxxx>: > hello, > I think now I can setup my modem driver,But it can't connect. > > root@tourcom-laptop:/home/tourcom# sudo slmodemd -c THAILAND --alsa hw:0,6 > SmartLink Soft Modem: version 2.9.11 Aug 3 2008 22:31:06 > symbolic link `/dev/ttySL0' -> `/dev/pts/2' created. > modem `hw:0,6' created. TTY is `/dev/pts/2' > Use `/dev/ttySL0' as modem device, Ctrl+C for termination. > > '/dev/ttySL0' this device may I use > > when I connect.... > root@tourcom-laptop:/home/tourcom# plog > Apr 24 17:43:11 tourcom-laptop chat[6785]: abort on (DELAYED) > Apr 24 17:43:11 tourcom-laptop chat[6785]: send (ATZ^M) > Apr 24 17:43:11 tourcom-laptop chat[6785]: expect (OK) > Apr 24 17:43:11 tourcom-laptop chat[6785]: ATZ^M^M > Apr 24 17:43:11 tourcom-laptop chat[6785]: OK > Apr 24 17:43:11 tourcom-laptop chat[6785]: -- got it > Apr 24 17:43:11 tourcom-laptop chat[6785]: send (ATDT1222^M) > Apr 24 17:43:11 tourcom-laptop chat[6785]: expect (CONNECT) > Apr 24 17:43:11 tourcom-laptop chat[6785]: ^M > Apr 24 17:43:11 tourcom-laptop chat[6785]: ATDT1222^M^M > > root@tourcom-laptop:/home/tourcom# plog > Apr 24 17:43:11 tourcom-laptop chat[6785]: -- got it > Apr 24 17:43:11 tourcom-laptop chat[6785]: send (ATDT1222^M) > Apr 24 17:43:11 tourcom-laptop chat[6785]: expect (CONNECT) > Apr 24 17:43:11 tourcom-laptop chat[6785]: ^M > Apr 24 17:43:11 tourcom-laptop chat[6785]: ATDT1222^M^M > Apr 24 17:43:49 tourcom-laptop chat[6785]: NO CARRIER > Apr 24 17:43:49 tourcom-laptop chat[6785]: -- failed > Apr 24 17:43:49 tourcom-laptop chat[6785]: Failed (NO CARRIER) > Apr 24 17:43:49 tourcom-laptop pppd[6783]: Connect script failed > Apr 24 17:43:50 tourcom-laptop pppd[6783]: Exit. > > > How can I do next. :) > > > > > > > > >> Tour >> >> 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. After the slmodemd installation do >> for information: >> $ slmodemd --help >> $ slmodemd --countrylist >> >> Briefly, the modem is setup with command: >> sudo slmodemd -c THAILAND --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. >> >> 2009/4/23 Patompong Kumdang <u500910052@xxxxxx>: >>> Hello, >>> I'am Tour , Thailand >>> This is my first e-mail to you. >>> I'm not very well in english. please help with a simple word. >>> I have agere HDA modem system on Ubuntu 8.10. >>> This is my scanModem report. >>> >>> >>> -------------------------- ย System information >>> ---------------------------- >>> CPU=i686, >>> Linux version 2.6.27-10-generic (buildd@vernadsky) (gcc version 4.3.2 >>> (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Fri Nov 21 12:00:22 UTC 2008 >>> ย scanModem update of: ย 2009_04_11 >>> The modem symbolic link is /dev/modem -> ttySL0 >>> ย There are no blacklisted modem drivers in /etc/modprobe* ย files >>> ย Potentially useful modem drivers now loaded are: >>> ย snd_atiixp_modem snd_via82xx_modem snd_intel8x0m ย ย snd_hda_intel >>> >>> Attached USB devices are: >>> ย ID 0402:5602 ALi Corp. Video Camera Controller >>> ย ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam >>> ย ID 04f3:0210 Elan Microelectronics Corp. AM-400 Hama Optical Mouse >>> ย ID 04f2:0111 Chicony Electronics Co., Ltd KU-9908 Keyboard >>> ย ID 058f:9254 Alcor Micro Corp. Hub >>> 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:1b.0, firmware information and bootup >>> diagnostics are: >>> ย PCI slot ย ย ย PCI ID ย ย ย ย ย SubsystemID ย ย Name >>> ย ---------- ย ย --------- ย ย ย --------- ย ย ย -------------- >>> ย 00:1b.0 ย ย ย ย 8086:27d8 ย ย ย 1025:0110 ย ย ย Audio device: >>> Intel Corporation 82801G >>> >>> ย Modem interrupt assignment and sharing: >>> ย 22: ย ย ย 1542 ย IO-APIC-fasteoi ย HDA Intel >>> ย --- Bootup diagnostics for card in PCI slot 00:1b.0 ---- >>> [ ย ย 1.635160] PCI: 0000:00:1b.0 reg 10 64bit mmio: [d0340000, >>> d0343fff] >>> [ ย ย 1.635215] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold >>> [ ย ย 1.635283] pci 0000:00:1b.0: PME# disabled >>> [ ย ย 1.661074] pci 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> >>> IRQ 22 >>> [ ย 20.996251] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) >>> -> >>> IRQ 22 >>> [ ย 20.996376] 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. >>> >>> >>> >>> ===== 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.19 >>> The modem cards detected by "aplay -l" ย are: >>> card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] >>> >>> The /proc/asound/pcm file reports: >>> ----------------------- >>> 00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 1 >>> 00-01: ALC883 Digital : ALC883 Digital : playback 1 >>> 00-02: ALC883 Analog : ALC883 Analog : capture 1 >>> 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1 >>> >>> about /proc/asound/cards: >>> ------------------------ >>> ย 0 [Intel ย ย ย ย ย ]: HDA-Intel - HDA Intel >>> ย ย ย ย ย ย ย ย ย ย ย HDA Intel at 0xd0340000 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.27-10-generic/kernel/sound/pci/hda/snd-hda-intel.ko >>> /lib/modules/2.6.27-11-generic/kernel/sound/pci/hda/snd-hda-intel.ko >>> /lib/modules/2.6.27-11-server/kernel/sound/pci/hda/snd-hda-intel.ko >>> ย The modem codec file for the HDA card is: /proc/asound/card0/codec#1 >>> -------------------------------------------------------- >>> Codec: LSI Si3054 >>> Address: 1 >>> Vendor Id: 0x11c13026 >>> Subsystem Id: 0x10250110 >>> Revision Id: 0x100700 >>> Modem Function Group: 0x1 >>> >>> ย The audio card hosts a softmodem chip: ย 0x11c13026 >>> >>> The softmodem chip 0x11c13026 is in principle supported by the COMM >>> support of slmodemd >>> and the joint snd-hda-intel audio+modem driver, begun with ALSA version >>> 1.0.13. >>> For HDA cards with ALC883 chips, an upgrade to ALSA verions 1.0.15 way >>> be >>> necessary. Instructions for Upgrading snd-hda-intel and its dependent >>> driver set are at: >>> http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00838.html >>> >>> If not a Conexant modem, the driver snd-hda-intel with its dependent >>> drivers: >>> snd_hda_intel ย ย ย ย ย 33736 ย 3 >>> snd_hda_codec ย ย ย ย ย 77568 ย 3 >>> snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel >>> snd_pcm ย ย ย ย ย ย ย ย 83844 ย 8 >>> snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_ac97_codec,snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec,snd_pcm_oss >>> snd ย ย ย ย ย ย ย ย ย ย 67492 ย 24 >>> snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_ac97_codec,snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device >>> snd_page_alloc ย ย ย ย 16776 ย 5 >>> snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_hda_intel,snd_pcm >>> ---------- >>> 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 82801G " >>> CLASS=0403 >>> PCIDEV=8086:27d8 >>> SUBSYS=1025:0110 >>> IRQ=22 >>> HDA=8086:27d8 >>> SOFT=8086:27d8.HDA >>> CHIP=0x11c13026 >>> IDENT=slmodemd >>> SLMODEMD_DEVICE=hw:0,6 >>> Driver=snd-hda-intel >>> >>> ย For candidate modem in: ย 00:1b.0 >>> ย 0403 Audio device: Intel Corporation 82801G >>> ย ย ย Primary device ID: ย 8086:27d8 >>> ย ย Subsystem PCI_id ย 1025:0110 >>> ย ย Softmodem codec or chipset from diagnostics: 0x11c13026 >>> ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย from ย ย Archives: >>> ย ย ย ย ย ย ย ย ย ย ย ย The HDA card softmodem chip is >>> 0x11c13026 >>> >>> >>> Support type needed or chipset: slmodemd supporting the snd-hda-intel >>> audio+modem driver >>> >>> ย 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.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 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 ===================== >>> >>> ย Completed candidate modem analyses. >>> >>> ย The base of the UDEV device file system is: /dev/.udev >>> >>> ย Versions adequately match for the compiler installed: 4.3.2 >>> ย ย ย ย ย ย and the compiler used in kernel assembly: 4.3.2 >>> >>> >>> >>> ย Minimal compiling resources appear complete: >>> ย make utility - /usr/bin/make >>> ย Compiler version 4.3 >>> ย linuc_headers base folder /lib/modules/2.6.27-10-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. >>> >>> >>> Compressed files at: /usr/src/alsa-driver.tar.bz2 /usr/src/aufs.tar.bz2 >>> /usr/src/linux-wlan-ng.tar.bz2 >>> >>> >>> 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 277160 2008-11-21 03:58 /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 >>> 0.0.0.0:10.1.1.1 >>> defaultroute >>> replacedefaultroute >>> 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. >>> ========================================================== >>> >>> # start/stop the daemon when the USB modem is connected >>> KERNEL=="slusb[0-9]*", GROUP="dialout", >>> RUN+="/etc/init.d/sl-modem-daemon" >>> ย Checking for modem support lines: >>> ย -------------------------------------- >>> ย ย /device/modem symbolic link: ย lrwxrwxrwx 1 root root 6 >>> 2009-04-23 >>> 23:50 /dev/modem -> ttySL0 >>> slmodemd created symbolic link /dev/ttySL0: >>> ย ย Within /etc/udev/ files: >>> /etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when >>> the USB modem is connected >>> /etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", >>> GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon" >>> /etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB >>> modem >>> is connected >>> /etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", >>> RUN+="/etc/init.d/sl-modem-daemon" >>> ย ย Within /etc/modprobe.conf files: >>> /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/blacklist-modem:# Uncomment these entries in order to >>> blacklist unwanted modem drivers >>> /etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem >>> /etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem >>> /etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe >>> --ignore-install ungrab-winmodem ; ย modprobe --ignore-install slamr; >>> test >>> -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && >>> chgrp dialout /dev/slamr0) >>> ย ย Within any ancient /etc/devfs files: >>> >>> ย ย Within ancient kernel 2.4.n /etc/module.conf files: >>> >>> --------- end modem support lines -------- >>> >>> >>> >>> >> >> > > >