2005-03-02 12:55:22

by CIJOML

[permalink] [raw]
Subject: smartlink alsa modem problem in 2.6.11

Hi,

I tried use snd_intel8x0m with smartlink modem, but without success:

Mar 2 13:49:15 notas kernel: CSLIP: code copyright 1989 Regents of the
University of California
Mar 2 13:49:15 notas kernel: PPP generic driver version 2.4.2
Mar 2 13:49:35 notas pppd[5169]: pppd 2.4.2 started by root, uid 0
Mar 2 13:49:36 notas chat[5171]: timeout set to 5 seconds
Mar 2 13:49:36 notas chat[5171]: abort on (BUSY)
Mar 2 13:49:36 notas chat[5171]: abort on (NO CARRIER)
Mar 2 13:49:36 notas chat[5171]: abort on (VOICE)
Mar 2 13:49:36 notas chat[5171]: abort on (NO DIALTONE)
Mar 2 13:49:36 notas chat[5171]: send (^MATZ^M)
Mar 2 13:49:36 notas chat[5171]: expect (OK)
Mar 2 13:49:36 notas chat[5171]: ^M^M^MATZ^M^M
Mar 2 13:49:36 notas chat[5171]: OK
Mar 2 13:49:36 notas chat[5171]: -- got it
Mar 2 13:49:36 notas chat[5171]: send (ATZX1^M)
Mar 2 13:49:37 notas chat[5171]: expect (OK)
Mar 2 13:49:37 notas chat[5171]: ^M
Mar 2 13:49:37 notas chat[5171]: ATZX1^M^M
Mar 2 13:49:37 notas chat[5171]: OK
Mar 2 13:49:37 notas chat[5171]: -- got it
Mar 2 13:49:37 notas chat[5171]: send (ATX3^M)
Mar 2 13:49:37 notas chat[5171]: expect (OK)
Mar 2 13:49:37 notas chat[5171]: ^M
Mar 2 13:49:37 notas chat[5171]: ATX3^M^M
Mar 2 13:49:37 notas chat[5171]: OK
Mar 2 13:49:37 notas chat[5171]: -- got it
Mar 2 13:49:37 notas chat[5171]: send (ATDT 971200111^M)
Mar 2 13:49:37 notas chat[5171]: timeout set to 60 seconds
Mar 2 13:49:37 notas chat[5171]: expect (CONNECT)
Mar 2 13:49:37 notas chat[5171]: ^M
Mar 2 13:49:37 notas chat[5171]: ATDT 971200111^M^M
Mar 2 13:49:37 notas kernel: codec_semaphore: semaphore is not ready [0x1]
[0x701300]
Mar 2 13:49:37 notas kernel: codec_write 1: semaphore is not ready for
register 0x54
Mar 2 13:49:37 notas kernel: codec_semaphore: semaphore is not ready [0x1]
[0x700300]
Mar 2 13:49:37 notas kernel: codec_write 1: semaphore is not ready for
register 0x54
Mar 2 13:50:25 notas pppd[5169]: Terminating on signal 15.
Mar 2 13:50:25 notas chat[5171]: SIGTERM
Mar 2 13:50:25 notas pppd[5169]: Connect script failed
Mar 2 13:50:26 notas pppd[5169]: Exit.
Mar 2 13:50:40 notas kernel: codec_semaphore: semaphore is not ready [0x1]
[0x700304]
Mar 2 13:50:40 notas kernel: codec_write 1: semaphore is not ready for
register 0x54


slamr.ko works fine

Michal Semler


2005-03-02 13:11:35

by Jaroslav Kysela

[permalink] [raw]
Subject: Re: smartlink alsa modem problem in 2.6.11

On Wed, 2 Mar 2005, Michal Semler wrote:

> Hi,
>
> I tried use snd_intel8x0m with smartlink modem, but without success:

> Mar 2 13:49:37 notas kernel: codec_semaphore: semaphore is not ready [0x1][0x701300]
> Mar 2 13:49:37 notas kernel: codec_write 1: semaphore is not ready for

It's known bug:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=890

Have you tried to load "snd-intel8x0m and snd-intel8x0" modules in
opposite order? Anyway, further discussion should go to this bug
report...

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

2005-03-02 14:02:18

by Alessandro Suardi

[permalink] [raw]
Subject: Re: smartlink alsa modem problem in 2.6.11

On Wed, 2 Mar 2005 14:01:41 +0100 (CET), Jaroslav Kysela <[email protected]> wrote:
> On Wed, 2 Mar 2005, Michal Semler wrote:
>
> > Hi,
> >
> > I tried use snd_intel8x0m with smartlink modem, but without success:
>
> > Mar 2 13:49:37 notas kernel: codec_semaphore: semaphore is not ready [0x1][0x701300]
> > Mar 2 13:49:37 notas kernel: codec_write 1: semaphore is not ready for
>
> It's known bug:
>
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=890
>
> Have you tried to load "snd-intel8x0m and snd-intel8x0" modules in
> opposite order? Anyway, further discussion should go to this bug
> report...

slmodemd over snd-intel8x0m worked for me last week on 2.6.11-rc4-bk10:

Feb 24 23:19:07 incident chat[2554]: send (ATX3M0^M)
Feb 24 23:19:07 incident chat[2554]: timeout set to 120 seconds
Feb 24 23:19:07 incident chat[2554]: expect (OK)
Feb 24 23:19:07 incident chat[2554]: ^M
Feb 24 23:19:07 incident chat[2554]: ATX3M0^M^M
Feb 24 23:19:07 incident chat[2554]: OK
Feb 24 23:19:07 incident chat[2554]: -- got it
Feb 24 23:19:07 incident chat[2554]: send (ATDT0,,xxxxxx^M)
Feb 24 23:19:07 incident chat[2554]: expect (CONNECT)
Feb 24 23:19:07 incident chat[2554]: ^M
Feb 24 23:19:07 incident chat[2554]: ATDT0,,xxxxxx^M^M
Feb 24 23:19:07 incident kernel: ALSA sound/pci/intel8x0m.c:401:
codec_semaphore: semaphore is not ready [0x1][0x301300]
Feb 24 23:19:07 incident kernel: ALSA sound/pci/intel8x0m.c:415: codec_write 1:
semaphore is not ready for register 0x54
Feb 24 23:19:52 incident chat[2554]: CONNECT
Feb 24 23:19:52 incident chat[2554]: -- got it
Feb 24 23:19:52 incident chat[2554]: send (^M)
Feb 24 23:19:52 incident chat[2554]: expect (ogin:)
Feb 24 23:19:52 incident chat[2554]: 28800^M
Feb 24 23:19:58 incident chat[2554]: ^M

[snipped rest of log]

That is - I do get the codec_semaphore messages (though the error code
is slightly different), but the modem connection works fine.

I have snd-intel8x0m modular while snd-intel8x0 is in-kernel.

--alessandro

"There is no distance that I don't see
I do have a will - No limit to my reach"

(Wallflowers, "Empire In My Mind")