Re: Motorola Si3054 No Carrier

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

 



Hi Marvin

Thanks for your reply.

I already had installed the lib32asound2 - package, which is the one you mean, I suppose?

I now copied the slmodemd from SLMODEMD.gcc4.1.tar.gz to /usr/sbin

This time when dialing with wvdial I didn't get a No Carrier message any more, but just the message waiting for carrier
After a while I got the message
Timed out while dialing. Trying again
And then the No Carrier messages started again.

But there were not any further messages on the other terminal, I had been starting with

slmodemd -c SWITZERLAND --alsa hw:0,6

So now I changed my /etc/wvdial.conf

and set Stupid Mode = on  (it was commented out before)

I tried again, and everything works fine now:

# 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 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATX3
WvDial Modem<*1>: ATX3
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT0840555555
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT0840555555
WvDial Modem<*1>: CONNECT 42667
WvDial<*1>: Carrier detected.  Starting PPP immediately.
WvDial<Notice>: Starting pppd at Sat Dec 22 18:31:00 2007
WvDial<Notice>: Pid of pppd: 6228
WvDial<*1>: Using interface ppp0
WvDial<*1>: local  IP address 194.230.219.199
WvDial<*1>: remote IP address 194.230.4.154
WvDial<*1>: primary   DNS address 194.230.1.103
WvDial<*1>: secondary DNS address 194.230.1.39

On the other terminal I got:

/usr/sbin# slmodemd -c SWITZERLAND --alsa hw:0,6
SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
symbolic link `/dev/ttySL0' -> `/dev/pts/4' created.
modem `hw:0,6' created. TTY is `/dev/pts/4'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
symbolic link `/dev/ttySL0' -> `/dev/pts/7' created.

I now also tried to use kppp and there it works fine as well.

So thanks very much for your help!

Andreas

P.S.

On another Laptop, a Compal HE81, with a softmodem with Vendor Id: 0x11c11040

I had the same problem with this NO CARRIER message a few weeks ago.

See  https://wiki.ubuntu.com/LaptopTestingTeam/CompalHEL81

The laptop is now with a friend, so I don't have access to it right now.

But maybe you can tell me, whether there now exists a solution for this internal modem as well, which has already been on your mailing list here:

http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00915.html





revamp-it
Rosengartenstr. 1
8037 Zürich

0041 43 960 32 64
skype und wengophone: arevamp
www.revamp-it.ch


Marvin Stodolsky schrieb:
 Andreas

SLMODEMD.gcc4.2.tar.gz was prepared by a volunteer
who evidently used an earlier version of the slmodem soucer code
without the error 64 patch.

Would you please
$  sudo mv /usr/sbin/slmodemd /usr/sbin/slmodemd.4.2
and try using the slmodemd from the SLMODEMD.gcc4.1.tar.gz which
others are using successfully

For it to work in your 64 bit environment, you need to install the 32
bit libasound2 package.

Then just do a normal boot on your System,
with expectation/hope that 32 bit slmodemd with 32 bit libasound2
calls will be able to support the kernel version matched 64 bit
snd-hda-intel driver.

Within slusb64bit.txt at
http://phep2.technion.ac.il/linmodems/packages/smartlink/
you can read about a similar usage for the USB slusb driver on a 64 bit system.

MarvS

MarvS


On Dec 22, 2007 1:22 AM, Andreas Rudin <andreas.rudin@xxxxxxxxxxxx> wrote:
Hi Marvin

Thanks for your help!

Marvin Stodolsky schrieb:
...

2) The sl-modem-daemon_2.9.9d+e-pre2-10_amd64.deb
package installed a version 2.9.9d slmodmed code, while the updates in
the slmodemd of SLMODEMD.gcc4.1.tar.gz  are necessary under current
kernels. On my system the check with:
#  slmodemd --version
SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
------------------
shows the needed  2.9.11 is installed.  If yours shows 2.9.9  , you
want to copy the slmodemd in the SLMODEMD package to
/usr/sbin/slmodem

