Subject: Attaching Scanmodem output
From: "Tornrawks" <tornrawks@gmail.com>
Date: Sun, 3 Dec 2017 20:54:15 -0600
Sun, 3 Dec 2017 20:54:15 -0600
I realize this is old hardware on a new distro - Fedora Workstation 27.

I want to really make an honest effort at getting the old agrsm code for
this device working (I still see others have it and want what I want - FAX
capabilities on an old laptop).

I am really seeking to find out simply this:  Which source tarball do I need
from http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ to use.
Also, maybe someone else with some rudimentary programming skills such as
myself has already begun this task and will see this message and shoot me
their code-in-progress.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


 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  kernel 4.13.9-300.fc27.x86 64 
 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=x86 64,  \S
Kernel ,  ALSA version=k4.13.
Linux version 4.13.9-300.fc27.x86 64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc
version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Mon Oct 23 13:41:58 UTC 2017
 scanModem update of:  2011 08 08

/etc/lsb-release not found


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


Some modem drivers can only be used in 32 bit modem on x86 64 systems,
while some others are competent on x86 64 Systems.  Cases are:
1) http://linmodems.technion.ac.il/bigarch/archive-seventh/msg03119.html 
for the snd-hda-intel audio+modem driver. Also applicable to AC97 modem controllers.
In both cases, 32 bit libraries must be installed to support the slmodemd helper having
a precompiled 32 bit component.
2) For USB modems using the slusb.ko driver. 32 bit libraries must be installed to support
the slmodemd helper having a precompiled 32 bit component
3) The hsfmodem and hcfpcimodem drivers for Conexant chipsest modes are x86 64 competent.
4) agrsm packages for LSI/AgereSystems softmodems are not competent on x86 64 systems.

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

 Potentially useful modem drivers now loaded are:
       snd hda intel           

Attached USB devices are:
 ID 04f2:b008 Chicony Electronics Co., Ltd USB 2.0 Camera
 ID 046d:c70a Logitech, Inc. MX5000 Cordless Desktop
 ID 046d:c70e Logitech, Inc. MX1000 Bluetooth Laser Mouse
 ID 046d:c709 Logitech, Inc. BT Mini-Receiver (HCI mode)
 ID 046d:0b02 Logitech, Inc. C-UV35 [Bluetooth Mini-Receiver] (HID proxy mode)
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:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller
(rev 02)
High Definition Audio cards can host modem chips.

For candidate card in slot 00:1b.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:1b.0	8086:27d8	1179:ff03	Audio device: Intel Corporation NM10/ICH7 Family High Definition
Audio Controller 

 Modem interrupt assignment and sharing: 
 28:       1153          0   PCI-MSI 442368-edge      snd hda intel:card0
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[    0.189086] pci 0000:00:1b.0: [8086:27d8] type 00 class 0x040300
[    0.189115] pci 0000:00:1b.0: reg 0x10: [mem 0xdc440000-0xdc443fff 64bit]
[    0.189222] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[   22.094540] snd hda intel 0000:00:1b.0: PCI->APIC IRQ transform: INT A -> IRQ 22
[   22.426998] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   22.427153] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13


===== 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: ALC861-VD Analog : ALC861-VD Analog : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xdc440000 irq 28

 PCI slot 00:1b.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 
 The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: LSI Generic HDMI
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
Modem Function Group: 0x1

 The audio card hosts a softmodem chip:  0x11c11040

The softmodem chip 11c11040 is hosted on the Subsytem of the High Definition Audio card,
and is supported by the AgereSystems/LSI driver pair agrmodem + agrserial, which is
provided by 
the most current package agrsm-11c11040-version at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/


If not a Conexant modem, the driver agrsm with its dependent drivers:

----------
provide audio + modem support with the modem chip residing on the subsystem.
Any particular card can host any one of several soft modem chips. 

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

Predictive  diagnostics for card in bus 00:1b.0:
	Modem chipset  detected on
