Re: Jusuf, INDONESIA PCLinuxOS release 2007 for i586

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

 



Jusuf,

On 2nd thought, your results with
Using ALSA 1.0.14.rc3, and slmodemd extracted from SLMODEMD.gcc4.tar.gz
do provide Some Hope.  While there is the problem
error: period size 48 is not supported by playback (64).
this error has been reported for other softmodem chips and hence is
not a 0x11c11040 problem per se.
MOREOVER the results you report with 1.0.14.rc3 are an Improvement on
those previously reported for this 0x11c11040 chipset.

A further improvement might be obtained with using a slmodemd compiled with
1.0.14.rc3 sources, as the SLMODEMD.gcc4 package was assembled with
version 1.0.12 libraries.

Please proceed as follows:
1) Install the ALSA library needed to compile the ALSA aware slmodemd.
For Debian/Ubunutu   this is called package libasound2-dev but may
different for other Linux distros.  It is used during compilation of
slmodemd

2) from http://phep2.technion.ac.il/linmodems/packages/smartlink/  get
the package slmodem-2.9.11-20070430.tar.gz  .    Under Linux unpack
#  tar zxd slmodem-*.tar.gz
Move in
# cd slmodem-2.9.11-20070430
# cd modem
# make clean

Do the compile with:
# make SUPPORT_ALSA=1
The compile should look as shown below, producing:
modem$ ls -l slmodemd
-rwxr-xr-x 1 marv marv 1323019 2007-05-12 15:24 slmodemd
Change ownership:
# chown root:root  slmodemd
Rename your currrent slmodemd
# mv /usr/src/sbin/slmodemd  /usr/src/sbin/slmodemd-1.0.12
Copy in the 1.0.14rc2 slmodemd
# cp slmodemd  /usr/src/sbin/slmodemd

Now repeat your modem tests, and report back.
For more detailed reporting in case of failure, use debug in the modem setup
# slmodemd -c INDONESIA --alsa  --debug=2 --log hw:0,6
and you can send as the log file.

MarvS



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
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
modem_pack.c: In function 'modem_async_get_bits':
modem_pack.c:100: warning: pointer targets in passing argument 2 of
'm->get_chars' differ in signedness
modem_pack.c: In function 'modem_async_put_bits':
modem_pack.c:148: warning: pointer targets in passing argument 2 of
'm->put_chars' differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o
modem_ec.o -c modem_ec.c
modem_ec.c: In function 'tx_info':
modem_ec.c:723: warning: pointer targets in passing argument 2 of
'l->modem->get_chars' differ in signedness
modem_ec.c: In function 'push_rest_data':
modem_ec.c:811: warning: pointer targets in passing argument 2 of
'l->modem->put_chars' differ in signedness
modem_ec.c: In function 'rx_info':
modem_ec.c:860: warning: pointer targets in passing argument 2 of
'l->modem->put_chars' differ in signedness
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 -lasound -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
gcc -lasound -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
modem$
modem$ ls -l slmodemd
-rwxr-xr-x 1 marv marv 1323019 2007-05-12 15:24 slmodemd



On 5/12/07, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
Jusuf,

Sadly,  LSI/AgereSystems has yet not provided Linux support for the
Vendor Id: 0x11c11040 chipset
They have informed that 0x11c11040 is NOT within the Si3054 family,
but this designation has not yet been corrected in the ALSA code.
Read InfoGeneral.txt about alternatives

MarvS
scanModem maintainer


On 5/12/07, jusuf@xxxxxxxxxxxx <jusuf@xxxxxxxxxxxx> wrote:
> Using ALSA 1.0.14.rc3, and slmodemd extracted from SLMODEMD.gcc4.tar.gz
>
> Check the modem :
> [root@localhost user]# aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
>  Subdevices: 0/1
>  Subdevice #0: subdevice #0
> [root@localhost user]# cat /proc/asound/card0/codec#1
> Codec: Generic 11c1 Si3054
> Address: 1
> Vendor Id: 0x11c11040
> Subsystem Id: 0x11c10001
> Revision Id: 0x100200
>
> Run the modem with :
> [root@localhost user]# slmodemd -c INDONESIA --alsa hw:0,6
> SmartLink Soft Modem: version 2.9.11 Mar 13 2006 18:27:33
> 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.
>
> Using wvdial to check it :
> [root@localhost ~]# wvdialconf /etc/wvdial.conf
> Scanning your serial ports for a modem.
>
> Port Scan<*1>: S0   S1   S2   S3
> WvModem<*1>: Cannot get information for serial port.
> ttySL0<*1>: ATQ0 V1 E1 -- OK
> ttySL0<*1>: ATQ0 V1 E1 Z -- OK
> ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
> ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
> ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
> ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
> ttySL0<*1>: Speed 4800: AT -- OK
> ttySL0<*1>: Speed 9600: AT -- OK
> ttySL0<*1>: Speed 19200: AT -- OK
> ttySL0<*1>: Speed 38400: AT -- OK
> ttySL0<*1>: Speed 57600: AT -- OK
> ttySL0<*1>: Speed 115200: AT -- OK
> ttySL0<*1>: Speed 230400: AT -- OK
> ttySL0<*1>: Speed 460800: AT -- OK
> ttySL0<*1>: Max speed is 460800; that should be safe.
> ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
>
> Found a modem on /dev/ttySL0.
> Modem configuration written to /etc/wvdial.conf.
> ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>
> But with KPPP will bring NO CARRIER error, and :
> SmartLink Soft Modem: version 2.9.11 Mar 13 2006 18:27:33
> 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.
> error: period size 48 is not supported by playback (64).
>
> What I can do next to make the modem works ?
> If it is Agere modem and need patch, where I can get the patch ?
>
> Thank you Mr. Marv.
>
> Cheers,
>
> Jusuf
>


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

  Powered by Linux