slmodemd alsa hd audio

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

 



Hello,

slmodem say si3054  cannot initialize:

<928.141881> main: alsa_start...
error: cannot setup hw params for playback: Invalid argument
<928.142089> err: hw:0,6: modem start = -22: cannot start device.
<928.142100> hw:0,6: modem_stop..
<928.142107> hw:0,6: modem set hook: 1 --> 0...
<928.142115> main: alsa_ioctl: cmd 2, arg 0...
<928.149689> main: alsa_ioctl: cmd 8, arg 0...
<928.149703> call: delete...
<928.149711> Dialer was aborted.
<928.149718> CALLPROG_Delete is entered
<928.149726> cadence_delete with CADENCE_DIAL_OBJ is invoked
<928.149736> cadence_delete with CADENCE_OBJ is invoked
<928.149744> CALLPROG_Delete is exited
<928.149753> hw:0,6: modem set state: 2 --> 1...
<928.149762> hw:0,6: new state: MODEM_IDLE
<928.149769> hw:0,6: modem report result: 3 (NO CARRIER)
<928.149785> hw:0,6: modem report result: 4 (ERROR)
<928.350145> main: termios changed.
<928.350161> hw:0,6: update termios...
<928.350177> main: pty closed.


dmesg alsa debug:

[17186271.652000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0
[17186271.660000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0
[17186271.780000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0
[17186271.788000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0
[17186308.588000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:1400: invalid rate 9600
[17186308.588000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1153:
hda-intel: invalid format_val, rate=9600, ch=1, format=2
[17186359.568000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0
[17186359.576000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0
[17186359.584000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0


i have probed, to modify slmodem file source code modem.h

- #define MODEM_RATE 9600 /*8000*/ for:
- #define MODEM_RATE 8000

the modem initialize, but ALSA say
- in slmodemd debug:

<119.842236> main: alsa xrun: try to recover...
<119.863284> main: alsa xrun: recovered.
<119.863303> main: dev read = 0
<119.926240> main: alsa xrun: try to recover...
<119.947280> main: alsa xrun: recovered.
<119.947294> main: dev read = 0
<120.010246> main: alsa xrun: try to recover...
<120.031288> main: alsa xrun: recovered.
<120.031300> main: dev read = 0
<120.094253> main: alsa xrun: try to recover...
<120.115302> main: alsa xrun: recovered.
<120.115316> main: dev read = 0
<120.178276> main: alsa xrun: try to recover...
<120.199295> main: alsa xrun: recovered.
<120.199308> main: dev read = 0

- in dmesg ALSA debug:

[17185500.756000] ALSA
/root/alsa-driver-1.0.14rc2/acore/../alsa-kernel/core/pcm_lib.c:136: XRUN:
pcmC0D6p
[17185500.756000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1158:
azx_pcm_prepare: bufsize=0xa00, fragsize=0x50, format=0x510
[17185500.760000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x1, channel=0, format=0x510
[17185500.768000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1158:
azx_pcm_prepare: bufsize=0xa00, fragsize=0x50, format=0x510
[17185500.772000] ALSA
/root/alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
hda_codec_setup_stream: NID=0x1, stream=0x5, channel=0, format=0x510
[17185500.780000] ALSA
/root/alsa-driver-1.0.14rc2/acore/../alsa-kernel/core/pcm_lib.c:207:
Unexpected hw_pointer value [1] (stream = 0, delta: -40, max jitter =
640): wrong interrupt acknowledge?
[17185500.780000] ALSA
/root/alsa-driver-1.0.14rc2/acore/../alsa-kernel/core/pcm_lib.c:207:
Unexpected hw_pointer value [1] (stream = 0, delta: -16, max jitter =
640): wrong interrupt acknowledge?


some idea???

very thanks!!!

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

  Powered by Linux