New Case, slmodemd doesn't work

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

 



Hi!

I have a Motorola modem:
Ven 8086, Dev 24C6, Rev 03
Following instructions from ModemData.txt doesn't work:
(on vanilla 2.6.23.1)

# slmodemd --alsa modem:1
ALSA lib confmisc.c:1283:(snd_func_refer) Unable to find definition 'cards.ICH-MODEM.pcm.modem.4:CARD=1' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3972:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=1,DEV=4 error: alsa setup: cannot open playback device 'modem:1': No such file or directory
error: cannot setup device `modem:1'
 Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry Fedora Core release 5 (Bordeaux)
Kernel  kernel 2.6.23.1 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Your contry's local Linux experts
 can be found through: http://www.linux.org/groups/index.html
 Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org 
--------------------------  System information ----------------------------
CPU=i686,  Fedora Core release 5 (Bordeaux)
Kernel 
Linux version 2.6.23.1 (root@averamihel) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #6 Thu Oct 18 12:05:33 MSD 2007
 scanModem update of:  20071018


 There are no blacklisted modem drivers in /etc/modprobe*  files 

 Potentially useful modem drivers now loaded are:
 snd_intel8x0m


Advanced Linux Sound Architecture  (ALSA) spackage providing audio support 
on your System, also includes drivers for some modems. For modems using the 
snd-hda-intel  audio+modem driver, upgrades to a new ALSA version are sometimes 
necessary to achieve function. See for example:
      http://linmodems.technion.ac.il/bigarch/archive-seventh/msg02144.html
Copying ALSA diagnostics to Modem/ALSAroot.tgz
ALSAversion = 1.0.14rc1

 USB modem not detected.

Modem or candidate host audio card have firmware information and diagnostics:

 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1f.6	8086:24c6	14ff:100f	Modem: Intel Corporation 82801DB/DBL/DBM 

 Modem interrupt assignment and sharing: 
 17:          0   IO-APIC-fasteoi   Intel 82801DB-ICH4, Intel 82801DB-ICH4 Modem
 --- Bootup diagnostics for card in PCI slot 00:1f.6 ----
ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 17
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1f.6 to 64

 The PCI slot 00:1f.6 of the modem card may be disabled early in 
 a bootup process,  but then enabled later. If modem drivers load 
 but the  modem is not responsive, read Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
 if help is needed.
 

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


 Modem not detected though HDA card diagnostics, though not excluding
 a possible Conexant modem chip impervious to ALSA diagnostics. 
 Proceeding through alternative possibilties.

There is candidate modem software.
 For candidate modem in PCI bus:  00:1f.6
   Class 0703: 8086:24c6 Modem: Intel Corporation 82801DB/DBL/DBM
      Primary PCI_id  8086:24c6
    Subsystem PCI_id  14ff:100f 
    Softmodem codec or chipset from diagnostics: MOT66, an AgereSystems type.
                               from    Archives: 
                        

 This is a NEW softmodem case!  Please send the output ModemData.txt 
 to DISCUSS@xxxxxxxxxxxxx to enrich the Archive and help others!
 If further assistance is not needed, please use email Subject:
     New Case Only
 -------------------------------------------
 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-intel8x0m
 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 modem:1 
 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-intel8x0m and audio drivers it depends on,
 displayed by:	lsmod | grep snd_intel8x0m
Module                  Size  Used by
-------------------------------------
snd_intel8x0m          16588  0 
snd_ac97_codec         90720  2 snd_intel8x0m,snd_intel8x0
snd_pcm                62280  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    46628  10 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         10120  3 snd_intel8x0m,snd_intel8x0,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-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1 : capture 1

	/proc/asound/modules
-------------------------------
 0 snd_intel8x0
 1 snd_intel8x0m
	/proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 4d4f  and  0:7e = 5466
which were translated from hexadecimal code into:  MOT66

	/proc/asound/card1/codec97#0/mc97#1-1
-------------------------------
Extended modem ID: codec=1 LIN1

and from the command:
	aplay -l | grep -i modem
card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - 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.1
             and the compiler used in kernel assembly: 4.1.1


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.23.1/build

 However some compilations and executable functions may need additional files,
 in the FileNames.h (so called kernel "h"eaders) collection installed in  /usr/include/ .
 For martian_modem, additional required packages are libc6-dev (and for Debian/Ubuntu,  linux-libc-dev). The also required headers of package libc6 are commonly installed by default. 

Compressed files at: /usr/src/linux-2.6.23.1.tar.bz2


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 Ubuntu Feisty, additional packages required were:
 libc6-dev linux-libc-dev
available through http://packages.ubuntu.com/ , if not on the install CD.
Such packages may have different names for other Linux distributions.
Try installing just the libc6-dev, then test the compile again.


Checking pppd properties:
	-r-xr-xr-x 1 root root 308292 Feb 12  2006 /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


 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/50-udev.rules:KERNEL=="modems/mwave*",        NAME="%k", GROUP="uucp", MODE="0660"
     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 --------

PCIDEV=8086:24c6
CLASS="Class 0703: 8086:24c6"
NAME="Modem: Intel Corporation 82801DB/DBL/DBM "
Vendor=8086
Device=24c6
SUBSYS=14ff:100f
SUBNAME=" TWINHEAD INTERNATIONAL Corp Unknown device 100f"
SUBven=14ff
IRQ=17
Test="./scanModem test 8086:24c6 14ff:100f"
SOFT=8086:24c6
CODECd=MOT66
COD=MOT
TYPE=ALSA
SLMODEMD_DEVICE=modem:1
PORT="modem:1"
Driver=snd-intel8x0m
DRIVER_=snd_intel8x0m
KDRIVER=SND_INTEL8X0M
MPLACE=
ASOUND=1
CODECp=
CODEC=
COD=MOT
HDA=
IDENT=slmodemd
TST=

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

  Powered by Linux