RE: John Canada Kernel 2.6.22-14-generic

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

 



Jacques, Here is the text from /etc/wvdial.conf.  The phone number and
password are edited for this email.  I also tried it with "Stupid Mode =
yes" and even added "wvdial 2>&1 | tee wvdial.out", which did not produce a
file of that name that I could find.


[Dialer defaults]
Auto DNS = yes
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = 123456789
Modem = /dev/ttySL0
Username = syntactics@xxxxxxxxxxx
Carrier check = no
Password = xxxxxx
Baud = 460800
 

-----Original Message-----
From: Jacques Goldberg [mailto:Jacques.Goldberg@xxxxxxx] 
Sent: Friday, February 15, 2008 4:25 AM
To: Syntactics Inc.
Cc: Discuss@xxxxxxxxxxxxx
Subject: Re: John Canada Kernel 2.6.22-14-generic


John

The instructions for slmodemd very clearly show that before using wvdial one
ought to run wvdialconf /etc/wvdial.conf , edit the file for password etc..,
AND ADD THE FOLLOWING LINE because slmodemd does not support sound:

Carrier Check = no

The log which you mailed strongly suggests that this requirement has been
overlooked.

Jacques

Syntactics Inc. wrote:
>  
> 
> Opened a terminal window and ran the slmodemd command:
> 
> Laptop:~$ sudo slmodemd -c CANADA --alsa hw:0,6 SmartLink Soft Modem: 
> version 2.9.11 Aug  6 2007 22:02:27 symbolic link `/dev/ttySL0' -> 
> `/dev/pts/1' created.
> modem `hw:0,6' created. TTY is `/dev/pts/1'
> Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> 
> Minimzed this terminal and opened a second terminal.
> Entered the wvdial command:
> 
> In this instance, I added the X3 option into the "Init2 = ATQ0 X3 V1 
> E1 S0=0
> &C1 &D2 +FCLASS=0" line.
> Which made no difference.
> 
> Laptop:~$ sudo wvdial
> 
> WvDial<*1>: WvDial: Internet dialer version 1.56
> WvModem<*1>: Cannot get information for serial port.
> WvDial<*1>: Initializing modem.
> WvDial<*1>: Sending: ATZ
> WvDial Modem<*1>: ATZ
> WvDial Modem<*1>: OK
> WvDial<*1>: Sending: ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0 WvDial 
> Modem<*1>: ATQ0 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0 WvDial Modem<*1>: OK
> WvDial<*1>: Modem initialized.
> WvDial<*1>: Sending: ATDT7804518500
> WvDial<*1>: Waiting for carrier.				<<<< It
> waited here.
> WvDial Modem<*1>: ATDT7804518500
> WvDial<Warn>: Timed out while dialing.  Trying again.
> WvDial<*1>: Sending: ATDT7804518500
> WvDial<*1>: Waiting for carrier.
> WvDial Modem<*1>: NO CARRIER
> WvDial Modem<*1>: ATDT7804518500
> WvDial<Warn>: No Carrier!  Trying again.
> WvDial<*1>: Sending: ATDT7804518500
> WvDial<*1>: Waiting for carrier.
> WvDial Modem<*1>: NO CARRIER
> WvDial Modem<*1>: ATDT7804518500
> WvDial<Warn>: No Carrier!  Trying again.
> ... This repeated many many times until I pressed Ctrl-C.
> 
> The phone cord IS plugged into the the modem jack in the computer.
> 
> Checked at this location for info about the no-carrier 
> "http://linmodems.technion.ac.il/archive-fifth/msg00552.html"; as 
> referred to in the slmodem.txt, but my machine does not have a
/etc/module.conf file.
> Have read throught the ~/modules files produced by scanmodem, but not 
> able to determine what is causing a NO CARRIER.
> 
> 
> 
> 
 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.22-14-generic 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Your contry's local Linux experts
 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.22-14-generic (buildd@palmer) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:05:12 GMT 2007
 scanModem update of:  2008_01_22


 There are no blacklisted modem drivers in /etc/modprobe*  files 
 PCI slot 00:1b.0 has a High Definition Audio Card

The Advanced Linux Sound Architecture (ALSA) packages providing audio support, 
also includes drivers for some modems. The ALSA diagnostics are written during 
bootup to /proc/asound/ folders.

 The /proc/asound/ audio+modem diagostics are being copied.
 Finished copy to Modem/ALSAroot.tgz

The ALSA verion is 1.0.14
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-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 2

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd4240000 irq 22


The driver snd-hda-intel with its dependent drivers:
snd_hda_intel         263712  1 
snd_pcm                80388  2 snd_hda_intel,snd_pcm_oss
snd                    54660  11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
----------
provide audio + modem support for many soft modem chips residing on the High Definition Audio (HDA) card subsystem. However modem support for some is not yet fully implemented.


The driver snd-hda-intel with its dependent drivers:
snd_hda_intel         263712  1 
snd_pcm                80388  2 snd_hda_intel,snd_pcm_oss
snd                    54660  11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
----------
provide modem + audio support.


 The modem codec file for the the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: Motorola Si3054
Address: 1
Vendor Id: 0x10573057
Subsystem Id: 0x10001
Revision Id: 0x100100

 The audio card hosts a softmodem chip:  0x10573057
USB modem not detected by lsusb

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	107b:0685	Audio device: Intel Corporation 82801G 

 Modem interrupt assignment and sharing: 
 22:       2678          0   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[   17.688000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
[   17.688000] PCI: Setting latency timer of device 0000:00:1b.0 to 64


 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===



 For candidate modem in PCI bus:  00:1b.0
   Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
      Primary PCI_id  8086:27d8
    Subsystem PCI_id  107b:0685 
    Softmodem codec or chipset from diagnostics: 
                               from    Archives: 
                        

 Lacking a dsp (digital signal processing) chip, the modem is a software 
 intensive or "softmodem" type. Its primary controller manages the traffic 
 with the CPU. But the software needed is specified in the Subsystem.
 -----------------------------------------
Support type needed or chipset:	

Support can likely be achieved through two mutually exclusive alternatives:
1) The hsfmodem software for Conexant chipset modems: Read Conexant.txt
The following ALSA alternative CANNOT work with Conexant modems.

2) An ALSA modem driver plus slmodemd.  Read Smartlink.txt for details, and
to test get the package SLMODEMD.gcc4.1.tar.gz from:  
	http://linmodems.technion.ac.il/packages/smartlink/

----------------end Softmodem section --------------

Writing Intel.txt

For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read Conexant.txt

 Read Conexant.txt

Writing Conexant.txt

Writing Smartlink.txt
============ end Smartlink section =====================


 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.1.3
             and the compiler used in kernel assembly: 4.1.3


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.22-14-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 libc6-dev (and for Debian/Ubuntu,  linux-libc-dev). The also required headers of package libc6 are commonly installed by default. 



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 package
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 269256 2007-10-04 13:57 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://phep2.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/YourSystem.txt concerning other COMM channels: eth0 wlan0 wmaster0
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for the 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/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/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------


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

  Powered by Linux