Re: Modem Motorola HDA

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

 



Marvin,

Sorry for my don't attention. I change my .wvdial.conf and try with
country, but don't work.

I get debug log with: 
slmodemd -c BRAZIL --alsa hw:0,6 -d 3 2>slmodemd.log-*

I attach this logs for you, in dmesg have any info:
hda-intel: invalid format_val, rate=9600, ch=1, format=2
hda-intel: invalid format_val, rate=9600, ch=1, format=2
...

I don't know if logs can help, but hope.

Thank you...

[]'s
Alexandre


Em Seg, 2007-06-18 às 14:01 -0400, Marvin Stodolsky escreveu:
> Alex
> 
> RE:
> card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> ==> # slmodemd --alsa hw:0
> 
> The proper setup COMMAND is:
>  #  slmodemd  --alsa hw:0,6
> since the modem is subsdevice 6 on card 0
> 
> Follow Antonio's guidance and use wvdial,
> except don't use
>      Stupid Mode = yes
> unless essential.
> 
> You may also have to use a country  setting in the slmodemd command
>  #  slmodemd -c YOUR_COUNTRY  --alsa hw:0,6
> with your country in the ouput of
> $ slmodemd --countrylist
> 
> MarvS
> 
> 
> 
> On 6/18/07, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> >
> >
> > ----- Original Message ----
> > From: Alexandre Penasso Teixeira <alexandre@xxxxxxxxxxxxxxxxxxx>
> > To: Linmodems <discuss@xxxxxxxxxxxxx>
> > Sent: Monday, June 18, 2007 10:13:30 AM
> > Subject: Modem Motorola HDA
> >
> > Hi developers,
> >
> > I have one modem sm56-hda, and build the new driver
> > slmodem-2.9.11-2007050 and ungrab-winmodem-20070505 alsa on.
> > make SUPPORT_ALSA=1
> >
> > I build ok, but after load the slmodemd I don't dialing... look it.
> >
> > ==> # aplay -l
> > **** List of PLAYBACK Hardware Devices ****
> > card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
> >   Subdevices: 0/1
> >   Subdevice #0: subdevice #0
> > card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> >
> > ==> # slmodemd --alsa hw:0
> > SmartLink Soft Modem: version 2.9.11 Jun 18 2007 12:46:42
> > symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
> > modem `hw:0' created. TTY is `/dev/pts/1'
> > Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
> >
> > ==> # minicom
> > Welcome to minicom 2.1
> >
> > OP+�+�ES: History Buffer, F-key Macros, Search History Buffer, I18n
> > Compilado em Nov  4 2005, 18:10:30.
> >
> > Pressione CTRL-A Z para ajuda sobre teclas especiais
> >
> > AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
> > OK
> > atx3dt 225
> > NO CARRIER
> > ERROR
> >
> >
> > I have on phone-line running ok... with other notebook dialing ok... Are
> > you have suggestions ?
> >
> > []'s
> > Alexandre
> >
> >
> > Could you try it out with wvdial?
> > Add option Carrier check = no
> > Your wvdial.conf file should look something like
> >
> > [olivares@localhost ~]$ cat /etc/wvdial.conf
> >
> > [Dialer Defaults]
> > Modem = /dev/ttySL0
> > Baud = 460800
> > Init1 = ATZ
> > #Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2  +MS=90
> > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > ISDN = 0
> > Modem Type = Analog Modem
> > Carrier Check = no
> > Stupid Mode = yes
> > Auto DNS = yes
> > Phone = your_phone_number
> > Username = your_username
> > Password = your_password
> >
> > Hope this helps,
> >
> > Antonio
> >
> >
> >
> >
> >
> >
> > ____________________________________________________________________________________
> > Need a vacation? Get great deals
> > to amazing places on Yahoo! Travel.
> > http://travel.yahoo.com/
> >
<425.941021> SmartLink Soft Modem: version 2.9.11 Jun 18 2007 16:15:24
<425.942009> hw:0,6: startup modem...
<425.943998> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
<425.944574> open file: /var/lib/slmodem/data.hw:0,6...
<425.945034> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<585.600327> main: termios changed.
<585.622929> hw:0,6: update termios...
<585.716339> main: termios changed.
<585.716364> hw:0,6: update termios...
<585.815171> hw:0,6: run cmd: ATX3
<585.815217> hw:0,6: modem report result: 0 (OK)
<585.915263> hw:0,6: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0
<585.915309> hw:0,6: modem set mode: -> 0...
<585.915318> hw:0,6: modem report result: 0 (OK)
<586.015376> hw:0,6: run cmd: ATM1L3DT225
<586.015422> main: alsa_ioctl: cmd 8, arg 0...
<586.015431> main: alsa_ioctl: cmd 8, arg 0...
<586.015447> hw:0,6: modem dial: T225...
<586.015454> hw:0,6: modem_dial_start...
<586.015460> call: create...
<586.015472> CallProgFP_Create >>
<586.015479> APPLY_FILTER = 0
<586.015487> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<586.015495> ============> 0
<586.015501> Cadence: Busy Tone loose detection is 0
<586.015509> TYPE BUSY
<586.015515> Filter index 0
<586.015520> Filter SubIndex 0
<586.015526> MAX_ON_TIME 40 Buffers     MIN_ON_TIME 9 Buffers
<586.015532> MAX_OFF_TIME 40 Buffers    MIN_OFF_TIME 9 Buffers
<586.015539> OFF_TIME_THAT_RESETS_CYCLE 120
<586.015545> BUFFER LENGTH 160 samples.
<586.015551> INTEGRATION_LENGTH 0[ms]
<586.015557> LEVEL 96
<586.015565> INTEGRATION_TIME = 0 Buffers.
<586.015573> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<586.015580> TYPE DIAL
<586.015586> Filter index 5
<586.015592> Filter SubIndex 0
<586.015597> MAX_ON_TIME 0 Buffers     MIN_ON_TIME 0 Buffers
<586.015603> MAX_OFF_TIME 0 Buffers    MIN_OFF_TIME 0 Buffers
<586.015609> OFF_TIME_THAT_RESETS_CYCLE 0
<586.015615> BUFFER LENGTH 666 samples.
<586.015620> INTEGRATION_LENGTH 2500[ms]
<586.015626> LEVEL 96
<586.015633> INTEGRATION_TIME = 28 Buffers.
<586.015641> CALLPROG Create <<
<586.015647> CALLPROG Dialing T225
<586.015654> Configuration->tone_DigitLength 100
<586.015660> Configuration->pulse_OffHookTime 36
<586.015666> Configuration->pulse_OnHookTime 64
<586.015672> Configuration->dialPauseTime 2
<586.015678> Configuration->flashTime 50
<586.015684> Configuration->toneOrPulseFlag 0
<586.015690> Configuration->dialModifierValidationFlag 0
<586.015696> Configuration->ABCD_PermittedFlag 0
<586.015702> Configuration->pulseAndToneInSameStringPermittedFlag 0
<586.015708> Configuration->callingToneFlag 0
<586.015714> Configuration->commaPauseDurLimit 255
<586.015720> Configuration->digitPattern 1
<586.015726> Configuration->tone_BetweenDigitsInterval 100
<586.015732> Configuration->pulse_BetweenDigitsInterval 800
<586.015738> DTMF_Gain1 = 13014
<586.015743> DTMF_Gain2 = 16384
<586.015750> AnalyzeDialString: Updated 17 May 1999 00:50
<586.015756> AnalyzeDialString: LAST_DIALABLE_SYMBOL is 3
<586.015762> Dial String Syntax is VALID
<586.015774> GetNoAnswerTimeOut. 60
<586.015780> BlindCall: GetBlindDialPause = 2 .
<586.015786> CALLPROG_Dial was exited.
<586.015792> call: create RC: 9600 <-> 8000...
<586.015801> hw:0,6: modem_start..
<586.015808> hw:0,6: modem set state: 1 --> 2...
<586.015814> hw:0,6: new state: DP_ESTAB
<586.015820> main: alsa_ioctl: cmd 8, arg 3...
<586.015827> hw:0,6: modem set hook: 0 --> 1...
<586.015833> main: alsa_ioctl: cmd 2, arg 1...
<586.023109> main: alsa_ioctl: cmd 11, arg 0...
<586.023210> main: alsa_ioctl: cmd 4, arg 2580...
<586.023219> main: alsa_ioctl: cmd 7, arg 30...
<586.023226> main: alsa_start...
error: cannot setup hw params for playback: Invalid argument
<586.023396> err: hw:0,6: modem start = -22: cannot start device.
<586.023404> hw:0,6: modem_stop..
<586.023410> hw:0,6: modem set hook: 1 --> 0...
<586.023417> main: alsa_ioctl: cmd 2, arg 0...
<586.031096> main: alsa_ioctl: cmd 8, arg 0...
<586.031129> call: delete...
<586.031137> Dialer was aborted.
<586.031167> CALLPROG_Delete is entered
<586.031174> cadence_delete with CADENCE_DIAL_OBJ is invoked
<586.031182> cadence_delete with CADENCE_OBJ is invoked
<586.031188> CALLPROG_Delete is exited
<586.031195> hw:0,6: modem set state: 2 --> 1...
<586.031202> hw:0,6: new state: MODEM_IDLE
<586.031209> hw:0,6: modem report result: 3 (NO CARRIER)
<586.031226> hw:0,6: modem report result: 4 (ERROR)
<586.348626> main: termios changed.
<586.348658> hw:0,6: update termios...
<586.348673> main: pty closed.
<591.827972> main: signal 2: mark termination.
<591.903741> hw:0,6: modem_delete...
<150.000609> SmartLink Soft Modem: version 2.9.11 Jun 18 2007 16:15:24
<150.001820> hw:0,6: startup modem...
<150.002871> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
<150.010601> open file: /var/lib/slmodem/data.hw:0,6...
<150.016865> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<169.797191> main: termios changed.
<169.797229> hw:0,6: update termios...
<170.801491> hw:0,6: run cmd: ATS7=45S0=0L1V1X4&c1E1Q0
<170.801512> main: alsa_ioctl: cmd 8, arg 0...
<170.801521> hw:0,6: modem report result: 0 (OK)
<177.898371> hw:0,6: run cmd: ati7
<177.898943> hw:0,6: modem report result: 0 (OK)
<187.131922> hw:0,6: run cmd: atdt225
<187.132463> hw:0,6: modem dial: t225...
<187.132559> hw:0,6: modem_dial_start...
<187.132654> call: create...
<187.132781> CallProgFP_Create >>
<187.132846> APPLY_FILTER = 0
<187.132941> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<187.133036> ============> 0
<187.133100> Cadence: Busy Tone loose detection is 0
<187.133195> TYPE BUSY
<187.133355> Filter index 0
<187.133449> Filter SubIndex 0
<187.133513> MAX_ON_TIME 40 Buffers     MIN_ON_TIME 9 Buffers
<187.133578> MAX_OFF_TIME 40 Buffers    MIN_OFF_TIME 9 Buffers
<187.133642> OFF_TIME_THAT_RESETS_CYCLE 120
<187.133706> BUFFER LENGTH 160 samples.
<187.133769> INTEGRATION_LENGTH 0[ms]
<187.133833> LEVEL 96
<187.133929> INTEGRATION_TIME = 0 Buffers.
<187.134024> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<187.134119> TYPE DIAL
<187.134183> Filter index 5
<187.134247> Filter SubIndex 0
<187.134311> MAX_ON_TIME 0 Buffers     MIN_ON_TIME 0 Buffers
<187.134375> MAX_OFF_TIME 0 Buffers    MIN_OFF_TIME 0 Buffers
<187.134439> OFF_TIME_THAT_RESETS_CYCLE 0
<187.134503> BUFFER LENGTH 666 samples.
<187.134567> INTEGRATION_LENGTH 2500[ms]
<187.134631> LEVEL 96
<187.134725> INTEGRATION_TIME = 28 Buffers.
<187.134820> CALLPROG Create <<
<187.134884> CALLPROG Dialing t225
<187.134949> Configuration->tone_DigitLength 100
<187.135013> Configuration->pulse_OffHookTime 36
<187.135077> Configuration->pulse_OnHookTime 64
<187.135141> Configuration->dialPauseTime 2
<187.135205> Configuration->flashTime 50
<187.135269> Configuration->toneOrPulseFlag 0
<187.135333> Configuration->dialModifierValidationFlag 0
<187.135397> Configuration->ABCD_PermittedFlag 0
<187.135461> Configuration->pulseAndToneInSameStringPermittedFlag 0
<187.135525> Configuration->callingToneFlag 0
<187.135589> Configuration->commaPauseDurLimit 255
<187.135653> Configuration->digitPattern 1
<187.135717> Configuration->tone_BetweenDigitsInterval 100
<187.135781> Configuration->pulse_BetweenDigitsInterval 800
<187.135845> DTMF_Gain1 = 13014
<187.135909> DTMF_Gain2 = 16384
<187.136003> AnalyzeDialString: Updated 17 May 1999 00:50
<187.136067> AnalyzeDialString: LAST_DIALABLE_SYMBOL is 3
<187.136131> Dial String Syntax is VALID
<187.136258> GetNoAnswerTimeOut. 45
<187.136323> WAIT DIAL TIMEOUT = 5
<187.136386> CALLPROG_Dial was exited.
<187.136450> call: create RC: 9600 <-> 8000...
<187.136546> hw:0,6: modem_start..
<187.136610> hw:0,6: modem set state: 1 --> 2...
<187.136704> hw:0,6: new state: DP_ESTAB
<187.136768> main: alsa_ioctl: cmd 8, arg 1...
<187.136833> hw:0,6: modem set hook: 0 --> 1...
<187.136897> main: alsa_ioctl: cmd 2, arg 1...
<187.141585> main: alsa_ioctl: cmd 11, arg 0...
<187.142476> main: alsa_ioctl: cmd 4, arg 2580...
<187.142571> main: alsa_ioctl: cmd 7, arg 30...
<187.142636> main: alsa_start...
error: cannot setup hw params for playback: Invalid argument
<187.202225> err: hw:0,6: modem start = -22: cannot start device.
<187.202352> hw:0,6: modem_stop..
<187.202416> hw:0,6: modem set hook: 1 --> 0...
<187.202481> main: alsa_ioctl: cmd 2, arg 0...
<187.209519> main: alsa_ioctl: cmd 8, arg 0...
<187.209743> call: delete...
<187.209837> Dialer was aborted.
<187.209900> CALLPROG_Delete is entered
<187.209964> cadence_delete with CADENCE_DIAL_OBJ is invoked
<187.210030> cadence_delete with CADENCE_OBJ is invoked
<187.210124> CALLPROG_Delete is exited
<187.210571> hw:0,6: modem set state: 2 --> 1...
<187.210667> hw:0,6: new state: MODEM_IDLE
<187.210761> hw:0,6: modem report result: 3 (NO CARRIER)
<187.210921> hw:0,6: modem report result: 4 (ERROR)
<190.910014> hw:0,6: run cmd: ATZ
<190.910364> hw:0,6: modem reset...
<190.910429> hw:0,6: modem set state: 1 --> 1...
<190.910524> hw:0,6: modem set mode: -> 0...
<190.910588> hw:0,6: modem report result: 0 (OK)
<192.924577> main: termios changed.
<192.924831> hw:0,6: update termios...
<192.925021> main: pty closed.
<195.557665> main: signal 2: mark termination.
<195.558236> hw:0,6: modem_delete...
<388.089099> SmartLink Soft Modem: version 2.9.11 Jun 18 2007 16:15:24
<388.090278> hw:0,6: startup modem...
<388.091360> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
<388.098869> open file: /var/lib/slmodem/data.hw:0,6...
<388.104878> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<390.745392> main: signal 2: mark termination.
<390.746027> hw:0,6: modem_delete...
<413.329089> SmartLink Soft Modem: version 2.9.11 Jun 18 2007 16:15:24
<413.330140> hw:0,6: startup modem...
<413.331380> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
<413.336007> open file: /var/lib/slmodem/data.hw:0,6...
<413.336463> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<416.782821> main: termios changed.
<416.782849> hw:0,6: update termios...
<416.906315> main: termios changed.
<416.906328> hw:0,6: update termios...
<416.906358> hw:0,6: run cmd: ATQ0V1E1
<416.906368> hw:0,6: modem report result: 0 (OK)
<416.958336> hw:0,6: run cmd: ATQ0V1E1Z
<416.958349> hw:0,6: modem reset...
<416.958355> hw:0,6: modem set state: 1 --> 1...
<416.958362> hw:0,6: modem set mode: -> 0...
<416.958368> hw:0,6: modem report result: 0 (OK)
<417.010339> hw:0,6: run cmd: ATQ0V1E1S0=0
<417.010353> hw:0,6: modem report result: 0 (OK)
<417.062346> hw:0,6: run cmd: ATQ0V1E1S0=0&C1
<417.062360> hw:0,6: modem report result: 0 (OK)
<417.114350> hw:0,6: run cmd: ATQ0V1E1S0=0&C1&D2
<417.114362> hw:0,6: modem report result: 0 (OK)
<417.166363> hw:0,6: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0
<417.166376> hw:0,6: modem set mode: -> 0...
<417.166383> hw:0,6: modem report result: 0 (OK)
<417.218333> hw:0,6: run cmd: ATI
<417.218347> hw:0,6: modem report result: 0 (OK)
<417.270325> hw:0,6: run cmd: ATI
<417.270340> hw:0,6: modem report result: 0 (OK)
<417.322318> main: termios changed.
<417.322328> hw:0,6: update termios...
<417.322343> hw:0,6: run cmd: AT
<417.322350> hw:0,6: modem report result: 0 (OK)
<417.374317> main: termios changed.
<417.374327> hw:0,6: update termios...
<417.374341> hw:0,6: run cmd: AT
<417.374348> hw:0,6: modem report result: 0 (OK)
<417.426317> main: termios changed.
<417.426327> hw:0,6: update termios...
<417.426341> hw:0,6: run cmd: AT
<417.426347> hw:0,6: modem report result: 0 (OK)
<417.478318> main: termios changed.
<417.478328> hw:0,6: update termios...
<417.478343> hw:0,6: run cmd: AT
<417.478349> hw:0,6: modem report result: 0 (OK)
<417.530318> main: termios changed.
<417.530327> hw:0,6: update termios...
<417.530341> hw:0,6: run cmd: AT
<417.530348> hw:0,6: modem report result: 0 (OK)
<417.582319> main: termios changed.
<417.582330> hw:0,6: update termios...
<417.582344> hw:0,6: run cmd: AT
<417.582351> hw:0,6: modem report result: 0 (OK)
<417.634318> main: termios changed.
<417.634328> hw:0,6: update termios...
<417.634341> hw:0,6: run cmd: AT
<417.634348> hw:0,6: modem report result: 0 (OK)
<417.686319> main: termios changed.
<417.686329> hw:0,6: update termios...
<417.686343> hw:0,6: run cmd: AT
<417.686350> hw:0,6: modem report result: 0 (OK)
<417.738365> hw:0,6: run cmd: ATQ0V1E1S0=0&C1&D2+FCLASS=0
<417.738379> hw:0,6: modem set mode: -> 0...
<417.738386> hw:0,6: modem report result: 0 (OK)
<417.738442> main: termios changed.
<417.738451> hw:0,6: update termios...
<417.738462> main: pty closed.
<419.594721> main: signal 2: mark termination.
<419.594775> hw:0,6: modem_delete...

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

  Powered by Linux