Timo, Perú, kernel 2.6.28-11-generic

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

 



Hey,
I'm using a Si3054 modem on a updated 9.04 Ubunut Version. I had access to the internet while using 8.10 when I started the sldeamon again before connect to the internet. But since I updated to 9.04 my modem won´t give access to the internet anymore. It's not that the modem isn´t recognized. Still its possible to dial, but it won't connect. The slmodem daemon log is intresting because it will repeat everytime the same phrase until I end the try to dialup with control + C (I started the daemon in a terminal). 
This is the log:
~$ sudo /usr/sbin/slmodemd -country=USA --alsa -g=dip -d=8 -l=10 hw:0,6

SmartLink Soft Modem: version 2.9.11 Mar  6 2009 00:36:34
<138.213346> SmartLink Soft Modem: version 2.9.11 Mar  6 2009 00:36:34
<138.213461> hw:0,6: startup modem...
<138.213580> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:0,6' created. TTY is `/dev/pts/2'
<138.214214> open file: /var/lib/slmodem/data.hw:0,6...
<138.486639> main: rt applyed: SCHED_FIFO, pri 99
<138.486841> main: dropped privileges to 127.113
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<817.063232> main: termios changed.
<817.063282> hw:0,6: update termios...
<817.125117> main: termios changed.
<817.125170> hw:0,6: update termios...
<817.227215> hw:0,6: run cmd: ATX3
<817.227271> hw:0,6: modem report result: 0 (OK)
<817.328658> hw:0,6: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0
<817.328715> hw:0,6: modem set mode: -> 0...
<817.328732> hw:0,6: modem report result: 0 (OK)
<817.430737> hw:0,6: run cmd: ATM1L3DT9,140100
<817.430789> main: alsa_ioctl: cmd 8, arg 0...
<817.430808> main: alsa_ioctl: cmd 8, arg 0...
<817.430828> hw:0,6: modem dial: T9,140100...
<817.430844> hw:0,6: modem_dial_start...
<817.430860> call: create...
<817.430880> CallProgFP_Create >>
<817.430896> APPLY_FILTER = 0
<817.430913> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<817.430930> ============> 6
<817.430946> Cadence: Busy Tone loose detection is 0
<817.430963> TYPE BUSY
<817.430978> Filter index 6
<817.430993> Filter SubIndex 0
<817.431008> MAX_ON_TIME 30 Buffers     MIN_ON_TIME 9 Buffers
<817.431024> MAX_OFF_TIME 30 Buffers    MIN_OFF_TIME 9 Buffers
<817.431040> OFF_TIME_THAT_RESETS_CYCLE 90
<817.431055> BUFFER LENGTH 160 samples.
<817.431070> INTEGRATION_LENGTH 0[ms]
<817.431085> LEVEL 96
<817.431103> INTEGRATION_TIME = 0 Buffers.
<817.431120> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<817.431136> TYPE DIAL
<817.431151> Filter index 5
<817.431166> Filter SubIndex 0
<817.431181> MAX_ON_TIME 0 Buffers     MIN_ON_TIME 0 Buffers
<817.431197> MAX_OFF_TIME 0 Buffers    MIN_OFF_TIME 0 Buffers
<817.431212> OFF_TIME_THAT_RESETS_CYCLE 0
<817.431227> BUFFER LENGTH 666 samples.
<817.431242> INTEGRATION_LENGTH 2500[ms]
<817.431258> LEVEL 96
<817.431274> INTEGRATION_TIME = 28 Buffers.
<817.431291> CALLPROG Create <<
<817.431306> CALLPROG Dialing T9,140100
<817.431323> Configuration->tone_DigitLength 100
<817.431338> Configuration->pulse_OffHookTime 36
<817.431353> Configuration->pulse_OnHookTime 64
<817.431369> Configuration->dialPauseTime 2
<817.431384> Configuration->flashTime 50
<817.431399> Configuration->toneOrPulseFlag 0
<817.431414> Configuration->dialModifierValidationFlag 0
<817.431429> Configuration->ABCD_PermittedFlag 0
<817.431445> Configuration->pulseAndToneInSameStringPermittedFlag 0
<817.431460> Configuration->callingToneFlag 0
<817.431476> Configuration->commaPauseDurLimit 255
<817.431491> Configuration->digitPattern 1
<817.431506> Configuration->tone_BetweenDigitsInterval 100
<817.431521> Configuration->pulse_BetweenDigitsInterval 800
<817.431537> DTMF_Gain1 = 13014
<817.431552> DTMF_Gain2 = 16384
<817.431567> AnalyzeDialString: Updated 17 May 1999 00:50
<817.431583> AnalyzeDialString: LAST_DIALABLE_SYMBOL is 8
<817.431599> Dial String Syntax is VALID
<817.431616> GetNoAnswerTimeOut. 60
<817.431631> BlindCall: GetBlindDialPause = 2 .
<817.431647> CALLPROG_Dial was exited.
<817.431662> call: create RC: 9600 <-> 8000...
<817.431680> hw:0,6: modem_start..
<817.431729> hw:0,6: modem set state: 1 --> 2...
<817.431747> hw:0,6: new state: DP_ESTAB
<817.431764> main: alsa_ioctl: cmd 8, arg 3...
<817.431781> hw:0,6: modem set hook: 0 --> 1...
<817.431797> main: alsa_ioctl: cmd 2, arg 1...
<817.431916> main: alsa_ioctl: cmd 11, arg 0...
<817.432004> main: alsa_ioctl: cmd 4, arg 2580...
<817.432022> main: alsa_ioctl: cmd 7, arg 30...
<817.432038> main: alsa_start...
ALSA lib pcm_hw.c:1031:(snd_pcm_hw_dump) cannot get card name
ALSA lib pcm_hw.c:1031:(snd_pcm_hw_dump) cannot get card name
<817.460652> main: startup write: 384...
<817.464044> main: alsa xrun: try to recover...
<817.476604> main: alsa xrun: recovered.
<817.476664> main: dev read = 0
<817.479879> main: alsa xrun: try to recover...
<817.492591> main: alsa xrun: recovered.
<817.492644> main: dev read = 0
<817.495895> main: alsa xrun: try to recover...
<817.508606> main: alsa xrun: recovered.
<817.508666> main: dev read = 0
<817.511901> main: alsa xrun: try to recover...
<817.524599> main: alsa xrun: recovered.
<817.524659> main: dev read = 0
<817.527890> main: alsa xrun: try to recover...
<817.540618> main: alsa xrun: recovered.
<817.540666> main: dev read = 0
<817.543900> main: alsa xrun: try to recover...
<817.556606> main: alsa xrun: recovered.
<817.556670> main: dev read = 0
<817.559902> main: alsa xrun: try to recover...
<817.572609> main: alsa xrun: recovered.
<817.572670> main: dev read = 0
<817.575902> main: alsa xrun: try to recover...
<817.588612> main: alsa xrun: recovered.
<817.588675> main: dev read = 0
<817.591905> main: alsa xrun: try to recover...
<817.604606> main: alsa xrun: recovered.
<817.604657> main: dev read = 0
<817.607909> main: alsa xrun: try to recover...
<817.620626> main: alsa xrun: recovered.
<817.620690> main: dev read = 0
<817.623903> main: alsa xrun: try to recover...
<817.636598> main: alsa xrun: recovered.
<817.636654> main: dev read = 0
<817.639881> main: alsa xrun: try to recover...
<817.652609> main: alsa xrun: recovered.
<817.652669> main: dev read = 0
<817.655902> main: alsa xrun: try to recover...
<817.668629> main: alsa xrun: recovered.
<817.668690> main: dev read = 0
<817.671928> main: alsa xrun: try to recover...
<817.684611> main: alsa xrun: recovered.
<817.684671> main: dev read = 0
<817.687906> main: alsa xrun: try to recover...
<817.700587> main: alsa xrun: recovered.
<817.700623> main: dev read = 0
<817.703888> main: alsa xrun: try to recover...
<817.716611> main: alsa xrun: recovered.
<817.716671> main: dev read = 0
<817.719901> main: alsa xrun: try to recover...
<817.732607> main: alsa xrun: recovered.
<817.732667> main: dev read = 0
^C<818.532553> main: signal 2: mark termination.
<818.532623> main: alsa xrun: recovered.
<818.532639> main: dev read = 0
<818.532676> hw:0,6: modem_delete...
<818.532693> hw:0,6: shutdown modem...
<818.532708> hw:0,6: modem_stop..
<818.532724> main: alsa_stop...
<818.532808> hw:0,6: modem set hook: 1 --> 0...
<818.532825> main: alsa_ioctl: cmd 2, arg 0...
<818.532936> main: alsa_ioctl: cmd 8, arg 0...
<818.532959> call: delete...
<818.532980> Dialer was aborted.
<818.533000> CALLPROG_Delete is entered
<818.533015> cadence_delete with CADENCE_DIAL_OBJ is invoked
<818.533031> cadence_delete with CADENCE_OBJ is invoked
<818.533047> CALLPROG_Delete is exited
<818.533064> hw:0,6: modem set state: 2 --> 1...
<818.533079> hw:0,6: new state: MODEM_IDLE
<818.533095> hw:0,6: modem report result: 3 (NO CARRIER)

