Re: Eberhard, Germany, Fedora Core release 6 (Zod), kernel 2.6.20-1.2925.fc6

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

 



Marvin,

Here is what I get

[root@peano misc]# slmodemd  -c GERMANY --alsa --debug=2 --log  hw:0,6
SmartLink Soft Modem: version 2.9.11 Mar 12 2007 11:45:45
<122.404773> SmartLink Soft Modem: version 2.9.11 Mar 12 2007 11:45:45
<122.404859> hw:0,6: startup modem...
<122.405000> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
<122.405603> open file: /var/lib/slmodem/data.hw:0,6...
<122.407757> main: rt applyed: SCHED_FIFO, pri 99
Modem device: `/dev/ttySL0'
<144.155868> main: termios changed.
<144.155921> hw:0,6: update termios...
<144.222099> main: termios changed.
<144.222140> hw:0,6: update termios...
<144.322026> hw:0,6: run cmd: ATZ
<144.322084> hw:0,6: modem reset...
<144.322108> hw:0,6: modem set state: 1 --> 1...
<144.322133> hw:0,6: modem set mode: -> 0...
<144.322155> hw:0,6: modem report result: 0 (OK)
<144.422081> hw:0,6: run cmd: ATM1L2
<144.422136> main: alsa_ioctl: cmd 8, arg 0...
<144.422164> main: alsa_ioctl: cmd 8, arg 0...
<144.422186> hw:0,6: modem report result: 0 (OK)
<144.522220> hw:0,6: run cmd: ATQ0V1E1S0=0X3&C1&D2+FCLASS=0
<144.522282> hw:0,6: modem set mode: -> 0...
<144.522307> hw:0,6: modem report result: 0 (OK)
<144.622087> hw:0,6: run cmd: AT+GCI=42
<144.622145> hw:0,6: modem report result: 0 (OK)
<144.722174> hw:0,6: run cmd: ATDT0191011
<144.722229> hw:0,6: modem dial: T0191011...
<144.722253> hw:0,6: modem_dial_start...
<144.723127> hw:0,6: modem_start..
<144.723151> hw:0,6: modem set state: 1 --> 2...
<144.723177> hw:0,6: new state: DP_ESTAB
<144.723199> main: alsa_ioctl: cmd 8, arg 2...
<144.723223> hw:0,6: modem set hook: 0 --> 1...
<144.723245> main: alsa_ioctl: cmd 2, arg 1...
<144.724828> main: alsa_ioctl: cmd 11, arg 0...
<144.724899> main: alsa_ioctl: cmd 4, arg 2580...
<144.724925> main: alsa_ioctl: cmd 7, arg 30...
<144.724953> main: alsa_start...
error: cannot setup hw params for playback: Invalid argument
<144.725133> err: hw:0,6: modem start = -22: cannot start device.
<144.725160> hw:0,6: modem_stop..
<144.725183> hw:0,6: modem set hook: 1 --> 0...
<144.725206> main: alsa_ioctl: cmd 2, arg 0...
<144.726836> main: alsa_ioctl: cmd 8, arg 0...
<144.726985> hw:0,6: modem set state: 2 --> 1...
<144.727010> hw:0,6: new state: MODEM_IDLE
<144.727034> hw:0,6: modem report result: 3 (NO CARRIER)
<144.727065> hw:0,6: modem report result: 4 (ERROR)
<145.027820> hw:0,6: run cmd: ATDT0191011
<145.027883> hw:0,6: modem dial: T0191011...
<145.027908> hw:0,6: modem_dial_start...
<145.028800> hw:0,6: modem_start..
<145.028870> hw:0,6: modem set state: 1 --> 2...
<145.028900> hw:0,6: new state: DP_ESTAB
<145.028923> main: alsa_ioctl: cmd 8, arg 2...
<145.028946> hw:0,6: modem set hook: 0 --> 1...
<145.028968> main: alsa_ioctl: cmd 2, arg 1...
<145.030853> main: alsa_ioctl: cmd 11, arg 0...
<145.030923> main: alsa_ioctl: cmd 4, arg 2580...
<145.030949> main: alsa_ioctl: cmd 7, arg 30...
<145.030970> main: alsa_start...
error: cannot setup hw params for playback: Invalid argument
<145.033002> err: hw:0,6: modem start = -22: cannot start device.
<145.033030> hw:0,6: modem_stop..

Eberhard

Marvin Stodolsky wrote:
Eberhard

RE: > Cannot get information for serial port.
is common and harmless.

RE: > hda-intel: invalid format_val, rate=9600, ch=1, format=2
Looks like some fix will be necessary from the maintainers.  Do
$ su  - root
# slmodemd  -c GERMANY --alsa --debug=2 --log  hw:0,6
and try the dialout.
Send the resultant log to us an to slmodemd maintainer  "Sasha
Khapyorsky" <sashakh@xxxxxxxxx>

MarvS

On 3/18/07, Eberhard Schruefer <schruefer@xxxxxxxxxxx> wrote:
Marvin,

Thank you very much for your answer. I tried without the commas in the
dial string, but with no avail.
Note that I'm also getting (in /var/log/messages)
slmodemd: error: cannot setup hw params for playback: Invalid argument
hda-intel: invalid format_val, rate=9600, ch=1, format=2
and wvdial outputs a line
Cannot get information for serial port.

Any other thoughts?
Thanks.

Eberhard


Marvin Stodolsky wrote:
> Eberhard
>
> RE: ATDT0,1,9,10,1,1
> NO CARRIER
> ERROR
> --> No Carrier!  Trying again.
> ===
> Your  /etc/wvdial.conf
> should have a line:
>  Carrier Check =  no
>
> The commas in  ATDT0,1,9,10,1,1 may be a problem.  Typically a comma
> should only be used to introduce a 1 second pause if going through a
> switch board to reach an external line.  Though it shouldn't make a
> difference, instead of the Init3 liine you could activate the modem
> with:
>
> $ su  - root
> # slmodemd  -c GERMANY --alsa  hw:0,6
>
> ALSA version 1.0.13 should be OK  with the chip
>> Vendor Id: 0x11c13026
> as it has been supported since at least version 1.0.9
>
> My wvdial.conf  is like:
> Dialer Defaults]
> Modem = /dev/ttySL0
> Init1 = ATZ
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> Modem Type = Analog Modem
> Phone = 3015560020
> ISDN = 0
> Username = LoginName@xxxxxxxxxxxxxxxx
> Carrier Check = no
> Password = LoginPassWord
> Baud = 460800
>
> MarvS
> scanModem maintainer
>
>
>
> On 3/18/07, Eberhard Schruefer <schruefer@xxxxxxxxxxx> wrote:
>> Hi,
>>
>> I'm trying to get the modem in a 'Samsung M55-Pro T7200' notebook to
>> work.
>> When using the alsa driver, slmodemd starts fine with
>>
>> Mar 18 20:09:58 peano slmodemd: symbolic link `/dev/ttySL0' ->
>> `/dev/pts/1' created.
>> Mar 18 20:09:58 peano slmodemd: modem `hw:0,6' created. TTY is
>> `/dev/pts/1'
>> Mar 18 20:09:58 peano slmodemd: Modem device: `/dev/ttySL0'
>>
>> However, when I try to dial out I get the following
>>
>> [root@peano Modem]# wvdial T_Online
>> --> WvDial: Internet dialer version 1.54.0
>> --> Cannot get information for serial port.
>> --> Initializing modem.
>> --> Sending: ATZ
>> ATZ
>> OK
>> --> Sending: ATM1L2
>> ATM1L2
>> OK
>> --> Sending: ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0
>> ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0
>> OK
>> --> Sending: AT+GCI=42
>> AT+GCI=42
>> OK
>> --> Modem initialized.
>> --> Sending: ATDT0,1,9,10,1,1
>> --> Waiting for carrier.
>> ATDT0,1,9,10,1,1
>> NO CARRIER
>> ERROR
>> --> No Carrier!  Trying again.
>> --> Sending: ATDT0,1,9,10,1,1
>> --> Waiting for carrier.
>> ATDT0,1,9,10,1,1
>> NO CARRIER
>>
>> and in /var/log/messages there is the error message
>>
>> slmodemd: error: cannot setup hw params for playback: Invalid argument
>> hda-intel: invalid format_val, rate=9600, ch=1, format=2
>>
>> I also updated the alsa driver to 1.0.14rc3 (from atrpms) but this
>> didn't change the behaviour.
>>
>> With the slamr driver (built from an adapted SRPM from Andreas
>> Thienemann's page) I get the error
>> slmodemd: error: mdm setup: cannot open dev `/dev/slamr': No such device
>>
>> So, I'm really stuck. What options are left?
>>
>> Thanks.
>>
>> Eberhard
>>
>>
>>  Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx
>> List Server.
>>  Do use the following as the email Subject Line:
>>            SomeName, YourCountry Fedora Core release 6 (Zod)
>> Kernel  kernel 2.6.20-1.2925.fc6
>> This will alert cogent experts, and distinguish cases in the Archives.
>>  YourCountry will enable Country Code guidance.
>>  Occassionally responses are blocked by an Internet Provider mail
>> filters.
>>  So in a day, also check the Archived responses at
>> http://www.linmodems.org .
>>  Local Linux experts can be found through:
>> http://www.linux.org/groups/index.html
>> --------------------------  System information
>> ----------------------------
>> CPU=i686,  Fedora Core release 6 (Zod)
>> Kernel
>> Linux version 2.6.20-1.2925.fc6
>> (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20070105
>> (Red Hat 4.1.1-51)) #1 SMP Sat Mar 10 19:15:16 EST 2007
>>  scanModem update of:  2007_March_15
>>
>> The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/1
>>
>> USB modem not detected by lsusb
>>
>> Modem or host audio card candidates have firmware information:
>>
>>  PCI slot       PCI ID          SubsystemID     Name
>>  ----------     ---------       ---------       --------------
>>  00:1b.0        8086:27d8       144d:c505       Audio device: Intel
>> Corporation 82801G
>>
>>  Modem interrupt assignment and sharing:
>>  23:        232         81   IO-APIC-fasteoi   sdhci:slot0, HDA Intel
>>
>>  --- Bootup diagnositcs for card in PCI slot 00:1b.0 ----
>> ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 23
>> PCI: Setting latency timer of device 0000:00:1b.0 to 64
>>
>>  === Finished modem firmware and bootup diagnostics section. ===
>>  === Next deducing cogent software ===
>>
>> ALSAversion 1.0.13
>> 8086:27d8 is a High Definition Audio card, possibly hosting a soft
>> modem.
>>
>>  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  144d:c505
>>     Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems
>> type.
>>                               from    Archives:
>>
>>
>>  This is a NEW softmodem case!  Please send the output ModemData.txt
>>  to DISCUSS@xxxxxxxxxxxxx , even if further assistance is not needed.
>>  It will enrich the Archive and help others!
>>  -------------------------------------------
>> 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: slmodemd
>>
>>  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.1.tar.gz having a compiled slmodemd.
>> Unpack under Linux with:
>>         $ tar zxf SLMODEMD.gcc4.1.tar.gz
>>  and read instructions therein. But briefly, the modem is setup with
>> command:
>>          slmodemd -c YOUR_COUNTRY --alsa hw:0,6
>>  reporting dynamic creation of ports:
>>         /dev/ttySL0 --> /dev/pts/N   , with N some number
>>  Read Smartlink.txt and Modem/YourSystem.txt for follow through
>> guidance.
>>
>>  Already loaded into the kernel is snd-hda-intel and audio drivers it
>> depends on,
>>  displayed by:  lsmod | grep snd_hda_intel
>> Module                  Size  Used by
>> -------------------------------------
>> snd_hda_intel          21144  4
>> snd_hda_codec         200576  1 snd_hda_intel
>> snd_pcm 72580 5 snd_hda_intel,snd_hda_codec,snd_pcm_oss
>> snd                    49412  16
>> snd_hda_intel,snd_hda_codec,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
>>
>> snd_page_alloc         11656  2 snd_hda_intel,snd_pcm
>>
>>
>> The diagnostic outputs for this softmodem section have their raw
>> information in
>> folders and text files under /proc/asound/ which you can browse. The
>> information
>> is from files:
>>         /proc/asound/pcm
>> -------------------------------
>> 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
>> 00-01: AD198x Digital : AD198x Digital : playback 1
>> 00-00: AD198x Analog : AD198x Analog : playback 1 : capture 1
>>
>>         /proc/asound/modules
>> -------------------------------
>>  0 snd_hda_intel
>>         /proc/asound/card0/codec#1
>> -------------------------------
>> Codec: Generic 11c1 Si3054
>> Address: 1
>> Vendor Id: 0x11c13026
>> Subsystem Id: 0x2117144d
>> Revision Id: 0x100700
>> -------------------------------
>> Current support status of HDA cards is:
>>   Vendor IDs  Chip maker     Support type
>>   ----------  ----------    -------------
>>   0x14f12bfa  Conexant      hsfmodem , not slmodemd compatible
>>   0x11c13026  AgereSystems  snd-hda-intel, slmodemd supported
>>   0x11c11040  AgereSystems      "             "    , patch needed
>>   0x11c13055  AgereSystems      "             "    ,      "
>>   0x163c3055  Smartlink         "             "    ,      "
>>   0x163c3155    "               "             "    ,      "
>>   0x10573055  Motorola          "             "    ,      "
>>   0x10573155     "              "             "    ,      ""
>> as of October 2006.
>>
>> and from the command:
>>         aplay -l | grep -i modem
>> card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
>>
>> ----------------end Softmodem section --------------
>>
>> Writing Intel.txt
>> Writing 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.1.1
>>              and the compiler used in kernel assembly: 4.1.1
>>
>> Kernel-header resources needed for compiling are not manifestly ready!
>>
>>  If compiling is necessary packages must be installed, providing:
>>          kernel-source-2.6.20-1.2925.fc6
>>
>>
>> Checking pppd properties:
>>         -r-xr-xr-x 1 root root 312492 Dec  1 13:51 /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
>> lock
>>
>> 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 tun0
>> 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:  lrwxrwxrwx 1 root root
>> 10 Mar 18 18:05 /dev/ttySL0 -> /dev/pts/1
>>      Within /etc/udev/ files:
>> /etc/udev/rules.d/50-udev.rules:KERNEL=="modems/mwave*",
>> NAME="%k", GROUP="uucp", MODE="0660"
>>      Within /etc/modprobe.conf files:
>>
>>      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