I got indeed 2.9.9 with slmodemd --version.

So I downloaded and unpacked SLMODEMD.gcc4.2.tar.gz

and copied slmodemd to /usr/sbin/
(and renamed the original /usr/sbin/slmodemd first)

Now I got 2.9.11 with slmodemd --version.
3) During the testing phase, its best to turn on the sl-modem-daemon
actions from within /etc/default/sl-modem-daemon, as it is more
informative to modem activation manually.

Do these changes and reboot into 32 bit emulation mode, for the modem
testing.
I'm not really sure, how to reboot into 32 bit emulation mode.

I did

$ linux32 bash

and rebooted the notebook, is that ok?

After that I opened a console and entered:

slmodemd -c SWITZERLAND --alsa hw:0,6

which gave me the following output:

Smartlink Soft Modem: version 2.9.11 Nov 21 2007 09:03:10
symbolic link `/dev/ttySL0` -> `/dev/pts/0` created
modem `hw:0,6` created. TTY is `/dev/pts/0`
Use `/dev/ttySL0` as modem device, Ctrl+C for termination.

Then I opened another console and entered

$ wvdial

which gave me:

WvDial<Err>: Cannot open /dev/modem: Permission denied

I changed to root and retried:

# wvdial

Now I got:

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 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATX3
WvDial Modem<*1>: ATX3
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT0840555555
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT0840555555
WvDial Modem<*1>: NO CARRIER
WvDial Modem<*1>: ERROR
WvDial<Warn>: No Carrier!  Trying again.
WvDial<*1>: Sending: ATDT0840555555
.. and so on...

In the other console I got the following lines:

error: period size 48 is not supported by playback (64).
error: period size 48 is not supported by playback (64).
.. and so on...

There is no difference with or without STUPID mode.

I then saw, that there exists a patch to fix the period size problem:

http://www.fedoraforum.org/forum/printthread.php?t=176042

I tried to follow the instruction on this site, but at

make SUPPORT_ALSA=1

I got the error:

/usr/bin/ld: i386 architecture of input file `dsplibs.o' is incompatible
with i386:x86-64 output

and then:
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x32480): undefined reference to `__moddi3'
dsplibs.o: In function `ModulusEncoder::progress(unsigned char*,
unsigned int*)':
(.text+0x32480): undefined reference to `__divdi3'
.....

I then saw, that there exists a updated version of the 64bit slmodemd -
package:

sl-modem-daemon_2.9.9d+e-pre2-11_amd64.deb

I installed it (inclusive the upgrade of the necessary depending
packages libc6-i386, libc6-dev, libc6), but the version of slmodemd is
still 2.9.9.

And when trying to dial with wvdial, there are always the same outputs.

So the question is now, wheather it is possible to do a similar patch
for the 64bit version?

I do not have enough scripting experience to do such a script on my own.

I hope you can help me!

Best wishes

Andreas

P.S. Shall I send my mails to you or to the list?



The manual modem setup command is:
$ sudo slmodemd -c SWITZERLAND --alsa hw:0,6
For your hardware, this is the only useful role of the
sl-modem-daemon package.

Retest a dialout both with and without STUPID mode,
and report back.

I'm just returned to the USA from 2 weeks of travel, and  will be able
to help more over the weekend.

MarvS







 Not knowing which was installed most recently on your system





On Dec 20, 2007 8:45 PM, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:

Andreas,

looks like your modem is a Conexant based modem

 00:1b.0       8086:284b       14ff:a00a       Audio device: Intel
Corporation 82801H

since it has an f in there.
http://www.linuxant.com/drivers/hsf/index.php

I hope that I am wrong here, and that slmodemd+alsa will serve as part
2 of scanModem suggests:

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/

Marv will get you better advice here, though.

Regards,

Antonio


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

  Powered by Linux