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]

 



Seems to have fixed it here. No more errors in the terminal but I can't
test if it works fully, my home phone line being DSL-only. ModemData.txt
attached.

Firas

Marvin Stodolsky 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).
>>


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry 
This is  kernel 2.6.22-gentoo-r2-ana 
 This will alert cogent experts, and  distinguish cases in the Archives.
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org .
 Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=i686,  
This is 
Linux version 2.6.22-gentoo-r2-ana (root@Ana) (gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1)) #3 SMP Sat Aug 4 17:59:45 CEST 2007
 scanModem update of:  2007_August_04

The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/3

ALSAversion 1.0.14rc2
USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1b.0	8086:27d8	1043:1123	Audio device: Intel Corporation 82801G 

 Modem interrupt assignment and sharing: 
 21:     107968          0   IO-APIC-fasteoi   HDA Intel

 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 21 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1b.0 to 64

 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===

8086:27d8 is a High Definition Audio card, possibly hosting a soft modem.
Bootup diagnostics lack ALSA data.

 The HDA modem codec file is: /proc/asound/card0/codec#1
-----------------------------------
Codec: Motorola Si3054
Address: 1
Vendor Id: 0x10573055
Subsystem Id: 0x104310c6
Revision Id: 0x100700

 The audio card hosts a softmodem chip with Vendor ID:  0x10573055

HDAmodemChip=0x10573055
HDAmodemChip=0x10573055
 For candidate modem in PCI bus:  00:1b.0
   Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
      Primary PCI_id  8086:27d8
    Subsystem PCI_id  1043:1123 
    Softmodem codec or Vendor from diagnostics: Motorola_Si3054, a Motorola type.
                              from    Archives: Motorola_Si3054, a Motorola type.
                        The HDA card softmodem chip is 0x10573055

 Lacking a dsp (digital signal processing) chip, the modem is a software 
 intensive or "softmodem" type. Its primary controller manages the traffic 
 with the CPU. But the software needed is specified in the Subsystem.
 -----------------------------------------
Support type needed or chipset:	slmodemd

 An ALSA (Advanced Linux Sound Architecture) modem driver:  snd-hda-intel
 provides Low Level support enabling contact with the modem hardware.
 For all BUT Conexant chip soft modems (using hsfmodem software)
 complementary High Level support is through a Smartlink utility:  slmodemd

 Download from http://linmodems.technion.ac.il/packages/smartlink/ 
 the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack under Linux with:
 	$ tar zxf SLMODEMD.gcc4.1.tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
 	 slmodemd -c YOUR_COUNTRY --alsa hw:0,6 
 reporting dynamic creation of ports:
	/dev/ttySL0 --> /dev/pts/N   , with N some number
 Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.

 Already loaded into the kernel is snd-hda-intel and audio drivers it depends on,
 displayed by:	lsmod | grep snd_hda_intel
Module                  Size  Used by
-------------------------------------
snd_hda_intel         238616  3 
snd_pcm                72260  3 snd_hda_intel
snd                    48740  7 snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc          9992  2 snd_hda_intel,snd_pcm


The diagnostic outputs for this softmodem section have their raw information in
folders and text files under /proc/asound/ which you can browse. The information
is from files:
	/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

	/proc/asound/modules
-------------------------------
 0 snd_hda_intel
	10573055
-------------------------------

-------------------------------
Current support status of HDA cards is:
  Vendor IDs  Chip maker     Support type 
  ----------  ----------    -------------
  0x14f12bfa  Conexant      hsfmodem , not slmodemd compatible
  0x14f12c06  Conexant      hsfmodem , not slmodemd compatible
  0x11c13026  AgereSystems  snd-hda-intel, slmodemd supported
  0x11c11040  AgereSystems      "             "     support not yet available.
  0x11c13055  AgereSystems      "             "    ,      "
  0x163c3055  Smartlink         "             "    ,      "
  0x163c3155    "               "             "    ,      "
  0x10573055  Motorola          "             "    ,      "
  0x10573155     "              "             "    ,      ""
as of October 2006.

	/proc/asound/card0/codec#1
-------------------------------


and from the command:
	aplay -l | grep -i modem
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]

----------------end Softmodem section --------------

Writing Intel.txt
Writing Smartlink.txt
============ end Smartlink section =====================

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.1.2
             and the compiler used in kernel assembly: 4.1.2


 
 Compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   kernel_headers base folder /lib/modules/2.6.22-gentoo-r2-ana/build


If a driver compilation files with message including some lack of some FileName.h (stdio.h for example. 
Some additional kernel-header files need installation to /usr/include.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
$ sudo apt-get -s install linux-kernel-devel
While some of the files may be on the install CD, others may have to be found through http://packages.ubuntu.com

For Ubunut feisty, additional packages required were:
 build-essential curl debhelper dpkg-dev g++ g++-4.1 gettext git-core gitk
 html2text intltool-debian kernel-package kernel-wedge libc6-dev
 libcurl3-gnutls libdigest-sha1-perl liberror-perl libstdc++6-4.1-dev
 linux-libc-dev po-debconf rcs tcl8.4 tk8.4


Checking pppd properties:
	-r-s--x--x 1 root root 249432 Aug  7 10:25 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
	$ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	 chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
lock

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

Read Modem/YourSystem.txt concerning other COMM channels: eth0 vmnet1 vmnet8
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for the experts
 should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10 Aug  7 10:27 /dev/ttySL0 -> /dev/pts/3
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:

     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------


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

  Powered by Linux