Thierry, USA, Debian GNU/Linux 4.0 kernel 2.6.20.4-slh64-smp-1

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

 



summary: Agere, modem stopped working with new ALSA 

I might have nearly the same software/hardware
configuration as that reported by pablo@xxxxxxxxxx on
this list on 15 Feb 2007 (but amd64) and the same
failure after upgrading alsa:

# ./slmodemd -c USA --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.

error: cannot setup hw params for playback: Invalid
argument

----------------------------------------------

Attached the modem data file generated by scanModem.


ModemData:
CPU=x86_64,  Debian GNU/Linux 4.0 
Linux version 2.6.20.4-slh64-smp-1 (slh@x2-4200) (gcc
version 4.1.2 
20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Fri
Mar 23 22:26:01 CET 
2007
 scanModem update of:  2007_March_15
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 ->
/dev/pts/0

USB modem not detected by lsusb

Modem or host audio card candidates have firmware
information:

 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:14.2	1002:437b	10cf:1326	Audio device: ATI
Technologies Inc SB450 
HDA Audio 

 Modem interrupt assignment and sharing: 
  5:       7007    XT-PIC-XT        ohci1394, HDA
Intel, yenta, 
sdhci:slot0

 --- Bootup diagnositcs for card in PCI slot 00:14.2
----

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

ALSAversion 1.0.13
1002:437b is a High Definition Audio card, possibly
hosting a soft 
modem.

 For candidate modem in PCI bus:  00:14.2
   Class 0403: 1002:437b Audio device: ATI
Technologies Inc SB450 HDA 
Audio
      Primary PCI_id  1002:437b
    Subsystem PCI_id  10cf:1326 
    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.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          24224  6 
snd_hda_codec         206208  1 snd_hda_intel
snd_pcm                93576  9 
snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    69800  20 
snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         12048  5 
snd_atiixp_modem,snd_via82xx_modem,snd_intel8x0m,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: ALC260 Analog : ALC260 Analog : capture 1
00-00: ALC260 Analog : ALC260 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: 0x11c13026
Subsystem Id: 0x11c13026
Revision Id: 0x100600
-------------------------------
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
card 0: SB [HDA ATI SB], device 6: Si3054 Modem
[Si3054 Modem]

----------------end Softmodem section --------------
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:
	 kernel-source-2.6.20.4-slh64-smp-1
Compressed files at: /usr/src/acer-acpi.tar.bz2
/usr/src/acx.tar.bz2 
/usr/src/adm8211.tar.bz2 /usr/src/alsa-driver.tar.bz2 
/usr/src/aufs.tar.bz2 /usr/src/btsco.tar.bz2
/usr/src/cloop.tar.bz2 
/usr/src/fsam7400.tar.bz2
/usr/src/gspca-source.tar.bz2 /usr/src/ipw3945.tar.bz2

/usr/src/ivtv.tar.bz2 /usr/src/kqemu.tar.bz2 
/usr/src/linux-custom-patches-2.6.18.5-slh64-smp-1.tar.bz2

/usr/src/linux-custom-patches-2.6.18.6-slh64-smp-1.tar.bz2
/usr/src/linux-custom-patches-2.6.20.3-slh64-smp-1.tar.bz2

/usr/src/linux-custom-patches-2.6.20.4-slh64-smp-1.tar.bz2

/usr/src/linux-wlan-ng.tar.bz2
/usr/src/madwifi.tar.bz2 
/usr/src/ndiswrapper-source.tar.bz2
/usr/src/ocaml-source-3.09.2.tar.bz2
/usr/src/rfswitch.tar.bz2 
/usr/src/rt2400.tar.bz2 /usr/src/rt2500.tar.bz2
/usr/src/rt2570.tar.bz2 
/usr/src/rt61.tar.bz2 /usr/src/squashfs.tar.bz2
/usr/src/unionfs.tar.bz2

For Debian and some related distributions, a package 
kernel-kbuild-2.6-3 may be needed to support driver
compiling


Checking pppd properties:
	-rwsr-xr-- 1 root dip 293984 Mar 17 15:36
/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


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: lan0
Which can interfere with Browser naviagation.

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

#
# UDEV rule for ltmodem
#  creates symlink /dev/modem to /dev/ttyLT?, and
takes care of 
permissions

KERNEL=="ttyLTM[0-9]", MODE="0660", GROUP="dialout",
SYMLINK="modem"

# start/stop the daemon when the USB modem is
connected
KERNEL=="slusb[0-9]*", GROUP="dialout", 
RUN+="/etc/init.d/sl-modem-daemon"
 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root
root 6 Mar 28 
12:59 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0: 
lrwxrwxrwx 1 root root 10 
Mar 28 13:00 /dev/ttySL0 -> /dev/pts/0
     Within /etc/udev/ files:
/etc/udev/ltmodem.rules:# UDEV rule for ltmodem
/etc/udev/ltmodem.rules:#  creates symlink /dev/modem
to /dev/ttyLT?, 
and takes care of permissions
/etc/udev/ltmodem.rules:KERNEL=="ttyLTM[0-9]",
MODE="0660", 
GROUP="dialout", SYMLINK="modem"
/etc/udev/rules.d/ltmodem.rules:# UDEV rule for
ltmodem
/etc/udev/rules.d/ltmodem.rules:#  creates symlink
/dev/modem to 
/dev/ttyLT?, and takes care of permissions
/etc/udev/rules.d/ltmodem.rules:KERNEL=="ttyLTM[0-9]",
MODE="0660", 
GROUP="dialout", SYMLINK="modem"
/etc/udev/rules.d/030_sl-modem-daemon.rules:#
start/stop the daemon 
when the USB modem is connected
/etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*",

GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
/etc/udev/sl-modem-daemon.rules:# start/stop the
daemon when the USB 
modem is connected
/etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*",
GROUP="dialout", 
RUN+="/etc/init.d/sl-modem-daemon"
     Within /etc/modprobe.conf files:
/etc/modprobe.d/sl-modem-daemon.modutils:install slamr
modprobe 
--ignore-install ungrab-winmodem ;  modprobe
--ignore-install slamr; test -e 
/dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0
2>/dev/null && 
chgrp dialout /dev/slamr0) 
/etc/modprobe.d/alsa-base-blacklist:# Uncomment these
entries in order 
to blacklist unwanted modem drivers
/etc/modprobe.d/alsa-base-blacklist:# blacklist
snd-atiixp-modem
/etc/modprobe.d/alsa-base-blacklist:# blacklist
snd-via82xx-modem
/etc/modprobe.d/alsa-base:options snd-atiixp-modem
index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem
index=-2
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf
files:
/etc/modules.conf:options snd-atiixp-modem index=-2
/etc/modules.conf:options snd-via82xx-modem index=-2
/etc/modules.conf.old:options snd-atiixp-modem
index=-2
/etc/modules.conf.old:options snd-via82xx-modem
index=-2
--------- end modem support lines --------





 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

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

  Powered by Linux