Re: slmodemd fix? for error: period size 48 is not supported by playback (64).

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

 



Ruben,

Wait for feedback from the other HDA+modem testers.
Just in case the failure is specific to your particular
 ALC880 Analog hardware,
rather than a continuing slmodemd failure

MarvS

On 8/8/07, Rubens de Oliveira Jr <rboliver70@xxxxxxxxx> wrote:
>
>  Hi Marvin,
>
>  It is on 6 indeed:
>
>  cat /proc/asound/pcm
>  00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
>  00-02: ALC880 Analog : ALC880 Analog : capture 2
>  00-01: ALC880 Digital : ALC880 Digital : playback 1
>  00-00: ALC880 Analog : ALC880 Analog : playback 1 : capture 2
>
>  However I continue to get the error "error: cannot setup hw params for
> playback: Invalid argument"
>
>  Any ideas?
>
>  Rubens
>
>
>  Marvin Stodolsky wrote:
>  RE:Maybe it is not on 6? How can I check it?
> If should be reported by scanModem
>
> Also
> cat /proc/asound/pcm
> 00-01: AD198x Digital : AD198x Digital : playback 1
> 00-00: AD198x Analog : AD198x Analog : playback 1 : capture 1
> 00-02 Modem something
>
> would show that hw:0,2 should be used to set up the modem
>
>
>
> On 8/8/07, Rubens de Oliveira Jr <rboliver70@xxxxxxxxx> wrote:
>
>
>  Hi Marvin,
>
>  I got the right permissions using sudo chmod ugo+x /usr/sbin/slmodemd.
>
>  But now I'm still getting the no carrier error when using wvdial:
>
>  error: cannot setup hw params for playback: Invalid argument
>
>  I initiated the modem by typing:
>
>  sudo slmodemd -c BRAZIL --alsa hw:0,6
>
>  Maybe it is not on 6? How can I check it?
>
>  Rubens
>
>
>  Marvin Stodolsky wrote:
>  All
>
> Double check that slmodemd is at /usr/sbin/slmodemd
> Then
> $ sudo chown root:root /usr/sbin/slmodemd
> $ sudo chowd +x /usr/sbin/slmodemd
> If your Linux is not Ubuntu then instead:
> $ su - root
> # chown root:root /usr/sbin/slmodemd
> # chowd +x /usr/sbin/slmodemd
>
> Then there should be responses like:
> $ ls -l /usr/sbin/slmodemd
> -rwxr-xr-x 1 root root 1323019 2007-03-20 10:45 /usr/sbin/slmodemd
>
> $ slmodemd --version
> SmartLink Soft Modem: version 2.9.11 Aug 6 2007 22:02:27
>
> MarvS
>
> On 8/8/07, Rubens de Oliveira Jr <rboliver70@xxxxxxxxx> wrote:
>
>
>  Hi Marvin,
>
> I followed the instructions of the email using the last version of
> slmodemd.gz you sent us. I replaced my old version of slmodemd in /usr/sbin.
>
> I them started the sl-modem-daemon and typed on a terminal:
>
> sudo slmodemd -c BRAZIL --alsa hw:0,6
>
> But it said "command not found"?
>
> I guess I'm missing something.
>
> Thanks,
>
> Rubens Oliveira
>
> Marvin Stodolsky wrote:
>
>
>  All,
>  Discard the previously sent, which was compiled without the
> additional ALSA support. The attached was done correctly,
>
> MarvS
>
> ===
> $ make clean
>
> $ 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
>
>
>
>
> On 8/6/07, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
>
>
>
>  HDA modem users
>
> The attached has the fix applied from
> http://helllabs.org/patch/20070710_slmodem/slmodem-2.9.11-alsa-period-size.patch
> Hopefully fixing the:
>  error: period size 48 is not supported by playback (64).
> I lack the modem hardware to test my self.
>
> Please report to the List, including the specifications of your modem,
> and Not directly to me.
>
> Rename your current slmodemd found usually in /usr/sbin/slmodemd.
> For Ubuntu related Systems
> $ sudo mv /usr/sbin/slmodemd /usr/sbin/slmodemd.old
> For others
> $ su - root
> # mv /usr/sbin/slmodemd /usr/sbin/slmodemd.old
>
> Then with the attached
> $ gunzip slmodemd.gz
> $ sudo cp slmodemd /usr/sbin/slmodemd
> OR for non Ubunutu systems
> $ su - root
> # cp slmodemd /usr/sbin/slmodemd
>
> And try your prior modem setup and dialout.
>
> MarvS
>
> On 8/6/07, chill-out <chill-out@xxxxxx> wrote:
>
>
>
>
>  here is what I get if I test a dialout:
>
>
>  mat@Josef:~$ ls -l /dev/modem /dev/ttySL0
>  lrwxrwxrwx 1 root root 6 2007-08-06 18:19 /dev/modem -> ttySL0
>  lrwxrwxrwx 1 root root 10 2007-08-06 19:14 /dev/ttySL0 -> /dev/pts/1
>  mat@Josef:~$ sudo slmodemd -c SWITZERLAND --alsa hw:0,6
>  SmartLink Soft Modem: version 2.9.11 May 5 2007 01:31:04
>  symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
>  modem `hw:0,6' created. TTY is `/dev/pts/1'
>  Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
>  error: period size 48 is not supported by playback (64).
>  error: period size 48 is not supported by playback (64).
>  error: period size 48 is not supported by playback (64).
>
>
>
>
>
>
>
>
>
>
>

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

  Powered by Linux