USA kernel 2.6.27.27 Slax, success finally with agrsm

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

 



Dear all,

I finally achieve success with new agrsm modem driver for 11c1:0620
chipset.  I tried them out of curiosity and am connecting with it from
home :)

attaching ModemData.txt,  will try to clean up slaxbuild script(script
that generates the lzm(slax module)) and post it in slax website.

Driver:
11c1:0620                       2.6.28
agrsm06pci_2.1.80~20090825_i386.deb  or
agrsm06pci_2.1.80~20090825_i386.tar.gz


ModemData.txt says wvdial is not installed, using Slax in Fresh Mode,
and wvdial and wvstreams modules not activated, I tried them, but they
could not find the modem, but /dev/modem points to /dev/ttyAG3

root@slax:~# ls /dev/modem -l
lrwxrwxrwx 1 root root 12 Nov 18 01:45 /dev/modem -> /dev/ttyAGS3


Sreehari, Hugo
if you want to give it a try let me know and I'll attach lzm module
before I post to Slax forum.

ModemData.txt attached:

root@slax:~# ./scanModem
UPDATE=2009_11_14
 Continuing as this update is only 1 weeks old,
 but the current Update is always at: http://linmodems.technion.ac.il


Identifying PCI bus slots with candidate modems.
Running PCIbus cases
Analysing card in PCI bus 05:01.0, writing to scanout.05:01.0
Analysing card in PCI bus 05:02.0, writing to scanout.05:02.0
Analysing card in PCI bus 00:1b.0, writing to scanout.00:1b.0
Using scanout.05:01.0 data, and writing guidance to ModemData.txt
Writing DOCs/Intel.txt
Using scanout.05:02.0 data, and writing guidance to ModemData.txt
Read DOCs/Smartlink.txt
Writing DOCs/Smartlink.txt
Using scanout.00:1b.0 data, and writing guidance to ModemData.txt

 Writing residual guidance customized to your System.
   A subfolder Modem/  has been written,  containing these files with
more detailed Information:
 ------------------------------------------------------------------------------------------
 1stRead.txt     Bootup.txt       DOCs             ModemData.txt  dmesg.txt
scanout.00:1b.0  scanout.05:01.0  scanout.05:02.0  tmp
    and in the DOCs subfolder:
 Agrsm.txt      DriverCompiling.txt  InfoGeneral.txt  Intel.txt
LSI_Agere.txt  Rational.txt         Smartlink.txt    SoftModem.txt
Testing.txt    UNSUBSCRIBE.txt      YourSystem.txt   wvdial.txt
-------------------------------------------------------------------------------------------
       Please read 1stRead.txt first for Guidance.


root@slax:~# cat Modem/ModemData.txt
 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
===============================================================================
 Welcome to Slax                                                         6.1.2
===============================================================================

 The system is up and running now.

 Login as "root" with password "toor", both without quotes, lowercase.
 If you're new to Slax, visit http://www.slax.org/ for more info.

 After you login, try the following commands:

 mc ....... to start Midnight Commander (edit/copy/move/create/delete files)
 startx ... to run Xwindow system with KDE in VESA mode 1024x768 at 75Hz
 xconf .... to autoconfigure your graphics card for better performance

 Other commands you may find useful (for experts only!):

 activate ..... to insert (install) Slax module into the system on the fly
 deactivate ... to remove (uninstall) Slax module from the root filesystem
 mkfileswap ... to create a special file on your harddisk for virtual RAM

 When finished, use "poweroff" or "reboot" command and wait until it completes
===============================================================================
kernel 2.6.27.27
 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,
===============================================================================
 Welcome to Slax                                                         6.1.2
===============================================================================

 The system is up and running now.

 Login as "root" with password "toor", both without quotes, lowercase.
 If you're new to Slax, visit http://www.slax.org/ for more info.

 After you login, try the following commands:

 mc ....... to start Midnight Commander (edit/copy/move/create/delete files)
 startx ... to run Xwindow system with KDE in VESA mode 1024x768 at 75Hz
 xconf .... to autoconfigure your graphics card for better performance

 Other commands you may find useful (for experts only!):

 activate ..... to insert (install) Slax module into the system on the fly
 deactivate ... to remove (uninstall) Slax module from the root filesystem
 mkfileswap ... to create a special file on your harddisk for virtual RAM

 When finished, use "poweroff" or "reboot" command and wait until it completes
===============================================================================
Linux version 2.6.27.27 (root@darkstar) (gcc version 4.2.4) #1 SMP Wed
Jul 22 07:27:34 AKDT 2009
 scanModem update of:  2009_11_14
The modem symbolic link is /dev/modem -> /dev/ttyAGS3
The dialer utility package WVDIAL does not appear to be installed on
your System.
For Ubuntu Jaunty users, there are at the bottom of
http://linmodems.technion.ac.il/packages/:
     wvdial_jaunty_amd64.zip   for x86_64, 64 bit bus systems.
     wvdial_jaunty_i386.zip    for 32 bit systems.
