Hi,
I have MSI L740 laptop with a built-in Si3054 modem. I'm trying to make
it work on SUSE 10.3 with a stock snd_hda_intel driver from kernel
2.6.22.13.
I compiled slmodem, applied the 'size 48' patch, and tried to call
several dialup numbers. None of them worked, the modem always reports NO
CARRIER after some delay.
Any help would be appreciated.
Here is the debug output from slmodem:
slmodemd -a hw:0,6 -d 9 -c LATVIA
SmartLink Soft Modem: version 2.9.11 Jan 5 2008 22:13:27
<087.254493> SmartLink Soft Modem: version 2.9.11 Jan 5 2008 22:13:27
<087.254636> hw:0,6: startup modem...
<087.254826> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:0,6' created. TTY is `/dev/pts/2'
<087.255316> open file: /var/lib/slmodem/data.hw:0,6...
<087.257120> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<090.899182> main: termios changed.
<090.899204> hw:0,6: update termios...
<091.375133> hw:0,6: run cmd: atz
<091.375156> hw:0,6: modem reset...
<091.375164> hw:0,6: modem set state: 1 --> 1...
<091.375174> hw:0,6: modem set mode: -> 0...
<091.375182> hw:0,6: modem report result: 0 (OK)
<094.038758> hw:0,6: run cmd: atx3
<094.038783> hw:0,6: modem report result: 0 (OK)
<527.756170> hw:0,6: run cmd: atdt9008080
<527.756202> hw:0,6: modem dial: t9008080...
<527.756210> hw:0,6: modem_dial_start...
<527.756216> call: create...
<527.756226> CallProgFP_Create >>
<527.756236> APPLY_FILTER = 0
<527.756244> Detection Thresholds: levle_fix=45,--> LEVEL_THRESHOLD=90
<527.756252> ============> 0
<527.756258> Cadence: Busy Tone loose detection is 0
<527.756266> TYPE BUSY
<527.756272> Filter index 0
<527.756277> Filter SubIndex 0
<527.756283> MAX_ON_TIME 27 Buffers MIN_ON_TIME 10 Buffers
<527.756289> MAX_OFF_TIME 27 Buffers MIN_OFF_TIME 10 Buffers
<527.756296> OFF_TIME_THAT_RESETS_CYCLE 81
<527.756301> BUFFER LENGTH 160 samples.
<527.756307> INTEGRATION_LENGTH 0[ms]
<527.756313> LEVEL 90
<527.756322> INTEGRATION_TIME = 0 Buffers.
<527.756329> Detection Thresholds: levle_fix=45,--> LEVEL_THRESHOLD=90
<527.756337> TYPE DIAL
<527.756342> Filter index 3
<527.756348> Filter SubIndex 0
<527.756353> MAX_ON_TIME 0 Buffers MIN_ON_TIME 0 Buffers
<527.756359> MAX_OFF_TIME 0 Buffers MIN_OFF_TIME 0 Buffers
<527.756366> OFF_TIME_THAT_RESETS_CYCLE 0
<527.756372> BUFFER LENGTH 666 samples.
<527.756377> INTEGRATION_LENGTH 200[ms]
<527.756383> LEVEL 90
<527.756390> INTEGRATION_TIME = 1 Buffers.
<527.756398> CALLPROG Create <<
<527.756404> CALLPROG Dialing t9008080
<527.756411> Configuration->tone_DigitLength 100
<527.756417> Configuration->pulse_OffHookTime 40
<527.756423> Configuration->pulse_OnHookTime 60
<527.756430> Configuration->dialPauseTime 4
<527.756436> Configuration->flashTime 7
<527.756442> Configuration->toneOrPulseFlag 0
<527.756448> Configuration->dialModifierValidationFlag 0
<527.756454> Configuration->ABCD_PermittedFlag 0
<527.756459> Configuration->pulseAndToneInSameStringPermittedFlag 0
<527.756466> Configuration->callingToneFlag 0
<527.756471> Configuration->commaPauseDurLimit 30
<527.756477> Configuration->digitPattern 1
<527.756483> Configuration->tone_BetweenDigitsInterval 100
<527.756489> Configuration->pulse_BetweenDigitsInterval 800
<527.756496> DTMF_Gain1 = 10337
<527.756501> DTMF_Gain2 = 13014
<527.756508> AnalyzeDialString: Updated 17 May 1999 00:50
<527.756514> AnalyzeDialString: LAST_DIALABLE_SYMBOL is 7
<527.756520> Dial String Syntax is VALID
<527.756529> GetNoAnswerTimeOut. 60
<527.756535> BlindCall: GetBlindDialPause = 2 .
<527.756541> CALLPROG_Dial was exited.
<527.756547> call: create RC: 9600 <-> 8000...
<527.756556> hw:0,6: modem_start..
<527.756562> hw:0,6: modem set state: 1 --> 2...
<527.756569> hw:0,6: new state: DP_ESTAB
<527.756575> main: alsa_ioctl: cmd 8, arg 3...
<527.756582> hw:0,6: modem set hook: 0 --> 1...
<527.756588> main: alsa_ioctl: cmd 2, arg 1...
<527.756715> main: alsa_ioctl: cmd 11, arg 0...
<527.756797> main: alsa_ioctl: cmd 4, arg 2580...
<527.756805> main: alsa_ioctl: cmd 7, arg 30...
<527.756811> main: alsa_start...
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 9600
exact rate : 9600 (9600/1)
msbits : 16
buffer_size : 2048
period_size : 64
period_time : 6666
tick_time : 4000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4
xfer_align : 4
start_threshold : 2147483647
stop_threshold : 2048
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 9600
exact rate : 9600 (9600/1)
msbits : 16
buffer_size : 2048
period_size : 64
period_time : 6666
tick_time : 4000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4
xfer_align : 4
start_threshold : 2147483647
stop_threshold : 2048
silence_threshold: 0
silence_size : 0
boundary : 1073741824
<527.785785> main: startup write: 384...
<527.792526> call: process: msg 18 --> 0
<529.385844> DCR: initial DC Evaluation done, DC level -192, enabled
<529.792528> CALLPROG: Time out
<529.792551> STATE: CALLPROG_WAIT_DIAL --> CALLPROG_DIALING
<529.792569> call: process: msg 0 --> 3
<529.799196> DIALER_INITIAL_STATE
<529.799208> Digit is t
<529.799215> Dialer.c: GetNextDigit... TONE_OR_PULSE_FLAG became
TONE_DIALING
<529.799222> Digit is 9
<529.799229> Samples left = 800
<529.799250> call: process: msg 3 --> 0
<529.892536> Done Generating digit
<529.992534> Done Generating silence between digits
<529.992556> Digit is 0
<529.992563> Samples left = 800
<530.092533> Done Generating digit
<530.192530> Done Generating silence between digits
<530.192556> Digit is 0
<530.192563> Samples left = 800
<530.292541> Done Generating digit
<530.392539> Done Generating silence between digits
<530.392565> Digit is 8
<530.392573> Samples left = 800
<530.492544> Done Generating digit
<530.592542> Done Generating silence between digits
<530.592567> Digit is 0
<530.592575> Samples left = 800
<530.692547> Done Generating digit
<530.792546> Done Generating silence between digits
<530.792572> Digit is 8
<530.792579> Samples left = 800
<530.892550> Done Generating digit
<530.992545> Done Generating silence between digits
<530.992569> Digit is 0
<530.992577> Samples left = 800
<531.092553> Done Generating digit
<531.099212> DIALER_END_STATE
<531.099224> STATE: CALLPROG_DIALING --> CALLPROG_WAIT_RING
<531.099243> call: process: msg 0 --> 4
<531.105901> call: process: msg 4 --> 0
<534.779278> CYCLES_COUNTER= 1
<541.806089> Found 2250
<541.806123> call: process: msg 0 --> 17
<541.806132> hw:0,6: 134528: change dp: --> 8...
<541.806141> v8: create: caller 1, automode 0, dp id 92.
<541.806152> V8: Create called, V8 version 23/09/03 .
<541.806158> ############################################################
<541.806165> V8: local configuration :
<541.806174> Side = Caller
<541.806180> Operation Mode = 0
<541.806187> Modulations - V90=1, V34=1, V34HD=0, V32=1, V22=0,
V17=0, V29=0, V27=0, V23=0, V21=0
<541.806197> Call Functions - Data=1, CallRxFax=0, CallTxFax=0, V.80=0
<541.806205> Protocol - LAPM V.42
<541.806211> v8bisIndication - 0
<541.806217> timeouts - signal detect 12 sec, message detect 7 sec
<541.806224> quickConnectEnabled - 1
<541.806230> lapmIndication - 1
<541.806236> ucodeForQts - 9
<541.806242> ansPcmLevel - 0
<541.806248> ############################################################
<541.806260> V8: Initial CM message length is 9 octets
<541.806268> call: delete...
<541.806273> Dialer was aborted.
<541.806279> CALLPROG_Delete is entered
<541.806284> cadence_delete with CADENCE_DIAL_OBJ is invoked
<541.806291> cadence_delete with CADENCE_OBJ is invoked
<541.806298> CALLPROG_Delete is exited
<541.812749> V8: State changed from V8_INIT to V8_ORG_WAITING_FOR_ANSAM
<541.812766> v8: status (6) V8_ORG_WAITING_FOR_ANSAM
<550.652855> V8AGC, overflow = 0xfffffdb0,
<550.652879> V8AGC, overflow = 0x262,
<553.812897> V8: Time Out Waiting For ANSam...
<553.812924> V8: State changed from V8_ORG_WAITING_FOR_ANSAM to
V8_ORG_TIME_OUT_WAITING_FOR_ANSAM
<553.812934> v8: process: timeout.
<553.812941> v8: status (11) V8_ORG_TIME_OUT_WAITING_FOR_ANSAM
<553.812948> hw:0,6: modem_update_status: 512
<553.812956> hw:0,6: --> FINISH.
<553.812963> hw:0,6: modem_hup...
<553.812969> hw:0,6: modem set state: 2 --> 9...
<553.812977> hw:0,6: new state: DP_DISC
<553.812985> v8: process: timeout.
<553.812992> hw:0,6: modem_update_status: 512
<553.812999> hw:0,6: --> FINISH.
<553.813005> hw:0,6: modem_hup...
<553.813011> hw:0,6: modem_stop..
<553.813018> main: alsa_stop...
<553.827201> hw:0,6: modem set hook: 1 --> 0...
<553.827221> main: alsa_ioctl: cmd 2, arg 0...
<553.827373> main: alsa_ioctl: cmd 8, arg 0...
<553.827383> v8: delete...
<553.827391> hw:0,6: modem set state: 9 --> 1...
<553.827397> hw:0,6: new state: MODEM_IDLE
<553.827417> hw:0,6: modem report result: 3 (NO CARRIER)
<553.827435> main: dev write = 0
====================================================
The AT command log:
cu -l /dev/ttySL0
Connected.
atz
OK
atx3
OK
atdt9008080
NO CARRIER
===================================================
ModemData.txt:
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
Welcome to openSUSE 10.3 (i586) - Kernel kernel 2.6.22.13-0.3-default
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
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,
Welcome to openSUSE 10.3 (i586) - Kernel
Linux version 2.6.22.13-0.3-default (geeko@buildhost) (gcc version 4.2.1
(SUSE Linux)) #1 SMP 2007/11/19 15:02:58 UTC
scanModem update of: 2008_03_01
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 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-02: ALC883 Analog : ALC883 Analog : capture 2
00-01: ALC883 Digital : ALC883 Digital : playback 1 : capture 1
00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 2
about /proc/asound/cards:
------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfeb38000 irq 16
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 1462:0531 Audio device: Intel
Corporation 82801G
Modem interrupt assignment and sharing:
16: 1908 74131905 IO-APIC-fasteoi uhci_hcd:usb5,
sdhci:slot0, ohci1394, HDA Intel, yenta, i915@pci:0000:00:02.0
--- Bootup diagnostics for card in PCI slot 00:1b.0 ----
=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===
The base of the UDEV device file system is: /dev/.udev
Versions adequately match for the compiler installed: 4.2.1
and the compiler used in kernel assembly: 4.2.1
Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.2
linuc_headers base folder /lib/modules/2.6.22.13-0.3-default/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:
-rwxr-xr-x 1 root dialout 298784 2007-09-22 02:41 /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)
chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
chmod a+x /usr/sbin/pppd
Checking settings of: /etc/ppp/options
noipdefault
noauth
crtscts
lock
modem
asyncmap 0
nodetach
lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
idle 600
noipx
file /etc/ppp/filters
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 eth1
vmnet1 vmnet8
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:
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",
NAME="modems/%k", GROUP="uucp"
/etc/udev/rules.d/77-network.rules:SUBSYSTEM=="net",
ENV{INTERFACE}=="ppp*|ippp*|isdn*|plip*|lo*|irda*|dummy*|ipsec*|tun*|tap*|bond*|vlan*|modem*|dsl*",
GOTO="skip_ifup"
Within /etc/modprobe.conf files:
/etc/modprobe.conf:# Linux ACP modem (Mwave)
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
--------- end modem support lines --------