Subject: scanModem info
From: US Fire Marshal <usfiremarshal@earthlink.net>
Date: Sun, 23 Jul 2017 08:02:00 -0400
Sun, 23 Jul 2017 08:02:00 -0400
got internal modem in laptop (Panasonic Toughbook CF-73) and pcmcia US 
Robotics modem in pcmcia slot...




 Only plain text email is forwarded by the  Discuss@Linmodems.org List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry  kernel 4.10.0-28-generic 
 With this Subject Line cogent experts will be alerted, and useful case names left in
the Archive.
 YourCountry will enable Country specific guidance. Linux experts in YourCountry 
 can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@Linmodems.org 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,  Ubuntu ,  ALSA_version=k4.10.
Linux version 4.10.0-28-generic (buildd@lcy01-34) (gcc version 6.3.0 20170406 (Ubuntu
6.3.0-12ubuntu2) ) #32-Ubuntu SMP Fri Jun 30 05:31:03 UTC 2017
 scanModem update of:  2011_08_08

Distrib_ID=Ubuntu
DistribCodeName=zesty
AptRepositoryStem=http://us.archive.ubuntu.com/ubuntu/


Presently install your Linux Distributions dkms package. It provides for automated driver
updates,
following upgrade of your kernel.  For details see http://linux.dell.com/projects.shtml#dkms

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

 Potentially useful modem drivers now loaded are:
    snd_intel8x0m              

Attached USB devices are:
 ID 0430:0501 Sun Microsystems, Inc. 
 ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is:  http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@linmodems.org

Candidate PCI devices with modem chips are:
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller
(rev 04)
High Definition Audio cards can host modem chips.

For candidate card in slot 00:1e.3, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1e.3	8086:266d	10f7:834b	Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW 

 Modem interrupt assignment and sharing: 
 20:          0   IO-APIC  20-fasteoi   snd_intel8x0m
 --- Bootup diagnostics for card in PCI slot 00:1e.3 ----
[    0.274543] pci 0000:00:1e.3: [8086:266d] type 00 class 0x070300
[    0.274563] pci 0000:00:1e.3: reg 0x10: [io  0x2400-0x24ff]
[    0.274574] pci 0000:00:1e.3: reg 0x14: [io  0x2000-0x207f]
[    0.274658] pci 0000:00:1e.3: PME# supported from D0 D3hot D3cold
[    0.274765] pci 0000:00:1e.3: System wakeup disabled by ACPI

 The PCI slot 00:1e.3 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 DOCs/Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@linmodems.org
 if help is needed.
 


===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: Intel ICH : Intel ICH6 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH6 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH6 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH6 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH6 - IEC958 : playback 1

about /proc/asound/cards:
------------------------
 0 [ICH6           ]: ICH4 - Intel ICH6
                      Intel ICH6 with STAC9750,51 at irq 17
===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== 
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The modem cards detected by "aplay -l"  are: 
card 1: Modem [Intel ICH6 Modem], device 0: Intel ICH - Modem [Intel ICH6 Modem - Modem]

The /proc/asound/pcm file reports:
-----------------------
00-00: Intel ICH : Intel ICH6 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH6 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH6 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH6 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH6 - IEC958 : playback 1
01-00: Intel ICH - Modem : Intel ICH6 Modem - Modem : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [ICH6           ]: ICH4 - Intel ICH6
                      Intel ICH6 with STAC9750,51 at irq 17
 1 [Modem          ]: ICH-MODEM - Intel ICH6 Modem
                      Intel ICH6 Modem at irq 20

Modem firmware information is in /proc/asound/card1/codec97#0/mc97#1-1
-----------------------------------------------
Extended modem ID: codec=1 LIN1

Lines in: /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349  and  0:7e = 4c21
are translated from hexadecimal code into the modem chip identifier:  SIL21


The driver snd-intel8x0m with its dependent drivers:
snd_intel8x0m          20480  0
snd_ac97_codec        106496  2 snd_intel8x0m,snd_intel8x0
snd_pcm                94208  3 snd_intel8x0m,snd_ac97_codec,snd_intel8x0
snd                    65536  12 snd_intel8x0m,snd_seq,snd_ac97_codec,snd_timer,snd_rawmidi,snd_intel8x0,snd_seq_device,snd_pcm
----------
provide modem + audio support.

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 00:1e.3:
	Modem chipset  detected on
NAME="Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW "
CLASS=0703
PCIDEV=8086:266d
SUBSYS=10f7:834b
IRQ=20
SOFT=8086:266d.MC97
CodecDiagnosed=SIL21
CodecClass=SIL
IDENT=slmodemd
Driver=snd-intel8x0m

 For candidate modem in:  00:1e.3
   0703 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW 
      Primary device ID:  8086:266d
    Subsystem PCI_id  10f7:834b 
    Softmodem codec or chipset from diagnostics: SIL21, a Pctel type
                               from    Archives: 
                        
      

 This is a NEW softmodem case!  Please send the output ModemData.txt 
 to DISCUSS@linmodems.org to enrich the Archive and help others!
 If further assistance is not needed, please use email Subject:
     New Case Only
 -------------------------------------------
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_gcc6.3_alsak4.10..tar.gz having a compiled slmodemd. Unpack under
Linux with:
 	$ tar zxf SLMODEMD_gcc6.3_alsak4.10..tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
 	sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
 reporting dynamic creation of ports:
	/dev/ttySL0 --> /dev/pts/N   , with N some number
 Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.
 

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

 Completed candidate modem analyses.

 A UDEV device file system is not active.

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

 linux-headers-4.10.0-28-generic resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
	 linux-headers-4.10.0-28-generic


If a driver compilation fails, with message including some lack of some FileName.h (stdio.h
for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional
packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed
package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
	-rwsr-xr-- 1 root dip 396068 Jan 29  2016 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.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
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

For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/  get faxing.tar.gz
It has samples for a modem using port /dev/ttySL0, which must be changed to match your
modem's port.


 Don't worry about the following, it is for 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:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist
unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
     Within any ancient /etc/devfs files:

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

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