These are about 1 MB in size.  After downloaded and copied into your
Linux partition:
$ unzip wv*.zip
Within the new folder:
$ sudo dpkg -i *.deb
will  complete the wvdial installation
Please read Modem/DOCs/wvdial.txt for usage information.

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

Modem drivers blocked from loading during bootup are listed in
/etc/modprobe* file lines:
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
/etc/modprobe.d/blacklist:blacklist snd-intel8x0m


 Potentially useful modem drivers now loaded are:
         snd_hda_intel agrmodem agrserial

Attached USB devices are:
 ID 15d9:0a41
 ID 0930:6545 Toshiba Corp.
 ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
 ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card
Reader/Writer (Internal/External)
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

For candidate card in slot 05:01.0, firmware information and bootup
diagnostics are:
 PCI slot       PCI ID          SubsystemID     Name
 ----------     ---------       ---------       --------------
 05:01.0        11c1:0620       11c1:0620       Communication
controller: Agere Systems Unknown device 0620

 Modem interrupt assignment and sharing:
 17:     121520          4          6          5   IO-APIC-fasteoi
ide0, ide1, LSI Mdm
 --- Bootup diagnostics for card in PCI slot 05:01.0 ----
PCI: 0000:05:01.0 reg 10 io port: [e800, e8ff]
pci 0000:05:01.0: PME# supported from D3hot D3cold
pci 0000:05:01.0: PME# disabled
pci 0000:05:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17

 The PCI slot 05:01.0 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@xxxxxxxxxxxxx
 if help is needed.


For candidate card in slot 05:02.0, firmware information and bootup
diagnostics are:
 PCI slot       PCI ID          SubsystemID     Name
 ----------     ---------       ---------       --------------
 05:02.0        163c:3052       163c:3052       Modem: Smart Link Ltd.
SmartLink SmartPCI562 56K Modem

 Modem interrupt assignment and sharing:
 18:       4659      43864         15         15   IO-APIC-fasteoi
ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8
 --- Bootup diagnostics for card in PCI slot 05:02.0 ----
PCI: 0000:05:02.0 reg 10 32bit mmio: [febff000, febfffff]
PCI: 0000:05:02.0 reg 14 io port: [e400, e4ff]
pci 0000:05:02.0: PME# supported from D0 D3hot D3cold
pci 0000:05:02.0: PME# disabled
serial 0000:05:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
0000:05:02.0: ttyS1 at I/O 0xe408 (irq = 18) is a 16450
0000:05:02.0: ttyS2 at I/O 0xe410 (irq = 18) is a 8250
0000:05:02.0: ttyS3 at I/O 0xe418 (irq = 18) is a 16450
Couldn't register serial port 0000:05:02.0: -28

 The PCI slot 05:02.0 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@xxxxxxxxxxxxx
 if help is needed.


For candidate card in slot 00:1b.0, firmware information and bootup
diagnostics are:
 PCI slot       PCI ID          SubsystemID     Name
 ----------     ---------       ---------       --------------
 00:1b.0        8086:293e       1043:8277       Audio device: Intel
Corporation 82801I

 Modem interrupt assignment and sharing:
 22:       2200          3          1          1   IO-APIC-fasteoi
ata_piix, ata_piix, HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
PCI: 0000:00:1b.0 reg 10 64bit mmio: [f9ff8000, f9ffbfff]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: setting latency timer to 64

 The PCI slot 00:1b.0 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@xxxxxxxxxxxxx
 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 ALSA verion is 1.0.17
The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-01: AD198x Digital : AD198x Digital : playback 1 : capture 1
00-00: AD198x Analog : AD198x Analog : playback 1 : capture 3

about /proc/asound/cards:
------------------------
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf9ff8000 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.27.27/kernel/sound/pci/hda/snd-hda-intel.ko
UNEXPECTED HDA diagnostic outcome.
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 05:01.0:
        Modem chipset  detected on
NAME="Communication controller: Agere Systems Unknown device 0620"
CLASS=0780
PCIDEV=11c1:0620
SUBSYS=11c1:0620
IRQ=17
IDENT=agrsm

 For candidate modem in:  05:01.0
   0780 Communication controller: Agere Systems Unknown device 0620
      Primary device ID:  11c1:0620
 Support type needed or chipset:        agrsm



Writing DOCs/Intel.txt

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_20091022_i386.deb or
agrsm048pci-2.1.60_20091022.tar.gz
11c1:0620                       2.6.28
agrsm06pci_2.1.80~20090825_i386.deb  or
agrsm06pci_2.1.80~20090825_i386.tar.gz
11c11040 (on HDA audio cards)   2.6.27
dkms-agrsm_2.1.80-9mdv2009.0_i386.deb or
agrsm-2.1.80-10mdv2009.0.tar.gz
   All available at:
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/   , whereat
additionally
automation & testing                    agrsm-tools_0.0.1_all.deb or
agrsm-tools-0.0.1-2.noarch.rpm
General background                      agrsm_howto.txt
for rpm variants of dkms-agrsm , see  http://linux.zsolttech.com/linmodem/agrsm/
------------------------------------------------------------------------------------------------
* KV == latest kernel release with a reported success

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 -------------------


