Re: Giuseppe, Italy Ubuntu 6.10 kernel 2.6.17-10-generic

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

 



Giuseppe

All looks fine for service through:
-------------------------------------
Download from http://linmodems.technion.ac.il/packages/smartlink/
the package SLMODEMD.gcc4.tar.gz having a compiled slmodemd. Unpack
under Linux with:
   $ tar zxf SLMODEMD.gcc4.tar.gz
and read instructions therein. But briefly, the modem is setup with
command:
   sudo slmodemd -c ITALY --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

HDAmodemChip=0x1025:0110
is a diaplay error which I'll fix.  your chip unequivocally is
Vendor Id: 0x11c13026  AgereSystems

MarvS
scanModem maintainer


On 2/10/07, Giuseppe Barichello <beppuz@xxxxxxxxxxx> wrote:
--------------------------  System information ----------------------------
CPU=i686,  Ubuntu 6.10
Linux version 2.6.17-10-generic (root@terranova) (gcc version 4.1.2
20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Tue Dec 5
22:28:26 UTC 2006 (Ubuntu 2.6.17-10.34-generic)
scanModem update of:  2007_Feb_09

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:1b.0    8086:27d8    1025:0110    Audio device: Intel Corporation 82801G

Modem interrupt assignment and sharing:
74:       1512   IO-APIC-level  HDA Intel

--- Bootup diagnositcs for card in PCI slot 00:1b.0 ----
[17179586.192000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level,
low) -> IRQ 74
[17179586.192000] PCI: Setting latency timer of device 0000:00:1b.0 to 64

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

ALSAversion 1.0.14rc2
8086:27d8 is a High Definition Audio card, possibly hosting a soft modem.

HDAmodemChip=0x1025:0110
For candidate modem in PCI bus:  00:1b.0
   Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
      Primary PCI_id  8086:27d8
    Subsystem PCI_id  1025:0110
    Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems type.
                              from    Archives: 11c1, an AgereSystems type.
                        The HDA card softmodem chip is 0x1025:0110

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.tar.gz having a compiled slmodemd. Unpack
under Linux with:
     $ tar zxf SLMODEMD.gcc4.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 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          22936  5
snd_hda_codec         209664  1 snd_hda_intel
snd_pcm                85764  5 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    62984  14
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         11656  2 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: ALC883 Analog : ALC883 Analog : capture 2
00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 2

    /proc/asound/modules
-------------------------------
0 snd_hda_intel
    /proc/asound/card0/codec#1
-------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c13026
Subsystem Id: 0x10250110
Revision Id: 0x100700
-------------------------------
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
scheda 0: Intel [HDA Intel], dispositivo 6: Si3054 Modem [Si3054 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.2
             and the compiler used in kernel assembly: 4.1.2



Compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   kernel_headers base folder /lib/modules/2.6.17-10-generic/build


Checking pppd properties:
    -rwsr-xr-- 1 root dip 260920 2006-07-10 21:13 /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)
        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
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

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

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

# 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:
slmodemd created symbolic link /dev/ttySL0:  lrwxrwxrwx 1 root root 10
2007-02-10 05:06 /dev/ttySL0 -> /dev/pts/0
     Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*",
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/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to
blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:blacklist snd-via82xx-modem
/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)
     Within any ancient /etc/devfs files:

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

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

[What I do]:
root@stitch:~/Desktop# SLMODEMD.gcc4/slmodemd -c ITALY --alsa hw:0,6
SmartLink Soft Modem: version 2.9.11 Mar 13 2006 18:27:33
symbolic link `/dev/ttySL0' -> `/dev/pts/0' created.
modem `hw:0,6' created. TTY is `/dev/pts/0'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

[and, in another console]:
franca@stitch:~$ sudo wvdial
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT7020005027
--> Waiting for carrier.
ATDT7020005027
NO CARRIER
ERROR
--> No Carrier!  Trying again.

[error in the slmodemd console]:
error: cannot setup hw params for playback: Invalid argument

[error in syslog]:
Feb 10 05:49:32 stitch kernel: [17182215.232000] ALSA
/usr/src/alsa/alsa-driver-1.0.14rc2/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:1153:

hda-intel: invalid format_val, rate=9600, ch=1, format=2

[my /etc/wvdial.conf]:
franca@stitch:~$ cat /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttySL0
ISDN = 0
Phone = 7020005027
Password = *********
Username = *********
Carrier Check = no

[strange enough]:
I had an hard time configuring audio on this laptop (Acer TM 2482WXMi),
till I discovered I had to unmute the "surround" channel in alsamixer.
Is this issue relevant to the modem (maybe I have to unmute some other
strange channel)?

TIA,

Giuseppe



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

  Powered by Linux