Lenovo N100 0689-a32, hda-intel, si3054: slmodemd starts but get "cannot setup hw params"

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

 



Hi,

I have just bought this fine notebook, which includes a softmodem.
Attached is the ModemData.txt I got from scanModem.

I am using alsa-1.0.14rc2, under Kubuntu 6.10 with ubuntunized kernel 2.6.20.
After upgrading alsa I got the right entries in /proc/asound, so I ran

> root@dinovo:/home/pdinoto/slmodem/SLMODEMD.gcc4# ./slmodemd -c ARGENTINA
> --alsa hw:0,6 SmartLink Soft Modem: version 2.9.11 Mar 13 2006 18:27:33
> symbolic link `/dev/ttySL0' -> `/dev/pts/6' created.
> modem `hw:0,6' created. TTY is `/dev/pts/6'
> Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

and can give AT commands. When trying to dial I get

> error: cannot setup hw params for playback: Invalid argument

and the NO CARRIER error of course. Since I compiled alsa with debugging, I 
see

> [ 1572.289000] ALSA .../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
> [ 1827.758000] ALSA .../alsa-driver-1.0.14rc2/pci/hda/hda_codec.c:627:
> hda_codec_setup_stream: NID=0x1, stream=0x0, channel=0, format=0x0

Any ideas?
I will appreciate any help. I am willing to help debugging this issue.

Regards,
///Pablo
 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry Ubuntu 6.10  kernel 2.6.20-rc6-ubuntu1-dinovo2 
 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,  Ubuntu 6.10 
Linux version 2.6.20-rc6-ubuntu1-dinovo2 (root@dinovo) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #1 SMP Thu Feb 8 17:19:40 ART 2007
 scanModem update of:  2007_Jan_22


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	17aa:2066	Audio device: Intel Corporation 82801G 

 Modem interrupt assignment and sharing: 
 16:      46042   IO-APIC-fasteoi   ohci1394, HDA Intel

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

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

ALSAversion 1.0.11
8086:27d8 is a High Definition Audio card, possibly hosting a soft modem.


The VendorID 0x11c11040 softmodem chip is in principle supported by the snd-hda-intel driver 
included within the ALSA audio+modem driver set.  However recognition of 0x11c11040 first begins with ALSA version 1.0.13. There are instructions for upgrading snd-hda-intel and its
dependent driver set at http://linmodems.technion.ac.il/archive-fourth/msg05023.html
The ? in the device designation in hw:0,? will be manifest after the driver update.
Typically ? is in the range of 0-6 . 


There may be novel modem chipset information within the /proc/asound/ 
files. They have been copied and packed into a file: Modem/11c1.tgz
Please send 11c1.tgz to the scanModem maintainer:  Marvin.Stodolsky@xxxxxxxxx

 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  17aa:2066 
    Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems type.
                              from    Archives: 11c1, an AgereSystems type.
      

 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.tar.gz having a compiled slmodemd. Unpack under Linux with:
 	$ tar zxf SLMODEMD.gcc4.tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
 	sudo 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          21016  5 
snd_hda_codec         172416  1 snd_hda_intel
snd_pcm                78596  5 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    53636  12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         10376  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-00: AD198x Analog : AD198x Analog : playback 1 : capture 1

	/proc/asound/modules
-------------------------------
 0 snd_hda_intel
	/proc/asound/card0/codec#1
-------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11c10001
Revision Id: 0x100200
-------------------------------
Current support status of HDA cards is:
  Vendor IDs  Chip maker     Support type 
  ----------  ----------    -------------
  0x14f12bfa  Conexant      hsfmodem , not slmodemd compatible
  0x11c13026  AgereSystems  snd-hda-intel, slmodemd supported
  0x11c11040  AgereSystems      "             "    , patch needed
  0x11c13055  AgereSystems      "             "    ,      "
  0x163c3055  Smartlink         "             "    ,      "
  0x163c3155    "               "             "    ,      "
  0x10573055  Motorola          "             "    ,      "
  0x10573155     "              "             "    ,      ""
as of October 2006.

and from the command:
	aplay -l | grep -i modem
tarjeta 0: Intel [HDA Intel], dispositivo 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

 Kernel-header resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
	 linux-headers-2.6.20-rc6-ubuntu1-dinovo2
Compressed files at: /usr/src/linux-source-2.6.17.tar.bz2 /usr/src/linux-source-2.6.20.tar.bz2


Checking pppd properties:
	-rwsr-xr-- 1 root dip 260920 2006-07-10 16:13 /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)
        sudo chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	sudo chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

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 eth2
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:  
     Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*",			SYMLINK+="modem"
     Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
     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