Re: wvdial doesn't detect agrmodem 11c1:048c

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

 



Hi Antonio,

On Monday I will check if i can have the modem swapped with another one if we don't make any progress.
But for now, as you requested:

Regards,
 - Robin

# lsmod | grep 'agr*'

   agrserial               9756  0
   agrmodem             1183332  1 agrserial
   snd_page_alloc          8120  1 snd_pcm
   intel_agp              23064  1
   agpgart                30856  1 intel_agp


# dmesg | grep 'agr*'

   [    0.000000]  0000000000 - 0000400000 page 4k
   [    0.000000]  0000400000 - 000fc00000 page 2M
   [    0.000000]  000fc00000 - 000fe40000 page 4k
   [    0.000000]   #0 [0000000000 - 0000001000]   BIOS data page ==>
   [0000000000 - 0000001000]
   [    0.000000] On node 0 totalpages: 64991
   [    0.000000]   DMA zone: 32 pages used for memmap
   [    0.000000]   DMA zone: 0 pages reserved
   [    0.000000]   DMA zone: 3967 pages, LIFO batch:0
   [    0.000000]   Normal zone: 477 pages used for memmap
   [    0.000000]   Normal zone: 60515 pages, LIFO batch:15
   [    0.000000] PERCPU: Embedded 11 pages at c1202000, static data
   22172 bytes
   [    0.000000] Built 1 zonelists in Zone order, mobility grouping
   on.  Total pages: 64482
   [    0.168939] Trying to unpack rootfs image as initramfs...
   [    0.658567] HugeTLB registered 4 MB page size, pre-allocated 0 pages
   [    8.148840] Linux agpgart interface v0.103
   [    8.240434] agpgart-intel 0000:00:00.0: Intel 830M Chipset
   [    8.240683] agpgart-intel 0000:00:00.0: detected 892K stolen memory
   [    8.243173] agpgart-intel 0000:00:00.0: AGP aperture is 128M @
   0xf0000000
   [   58.093747] agrmodem: module license 'Proprietary' taints kernel.
   [   58.097351] agrsm 0000:01:02.0: PCI INT A -> GSI 18 (level, low)
   -> IRQ 18
   [   58.097401] agrsm: created 1 infos
   [   61.094519] agrserial: Loading module Agere Modem Interface
   driver version 2.1.60.0.Linspire (2005-11-16)
   [  271.793846] agrsm 0000:01:02.0: PCI INT A disabled
   [41479.875356] agrsm 0000:01:02.0: PCI INT A -> GSI 18 (level, low)
   -> IRQ 18
   [41479.875410] agrsm: created 1 infos
   [41483.487688] agrserial: Loading module Agere Modem Interface
   driver version 2.1.60.0.Linspire (2005-11-16)
   [41534.922934] agrsm 0000:01:02.0: PCI INT A disabled
   [41537.866503] agrsm 0000:01:02.0: PCI INT A -> GSI 18 (level, low)
   -> IRQ 18
   [41537.866555] agrsm: created 1 infos
   [41541.231474] agrserial: Loading module Agere Modem Interface
   driver version 2.1.60.0.Linspire (2005-11-16)


On 03/14/2010 04:25 PM, Antonio Olivares wrote:
Robin,

What does output of
# lsmod | grep 'agr*'
show?

and output of
# dmesg | grep 'agr*'

show?

BTW,
the 11c1:048c modem is a difficult one, your mileage may vary.  As for
alsa, I think that it does not use ALSA like 11c1:1040 modem.  But
maybe Bjorn, Nikolay or Marv can explain this much better than I can.

Regards,

Antonio

On 3/14/10, Robin<modem@xxxxxxxxxx>  wrote:
Thank you for your suggestion,

I verified that the /dev/modem symbolic link exists:

     # ls -l /dev/modem
     lrwxrwxrwx 1 root root 12 2010-03-13 08:58 /dev/modem ->  /dev/ttyAGS3