For every idea I would be thankful, to have more informations (Maybe if have to compile or install a new driver) I attach the scanmodem file too.

ScanModem:
 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:  2008_11_06
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/0
 There are no blacklisted modem drivers in /etc/modprobe*  files 
Attached USB devices are:
 ID 0951:1607 Kingston Technology Data Traveler 2.0
 ID 1d6b:0002 Linux Foundation 2.0 root hub
 ID 0458:0048 KYE Systems Corp. (Mouse Systems) 
 ID 1d6b:0001 Linux Foundation 1.1 root hub
 ID 1d6b:0001 Linux Foundation 1.1 root hub

USB modems not recognized

For candidate card in slot 00:14.2, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:14.2	1002:437b	1462:0369	Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller 

 Modem interrupt assignment and sharing: 
 16:    6279361   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:14.2 ----
[    0.520263] pci 0000:00:14.2: reg 10 64bit mmio: [0xfebf8000-0xfebfbfff]
[    0.520308] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[    0.520313] pci 0000:00:14.2: PME# disabled
[   12.027149] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16

 The PCI slot 00:14.2 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.18
The modem cards detected by "aplay -l"  are: 
Karte 0: SB [HDA ATI SB], Gerät 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 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfebf8000 irq 16

 PCI slot 00:14.2 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.27-11-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.28-11-generic/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: 0x11c13026
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         435636  6 
snd_pcm                82948  4 snd_hda_intel,snd_pcm_oss
snd                    62628  15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         16904  2 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:14.2:
	Modem chipset  detected on
NAME="Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller "
CLASS=0403
PCIDEV=1002:437b
SUBSYS=1462:0369
IRQ=16
HDA=1002:437b
SOFT=1002:437b.HDA
CHIP=0x11c13026
IDENT=slmodemd
SLMODEMD_DEVICE=hw:0,6
Driver=snd-hda-intel

 For candidate modem in:  00:14.2
   0403 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller 
      Primary device ID:  1002:437b
    Subsystem PCI_id  1462:0369 
    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.

----------------end Softmodem section --------------
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


 
 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.


Compressed files at: /usr/src/alsa-driver.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 277352 2009-02-20 12: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:   lrwxrwxrwx 1 root root 6 2009-05-11 14:53 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10 2009-05-11 14:53 /dev/ttySL0 -> /dev/pts/0
     Within /etc/udev/ files:

     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/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
/etc/modprobe.d/alsa-base.conf.dpkg-new:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf.dpkg-new: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 --------


Thanks for your support.
Timo


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

  Powered by Linux