Predictive  diagnostics for card in bus 05:02.0:
        Modem chipset  detected on
NAME="Modem: Smart Link Ltd. SmartLink SmartPCI562 56K Modem "
CLASS=0703
PCIDEV=163c:3052
SUBSYS=163c:3052
IRQ=18
IDENT=slamr

 For candidate modem in:  05:02.0
   0703 Modem: Smart Link Ltd. SmartLink SmartPCI562 56K Modem
      Primary device ID:  163c:3052
 Support type needed or chipset:        slamr


The modem is supported by the Smartlink
plus the slmodemd helper utility.  Read the
DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.


For 2.6.27.27 compiling drivers is necessary. As of October 2007 the
current packages at
http://linmodems.technion.ac.il/packages/smartlink/  are the
ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz

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


Predictive  diagnostics for card in bus 00:1b.0:
        Modem chipset not detected on
NAME="Audio device: Intel Corporation 82801I "
CLASS=0403
PCIDEV=8086:293e
SUBSYS=1043:8277
IRQ=22
HDA=8086:293e
SOFT=8086:293e.HDA


 High Definition Audio (HDA) cards MAY host a modem chip in their Subsystem,
 and many are supported by the ALSA audio+modem driver snd-hda-intel
 A modem was not detected on HDA card 8086:293e.
 If another modem card is present, then most likely 8086:293e does not
host a modem.
 If another modem card has not been detected, then possibilities are:
        1) A Conexant modem chip is present on 8086:293e, as Conexant chips
 are frequently not detectable by ALSA diagnostics
        2) The modem may be of the older non-PCI Controller Chipset
(hardware) type.
Try detection with Root permission:
         wvdialconf  /etc/wvdial.conf

 For candidate modem in:  00:1b.0
   0403 Audio device: Intel Corporation 82801I
      Primary device ID:  8086:293e
    Subsystem PCI_id  1043:8277
    Softmodem codec or chipset from diagnostics:
                               from    Archives:



Support type needed or chipset:

Support can likely be achieved through two mutually exclusive alternatives:
1) The hsfmodem software for Conexant chipset modems: Read DOCs/Conexant.txt
The following ALSA alternative CANNOT work with Conexant modems.

2) An ALSA modem driver plus slmodemd.  Read DOCs/Smartlink.txt for details, and
to test get the package SLMODEMD.gcc4.2.tar.gz from:
        http://linmodems.technion.ac.il/packages/smartlink/


 Completed candidate modem analyses.

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

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



 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.2
   linuc_headers base folder /lib/modules/2.6.27.27/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.




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 366440 Jun 29  2006 /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
asyncmap 0
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4

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/DOCs/YourSystem.txt concerning other COMM channels: eth0
eth1 ppp0 wlan0 wmaster0
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 12 Nov 18
01:45 /dev/modem -> /dev/ttyAGS3
slmodemd created symbolic link /dev/ttySL0:
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist:# ALSA modules to support sound modems.
These should be loaded manually
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

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

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

output of tail -f /var/log/messages

Nov 18 01:45:25 (none) kernel: pci 0000:05:01.0: PCI INT A -> GSI 17
(level, low) -> IRQ 17
Nov 18 01:45:25 (none) kernel: ttyAGS3 at I/O 0xe800 (irq = 17) is a AgereModem
Nov 18 01:45:25 (none) kernel: Loading module Agere Modem Interface
driver version 2.1.80.0Red Flag 5.0 NE (2007-10-01)
Nov 18 01:45:38 (none) kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Nov 18 01:47:47 (none) kernel: PPP generic driver version 2.4.2
Nov 18 01:47:47 (none) pppd[7019]: pppd 2.4.4 started by root, uid 0
Nov 18 01:47:47 (none) pppd[7019]: Using interface ppp0
Nov 18 01:47:47 (none) pppd[7019]: Connect: ppp0 <--> /dev/ttyAGS3
Nov 18 01:47:49 (none) pppd[7019]: PAP authentication succeeded
Nov 18 01:47:49 (none) kernel: PPP BSD Compression module registered
Nov 18 01:47:49 (none) kernel: PPP Deflate Compression module registered
Nov 18 01:47:49 (none) pppd[7019]: local  IP address 66.201.8.250
Nov 18 01:47:49 (none) pppd[7019]: remote IP address 66.201.8.6
Nov 18 01:47:49 (none) pppd[7019]: primary   DNS address 66.201.0.203
Nov 18 01:47:49 (none) pppd[7019]: secondary DNS address 66.94.120.9

Thank you all for your kind help and suggestions.  Now I finally can
use the agrsm modem 11c1:0620  :)

Regards,

Antonio

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

  Powered by Linux