NAME="Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller
"
CLASS=0403
PCIDEV=8086:27d8
SUBSYS=1179:ff03
IRQ=28
HDA2=00:1b.0
SOFT=8086:27d8.HDA
HDAchipVendorID=11c1
CHIP=0x11c11040
IDENT=agrsm
Driver=agrsm
package=agrsm-11c11040

 For candidate modem in:  00:1b.0
   0403 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller

      Primary device ID:  8086:27d8
    Subsystem PCI id  1179:ff03 
    Softmodem codec or chipset from diagnostics: 0x11c11040
                               from    Archives: 
                        The HDA card softmodem chip is 0x11c11040
      

Support type needed or chipset:	agrsm


Writing DOCs/Intel.txt

      
 There is no agrsm software support for x86 64 systems, through the modem may be 
 supported on Intel/i386 installations, which do more slowly servce x86 64 processors.
 

The AgereSystems/LSI agrsm code supports compiling of a agrmodem + agrserial driver
pair.
There are a few different chipsets which use this driver pair, but they use different
code resources:
Chipsets			KV*	PackageNames (most current as of November 2009)
----------------------------------------------------------------------------------------------
11c1:048c and 11c1:048f         2.6.29	agrsm048pci-2.1.60 20100108 i386.deb or agrsm048pci-2.1.60
20100108.tar.gz
11c1:0620                       2.6.31  agrsm06pci-2.1.80 20100106 i386.deb or agrsm06pci-2.1.80~20100106.tar.gz
!!
11c11040 (on HDA audio cards)   2.6.31  agrsm-11c11040 20091225 i386.deb or agrsm-11c11040-2.1.80~20091225.tar.bz2
 !!
   All available at: http://linmodems.technion.ac.il/packages/ltmodem/11c11040/   
Additionally there are;
automation & testing                    agrsm-tools 0.0.1 all.deb or agrsm-tools-0.0.1-2.noarch.rpm
General background                      agrsm howto.txt 
------------------------------------------------------------------------------------------------
* KV == latest kernel release with a reported success 
!! Latest update with major credit to  Nikolay Zhuravlev
   But see conflict issue: http://linmodems.technion.ac.il/bigarch/archive-nineth/msg02753.html

   For the 11c11040 chip with kernels 2.6.31 and later a change in a modules loading
settingmay be necessary.
   Within the file /etc/modprobe.d/alsa-base.conf  (or equivalent for your Distro),
change the phrase:
      options snd-hda-intel power save=10
   to:
      options snd-hda-intel power save=0
   or the agrsm drivers will not function. For Ubuntu related systems this can be done
with:
   $ sudo gedit /etc/modprobe.d/alsa-base.conf

Report from  Bjorn Wielens:
Please note- trying to load the modules on a OpenSuSE 11.2 system gives
 an error about the module version symbol. Using:
# modprobe --force agrmodem
# modprobe --force agrserial 
is necessary to load the drivers, and does not appear to cause ill effects.


All of the above packages are dkms competent.  This means that if your Linux distros
dkms package
is previously installed, if provides for future updates matching forthcoming kernels.

-------------- end Agere Systems section -------------------

 Completed candidate modem analyses.

 A UDEV device file system is not active.

 The kernel was compiled with gcc version 7.2.1 and a compiler is not installed

 linux-headers-4.13.9-300.fc27.x86 64 resources needed for compiling are not manifestly
ready!
 The code linking utility, ld, may be needed and is provided in the binutils package

 The patch utility is needed for compiling ALSA drivers, and possibly others. 

 If compiling is necessary packages must be installed, providing:
	gcc-7.2  kernel-source-4.13.9-300.fc27.x86 64


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:
	-rwxr-xr-x. 1 root root 392864 Aug  4 06:35 /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)
         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

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:
Binary file /etc/udev/hwdb.bin matches
     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 --------