Then I created /etc/wvdial.conf:

     [Dialer Defaults]
     Modem = /dev/modem
     Baud = 4800
     Init1 = ATZ
     Init2 = ATQ V1 E1 S0=0&C1&D2 +FCLASS=0
     ISDN = 0
     Modem Type = Analog Modem
     Phone = 555
     Username = test
     Password = test

And ran wvdial:

     # wvdial
     -->  WvDial: Internet dialer version 1.60
     -->  Initializing modem.
     -->  Sending: ATZ
     -->  Sending: ATQ0
     -->  Re-Sending: ATZ
     -->  Modem not responding.

Unfortunately, as you can see, the modem doesn't even respond to ATZ at
the lowest baud rate.

Regards,
   - Robin

On 03/14/2010 03:00 AM, Antonio Olivares wrote:
Robin&   all,

I need to rectify my statement:

From:

I have noticed that wvdial does not detect the modem ports.
   Workaround this issue by supplying the modem port.  If you have a
   symbolic link
   # ln -s /dev/ttyAGR /dev/modem

To:

I have noticed that *SOMETIMES* wvdial does not detect the modem ports.
   Workaround this issue by supplying the modem port.  If you have a
   symbolic link
   # ln -s /dev/ttyAGR /dev/modem

This has happened to me with the agrsm modems, namely 11c1:0620 and
11c1:0630 respectively, but I can still dialout with wvdial :),

This is what I tried to state below.  I am sorry for any confusion if
I caused any,

Regards,

Antonio

On 3/13/10, Antonio Olivares<olivares14031@xxxxxxxxx>   wrote:

Robin,

I have noticed that wvdial does not detect the modem ports.
Workaround this issue by supplying the modem port.  If you have a
symbolic link
# ln -s /dev/ttyAGR /dev/modem

do a
# ls /dev/modem -l

Setup a wvdial.conf file by looking at samples from Modem/DOCs/wvdial.txt

and use /dev/modem as the port(provided you have the link above)

Try to connect, and then report back.  I can connect with 1cc1:0620
and 11c1:0630 agrsm modems and wvdialconf does not appear to find them
, but I can dialout and connect.

Try that and let us know if this works or not.

Regards,

Antonio

On 3/13/10, Robin<modem@xxxxxxxxxx>   wrote:

Hi,

I'm in the process of installing a WinModem from Agere/Lucent on Debian
Lenny.

According to scanModem the modem's PCI ID is 11c1:048c.
Knowing this I successfully installed the driver from
agrsm048pci-2.1.60_20100106_i386.deb onto my system.
Inserting the created kernel modules (agrmodem&   agrserial) don't give
any errors in /var/log/messages.
After confirming that /dev/ttyAGR3 exists and creating symbolic links to
it (/dev/ttySAGR&   /dev/modem) I try to run wvdialconf to confirm that
everything went correctly.

But unfortunatly wvdialconf returns the following:

      box:/home/me# wvdialconf /etc/wvdial.conf
      Editing `/etc/wvdial.conf'.

      Scanning your serial ports for a modem.

      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
      ttySAGR<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600
baud
      ttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200
baud
      ttySAGR<*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 athttp://open.nit.ca/wiki/?WvDial

      If you still have problems, send mail to<wvdial-list@xxxxxxxxxxxx>.

I tried changing kernels, 2.6.30 and 2.6.32, both have the same
behaviour ( 2.6.26 won't compile citing an error in a struct
definition).
Also tried various boot parameters: pci=pollirq pci=routeirq pci=noacpi
and disabling the on-board soundcard.
And i tried older versions of the driver
(agrsm048pci-2.1.60_20090905_i386.deb) and compiling by hand
(agrsm048pci-2.1.60_20100108.tar.gz)

Seeing as there are no error message I don't know where to look for a
problem, can anyone point me in the right direction?

P.S. I don't quite understand the relationship between the agrsm driver
and ALSA, should my modem be listed in /proc/asound/cards ? Because it
currently reports: --- no soundcards ---





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

  Powered by Linux