Re: ALi 5451, problems only with recent ALSA driver

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

 



Pink,

Your information on:
> I only need to keep the following source files from ALSA 1.0.15:
> control.c, pcm.c, pcm_lib.c, pcm_native.c, asound.h and pcm.h.
is very useful as it may be applicable to drivers other than the ali5451

What is your Linux distro?
Which slmodemd are using?  While the Smartlink release 2.9.11 is
certainly appropriate,
If might help to compile slmodemd on your own system, to get the
optimal match of alsa resources and gcc compiler.

Within the folder slmodem-2.9.11-20090222/modem/  folder, the compile
can be done as below,
though I suspect you have compiled your own.

Would you please gzip your slmodemd and send it to  "Antonio Olivares"
<olivares14031@xxxxxxxxx>
He has success with a slmodemd+slamr driver under 2.6.30, but not 2.6.31

MarvS
-------------
slmodem-2.9.11-20090222/modem$ make SUPPORT_ALSA=1
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_main.o -c modem_main.c
modem_main.c: In function ‘setup_stream’:
modem_main.c:429: warning: ‘snd_pcm_sw_params_set_xfer_align’ is
deprecated (declared at /usr/include/alsa/pcm.h:1114)
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem.o
-c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_datafile.o -c modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_pack.o -c modem_pack.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_ec.o -c modem_ec.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
homolog_data.o -c homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
sysdep_common.o -c sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o
modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o
modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o
dsplibs.o sysdep_common.o  /usr/lib/libasound.so
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_test.o -c modem_test.c
modem_test.c: In function ‘modem_test_start’:
modem_test.c:110: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result
gcc -o modem_test modem_test.o modem_cmdline.o modem.o
modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o
modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o
dp_dummy.o dsplibs.o sysdep_common.o  /usr/lib/libasound.so

slmodem-2.9.11-20090222/modem$ ls -lh slmodemd
-rwxr-xr-x 1 marv marv 1.3M 2009-11-17 17:51 slmodemd



On Tue, Nov 17, 2009 at 11:39 AM, Pink SoftBunny
<pinksoftbunny@xxxxxxxxxxxxxx> wrote:
> Dear Readers,
>
> my ALi 5451 modem used to work perfectly with ALSA driver version
> 1.0.15, ALSA library 1.0.15 and slmodemd 2.9.11.
>
> Since newer Linux Kernels also brought newer ALSA drivers with them, I
> have not been able to get a "CONNECT" with this modem.
> I did a number of tests with different distributions and dialling software.
>
> As a workaround, I compiled ALSA driver 1.0.15 for the more recent
> Linux kernels, up to 2.6.31, the current release at the time of this
> writing. The modem works perfectly with this workaround.
> I only need to keep the following source files from ALSA 1.0.15:
> control.c, pcm.c, pcm_lib.c, pcm_native.c, asound.h and pcm.h.
>
> However, I lack the necessary insight to determine  whether the
> problem is due to the ALSA driver, the ALSA library, slmodemd or other
> components.
> This problem has been submitted to ALSA as issue #0004601.
>
> Thank you for your assistance!
>


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

  Powered by Linux