Re: 11c1:048c Re: any success with Ubuntu Jaunty and Lucent-Agere winmodems?

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

 



David,

    See Josh's comments below.  Read the Troubleshooting section of
the usages.txt/agrsm-howto.txt.  Also try shutting down all audio
function before testing the modem.

You could try installing a 2.6.27 series linux-image + linux-headers
of the Intrepid release (they do work under Jaunty) and compiling the
drivers under that kernel. For detailed instructions for Ubuntu Jaunty
with 2.6.28 kernels, see
http://linmodems.technion.ac.il/bigarch/archive-nineth/msg01316.html


MarvS

MarvS

On Sat, Jul 18, 2009 at 7:35 PM, Joshua Gordon
Crawford<jgcrawford@xxxxxxxxx> wrote:
> 2009/7/18 Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
>> David,
>>
>> Sadly, that is a common experience with these 11c1:048c modems
>> Josh, have you any suggestions?
>
> I have kernel 2.6.27.7, not 2.6.28.
>
> David's compile looks okay. Compiler warnings are usually nothing to
> worry about. The modules were created and loaded, and a /dev/ttyS*
> symlink was created. I see no reason why wvdial should fail to
> connect.
>
> Maybe it's a hardware issue. Try moving the card to another slot, or
> play with BIOS settings.
> --
> Joshua Crawford ... http://geocities.com/mortarn
>
> http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
> Be rewarded! Join RewardsCentral today!
>







This instruction set is abreviated from one provided by Hugo Canilli. He has thus had success with this AGRSM code requiring modem, under Linuxes: Ubuntu versions 6.10, 7.04, 7.10 and slackware 12.0. 
Marv Stodolsky has edited the text to suit this package. 

Steps 1-3 below are automated by the package agrsm-tools, available at
   http://linmodems.technion.ac.il/packages/ltmodem/11c11040/

Note: the sudo is for usage in Ubuntu related Linux Distros/
For other Linuxes, first acquire Root/Adm powers with:
su - root
which will typically return a leading line with # ,
and Commands can be given without sudo:


1) Load the drivers
	sudo modprobe agrmodem
	sudo modprobe agrserial
which should announce creation of /dev/ttyAGS3

2) It is convient to create symbolic links, which dialer utilities will follow,
to the real port /dev/ttyAGS3 .
	sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
	sudo ln -s /dev/ttyAGS3 /dev/modem
Check with:
	ls -l /dev/ttyAGS3 /dev/ttySAGR /dev/modem
whose output should include:
	/dev/modem   -->  /dev/ttyAGS3 
	/dev/ttySAGR -->  /dev/ttyAGS3

3) The first critical functial test is:
	sudo wvdialconf /etc/wvdial.conf
which searches through potential ports for modem responses.
A success will end with a section like:
--------
ttySAGR<*1>: Modem Identifier: ATI -- Agere SoftModem Version 2.1.40
ttySAGR<*1>: Speed 4800: AT -- OK
ttySAGR<*1>: Speed 9600: AT -- OK
ttySAGR<*1>: Speed 19200: AT -- OK
ttySAGR<*1>: Speed 38400: AT -- OK
ttySAGR<*1>: Speed 57600: AT -- OK
ttySAGR<*1>: Speed 115200: AT -- OK
ttySAGR<*1>: Max speed is 115200; that should be safe.
ttySAGR<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySAGR.
Modem configuration written to /etc/wvdial.conf.
ttySAGR<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
--------
Then you can proceed to try a dialout (see below).

A failure will include lines like:
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3   
Sorry, no modem was detected! 

In this case there are a few Remedies to try.
R1) edit your grub or lilo parameter to the kernel with the option "pci=noacpi"
For example in a Ubuntu system, gedit can be used to modify the file 		/boot/grub/menu.lst 
with command:
	sudo gedit /boot/grub/menu.lst

The middle of menu.lst includes sections correponding to each bootup choice like:

title		Ubuntu 7.10, kernel 2.6.22-14-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-generic
quiet

Make a copy of this section, and edit to:
title		Ubuntu 7.10, kernel 2.6.22-14-generic without acpi
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic ro quiet splash pci=noacpi
initrd		/boot/initrd.img-2.6.22-14-generic
quiet

Save the edit
Restart the computer.
Among the bootup options, make the new choice:
     Ubuntu 7.10, kernel 2.6.22-14-generic without acpi
Test for modem detection, through steps  1,2 and 3
Go to the dialout test if successful.

R2) If not, try to disable the sound in the bootup BIOS.
R2a) Note a success can sometimes be achieved by moving the modem card to other PCI slot. But this option is not available on laptops.
See success report: http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00304.html

Follow prior steps 1,2 and 3 for testing, retaining the bootup acpi=off parameter. 

Dialout procedure
------------------
First edit in your dialout information with:
	sudo gedit /etc/wvdial.conf
In the sample below, the lines beginning with are informative, not essential.
The line order is not important.

[Dialer defaults]
# Lines begining with # are comments.
# wvdial will look for this file at  /etc/wvdial.conf 
#  or  /home/LoginName/.wvdial.rc
Baud = 115200
Modem = /dev/ttySAGR3
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
#  Lack of dialtone acquisition can be due to low line voltage,
#    a common problem in Italy.
#  Try inserting a "dial without waiting": X3
#  Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0
#  In case of connection instabilities, specify a lower frequency:
#  Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2  +MS=34

## Outside the USA, a country setting may be needed
# Init3 = AT+CGI=hexadecimal_country_code

ISDN = 0
Modem Type = Analog Modem
Phone =  Dialout_phone_number
# if going through a switch board, a perhaps necessary pause can produced with a comma:
# Phone = 1,Dialout_phone_number 
Username = LoginName
# if Internet Provider is MSN.net, use under Linux:   MSN/LoginName
Password = YourPassWord

## If CONNECT is achieved but browsing fails, try activating the following line
# Auto DNS = yes
##    To make a logfile wvdial.out
# wvdial 2>&1 | tee wvdial.out
# #  For some Internet providers, the following line is necessary 
# Stupid Mode = yes
##  for other wvdial  options, do "man wvdial" or see the documentation in
##    /usr/share/doc/wvdial/
## End wvdial.conf



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

  Powered by Linux