Eric, USA kernel 2.6.32-25-generic

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

 



>From my understanding I am using an Smart Link Si3054 Modem that
shares resources with my Intel ICH 7 audio card.

My speakers / sound / microphone does work. I have no idea if the
modem works because I have no POTS copper, magicjack or VoIP device to
provide a dialtone to the modem.


What I am trying to accomplish is to send a fax using the capabilities
of efax-gtk, slmodemd, alsa and my smart link modem to route the
"sound" of the fax through to the line in / microphone of my soundcard
so that it gets sent over whatever software phone I choose in the GUI.

So its like I want to trick the modem into thinking its plugged in so
the fax software will make the faxing sounds and route that sound to
line in.

Feasible right? With the right error correction and baud rate?

First off, can anyone tell me that this is possible?
Second, from looking at my ModemData / scanModem output is everything
installed / setup properly?
And finally, what do I do? Some fancy .asoundrc pcm name routing?

 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  kernel 2.6.32-25-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@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,  Ubuntu ,  ALSA_version=1.0.21
Linux version 2.6.32-25-generic (buildd@palmer) (gcc version 4.4.3
(Ubuntu 4.4.3-4ubuntu5) ) #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010
 scanModem update of:  2010_05_29
The modem symbolic link is /dev/modem -> ttySL0
The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/2
Distrib_ID=Ubuntu
DistribCodeName=lucid
AptRepositoryStem=http://us.archive.ubuntu.com/ubuntu/


The dkms driver upgrade utilities are installed,

 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 0a5c:2154 Broadcom Corp.
 ID 0a5c:4503 Broadcom Corp.
 ID 0a5c:4502 Broadcom Corp.
 ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
 ID 04a9:173e Canon, Inc.
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@xxxxxxxxxxxxx

Candidate PCI devices with modem chips are:
00:1b.0 Audio device: Intel Corporation N10/ICH 7 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    107b:0366    Audio device: Intel Corporation
N10/ICH 7 Family High Definition Audio Controller

 Modem interrupt assignment and sharing:
 22:      34379          0   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----


===== 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 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]

The /proc/asound/pcm file reports:
-----------------------
00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 1
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd8240000 irq 22

 PCI slot 00:1b.0 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.32-24-
generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.32-25-generic/kernel/sound/pci/hda/snd-hda-intel.ko
 The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: Motorola Si3054
Address: 1
Function Id: 0x2
Vendor Id: 0x10573057
Subsystem Id: 0x00010001
Revision Id: 0x100100
Modem Function Group: 0x1

 The audio card hosts a softmodem chip:  0x10573057

The softmodem chip 0x10573057 is in principle supported by the COMM
support of slmodemd
and the joint snd-hda-intel audio+modem driver, begun with ALSA version 1.0.13.
For HDA cards with ALC883 chips, an upgrade to ALSA verions 1.0.15 way
be necessary.
Instructions for Upgrading snd-hda-intel and its dependent driver set are at:
http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00838.html

If not a Conexant modem, the driver snd-hda-intel with its dependent drivers:
snd_hda_intel          22037  5
snd_hda_codec          74201  3
snd_hda_codec_si3054,snd_hda_codec_idt,snd_hda_intel
snd_pcm                70694  6
snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    54180  21
snd_hda_codec_si3054,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
----------
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 N10/ICH 7 Family High Definition
Audio Controller "
CLASS=0403
PCIDEV=8086:27d8
SUBSYS=107b:0366
IRQ=22
HDA2=00:1b.0
SOFT=8086:27d8.HDA
HDAchipVendorID=1057
CHIP=0x10573057
IDENT=slmodemd
SLMODEMD_DEVICE=hw:0,6
Driver=snd-hda-intel

 For candidate modem in:  00:1b.0
   0403 Audio device: Intel Corporation N10/ICH 7 Family High
Definition Audio Controller
      Primary device ID:  8086:27d8
    Subsystem PCI_id  107b:0366
    Softmodem codec or chipset from diagnostics: 0x10573057
                               from    Archives:
                        The HDA card softmodem chip is 0x10573057


Support type needed or chipset:    slmodemd supporting the
snd-hda-intel audio+modem driver

 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.4_alsa1.0.21.tar.gz having a compiled
slmodemd. Unpack under Linux with:
     $ tar zxf SLMODEMD_gcc4.4_alsa1.0.21.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 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.

 The base of the UDEV device file system is: /dev/.udev

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



 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.4
   linuc_headers base folder /lib/modules/2.6.32-25-generic/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 needed. The also
required headers of package libc6 are commonly installed by default.
 Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev
packages, for kernels 2.6.24 and later versions.
 In not included on your install CD, search for them at
http://packages.ubuntu.com
 or comparable Repository for other Linux distros.
 When compiling ALSA drivers, the utility "patch" will also be needed.


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


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 273312 2010-03-06 19:59 /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
noauth
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

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.

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 eth1
Which can interfere with Browser naviagation.

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

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root root 6
2010-11-04 16:16 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10
2010-11-04 21:31 /dev/ttySL0 -> /dev/pts/2
     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
/etc/modprobe.d/sl-modem.conf:install slamr /sbin/modprobe -qb
ungrab-winmodem; /sbin/modprobe --ignore-install slamr; test -e
/dev/slamr0 && (chmod 660 /dev/slamr0 && chgrp dialout /dev/slamr0) ||
(/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout
/dev/slamr0)
/etc/modprobe.d/sl-modem.conf:install slusb /sbin/modprobe -qb
ungrab-winmodem; /sbin/modprobe --ignore-install slusb; test -e
/dev/slusb0 && (chmod 660 /dev/slusb0 && chgrp dialout /dev/slusb0) ||
(/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout
/dev/slusb0)
     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