agrmodem on Ubuntu 8.04

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

 



Notebook Toshiba Satellite L30 with Agere softmodem
OS: Ubuntu 8.04, 
kernel version 2.6.24-22-386

I see from ModemData.txt (attached) that 
I have to use the agrmodem + agrserial + (patched) snd-hda-intel


Following the instructions in

http://linmodems.technion.ac.
il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html

with

ALSA 
version: 1.0.16

I patch the file hda_codec.c but agrsm-HDA-20080721.
tar.bz2 does not compile.
So, following the footnote, I borrow the 
content of alsa-driver-1.0.16/alsa-kernel/pci/hda/
from the tarball of 
the version 1.0.15. Patch the hda_codec.c file and compile the drivers

successfully (note however that the module has underscores instead of 
minuses, namely
sda_hda_intel). The modules are loaded and the 
/dev/ttyAGS3 is created but

wvdialconf reports "Sorry, no modem was 
detected!"

Should I use setserial?

If I issue ln -sf /dev/ttyAGS3 
/dev/ttyS3

wvdialconf reports the following
ttyS3<*1>: ATQ0 V1 E1 -- 
failed with 2400 baud, next try: 9600 baud
ttyS3<*1>: ATQ0 V1 E1 -- 
failed with 9600 baud, next try: 115200 baud
ttyS3<*1>: ATQ0 V1 E1 -- 
and failed too at 115200, giving up.


Sorry, no modem was detected!  
Is it in use by another program?
Did you configure it properly with 
setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial



>From the latter wiki I get no useful informations, so I need help. 
Thanks for your time



Con Tiscali Voce 8 Mega telefoni e navighi senza limiti a soli €15 AL MESE PER 1 ANNO. In seguito paghi €29,90 al mese. Attiva entro il giorno 08/01/09! http://abbonati.tiscali.it/promo/voce8mega/
 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.24-22-386 
 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,  
Linux version 2.6.24-22-386 (buildd@vernadsky) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 Mon Nov 24 17:51:53 UTC 2008
 scanModem update of:  2009_01_03
The modem symbolic link is /dev/modem -> ttySL0
 There are no blacklisted modem drivers in /etc/modprobe*  files 
Attached USB devices are:
 ID 04e8:0110 Samsung Electronics Co., Ltd Connect3D Flash Drive
 ID 045e:00a4 Microsoft Corp. 

USB modems not recognized

For candidate card in slot 00:14.2, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 00:14.2	1002:437b	1179:ff31	Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller 

 Modem interrupt assignment and sharing: 
 17:   37395506   IO-APIC-fasteoi   HDA Intel
 --- Bootup diagnostics for card in PCI slot 00:14.2 ----
[   42.493227] ACPI: PCI Interrupt 0000:00:14.2[A] -> GSI 16 (level, low) -> 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 ALSA verion is 1.0.16
The modem cards detected by "aplay -l"  are: 
scheda 0: SB [HDA ATI SB], dispositivo 6: Si3054 Modem [Si3054 Modem]

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

about /proc/asound/cards:
------------------------
 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xc0400000 irq 17

 PCI slot 00:14.2 has a High Definition Audio Card
 The drivers are in the kernel modules tree at:
 /lib/modules/2.6.24.3/misc/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-22-386/ubuntu/sound/alsa-driver/pci/hda/snd-hda-intel.ko
 The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
Modem Function Group: 0x1

 The audio card hosts a softmodem chip:  0x11c11040
If not a Conexant modem, the driver agrsm with its dependent drivers:
snd_hda_intel         293920  8 agrmodem
snd_pcm                75400  6 snd_atiixp_modem,snd_ac97_codec,snd_hda_intel,snd_pcm_oss
snd_page_alloc         10504  3 snd_atiixp_modem,snd_hda_intel,snd_pcm
snd_hwdep               9476  1 snd_hda_intel
snd                    54692  26 snd_rtctimer,agrmodem,snd_atiixp_modem,snd_ac97_codec,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
----------
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:14.2:
	Modem chipset  detected on
NAME="Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller "
CLASS=0403
PCIDEV=1002:437b
SUBSYS=1179:ff31
IRQ=17
HDA=1002:437b
SOFT=1002:437b.HDA
CHIP=0x11c11040
IDENT=11c11040
SLMODEMD_DEVICE=hw:0,6
Driver=agrmodem+agrserial+patched_snd-hda-intel

 For candidate modem in:  00:14.2
   0403 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller 
      Primary device ID:  1002:437b
    Subsystem PCI_id  1179:ff31 
    Softmodem codec or chipset from diagnostics: 0x11c11040
                               from    Archives: 
                        The HDA card softmodem chip is 0x11c11040
      

Support type needed or chipset:	11c11040

----------------end Softmodem section --------------

LSI/AgereSystems produces several modem chipsets produces several chipsets supported by
an agrsm software packages. This includes some modems identifiable by their PCI IDs and 
others requiring ALSA diagnostics to recognize the chip, such as the 11c11040 chip hosted
on the Subsystems of many High Definition Audio cards.

There are support packages at http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
The agrsm-tools package supports driver autoloading, but does not itself contain drivers.
For Debian/Ubuntu related distros, there are a few kernel-version specific packages:
   agrsm-2.6.27-7-generic_2.6.27-7.14_i386.deb
   agrsm-2.6.27-9-generic_2.6.27-9.14_i386.deb
are respectively for systems with Ubuntu 2.6.27-7-generic and 2.6.27-7-generic kernels.
   agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz is for 2.6.24-19-generic kernels.

The currently used agrsm code is from updates at http://linux.zsolttech.com/linmodem/
see an example at: http://linmodems.technion.ac.il/bigarch/archive-eighth/msg03863.html

Read the Modem/DOCs/Agrsm.txt

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

 Completed candidate modem analyses.

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

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

 linux-headers-2.6.24-22-386 resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
	 linux-headers-2.6.24-22-386
Compressed files at: /usr/src/agrsm-HDA-20080721-ALSA15.tar.bz2 /usr/src/alsa-driver-1.0.16.tar.bz2 /usr/src/alsa-driver.tar.bz2 /usr/src/cdfs.tar.bz2 /usr/src/comedi.tar.bz2 /usr/src/em8300.tar.bz2 /usr/src/fuse.tar.bz2 /usr/src/gpib.tar.bz2 /usr/src/ivtv.tar.bz2 /usr/src/kqemu.tar.bz2 /usr/src/linux-source-2.6.24.tar.bz2 /usr/src/linux-wlan-ng.tar.bz2 /usr/src/nozomi-source.tar.bz2 /usr/src/openswan-modules.tar.bz2 /usr/src/ov511.tar.bz2 /usr/src/ppscsi.tar.bz2 /usr/src/realtime-lsm.tar.bz2 /usr/src/rt2400.tar.bz2 /usr/src/rt2500.tar.bz2 /usr/src/rt2570.tar.bz2 /usr/src/rtai-source.tar.bz2 /usr/src/squashfs.tar.bz2 /usr/src/sysprof-module.tar.bz2 /usr/src/unicorn.tar.bz2 /usr/src/unionfs.tar.bz2 /usr/src/zaptel.tar.bz2 /usr/src/zd1211.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 269256 2007-10-04 21:57 /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

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

 Don't worry about the following, it is for 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:   lrwxrwxrwx 1 root root 6 2009-01-06 23:26 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:
/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/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) 
/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
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:
/etc/modules:snd-atiixp-modem
/etc/modules:agrmodem
/etc/modules.old:snd-atiixp-modem
--------- end modem support lines --------


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

  Powered by Linux