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

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

 



On 16 March 2010 23:19, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
> Joshua,
>
> ++++++++++++++++++++++++++++++++++
>
> You've copied over the agr_softmodem startup script, but have you also
>  added it into your /etc/rc.d/rc.local? On my (Slackware) system, with
>  agrsm048, that script creates the /dev/ttySAGR symlink if it doesn't
>  already exist.
>
> ++++++++++++++++++++++++++++++++++
>
> I just ran installation and did not add it to /etc/rc.d/rc.local since
> I was running Slax remix v05.

That's fair enough.

If you manually create a /dev/ttySAGR symlink, as you did for
/dev/modem, wvdialconf should find it without trouble.

>  On Slackware 13.0 install, I am
> starting and stopping the service:
>
> root@darkstar:~# /etc/rc.d/rc.agr_softmodem stop
> root@darkstar:~# /etc/rc.d/rc.agr_softmodem start
> Starting Agere Soft Modem
> root@darkstar:~# wvdial
> --> WvDial: Internet dialer version 1.61
> --> 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: ATDT7072000
> --> Waiting for carrier.
> ATDT7072000
> CONNECT 49333 V44
> --> Carrier detected.  Starting PPP immediately.
> --> Starting pppd at Tue Mar 16 06:56:23 2010
> --> Pid of pppd: 8228
> --> Using interface ppp0
> --> pppd: H¹[06][08]èÁ[06][08]
> --> pppd: H¹[06][08]èÁ[06][08]
> --> pppd: H¹[06][08]èÁ[06][08]
> --> pppd: H¹[06][08]èÁ[06][08]
> --> local  IP address 66.201.8.181
> --> pppd: H¹[06][08]èÁ[06][08]
> --> remote IP address 66.201.8.6
> --> pppd: H¹[06][08]èÁ[06][08]
> --> primary   DNS address 66.201.0.203
> --> pppd: H¹[06][08]èÁ[06][08]
> --> secondary DNS address 66.94.120.9
> --> pppd: H¹[06][08]èÁ[06][08]
>
>
> This way I try to avoid kernel panics/oops that occured with Slax Remix v04/05:
>
> http://www.slax.org/forum.php?action=view&parentID=57979
>
> Towards bottom, apparently this happens with agrsm modem code?
>
> I had one in Slackware, but that was all:
>
> I was connected, but then tried to reconnect and I got the following:

I think you may need to unload and reload the modules between
dialouts. I used to have a similar problem a couple of years ago, on
2.6.16 or thereabouts. Though, for me, the oops occurred when the ATZ
was sent.

> --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
> --> man pppd explains pppd error codes in more detail.
> --> Try again and look into /var/log/messages and the wvdial and pppd
> man pages for more information.
> --> Auto Reconnect will be attempted in 5 seconds
> --> 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.
> Segmentation fault
> root@darkstar:~#
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: ------------[ cut here ]------------
>
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: invalid opcode: 0000 [#1] SMP
>
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: last sysfs file: /sys/devices/virtual/net/ppp0/flags
>
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: Process wvdial (pid: 11254, ti=c65e2000 task=f6c96b40
> task.ti=c65e2000)
>
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: Stack:
>
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: Call Trace:
>
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: Code: 03 85 c0 89 45 e8 75 ed 89 f3 8b 75 e4 e9 da fe
> ff ff 90 55 89 e5 0f 1f 44 00 00 8b 10 85 d2 75 0a 8b 50 08 e8 3a fe
> ff ff 5d c3 <0f> 0b eb fe 8d 74 26 00 55 89 e5 0f 1f 44 00 00 e8 a3 56
> ff ff
>
> Message from syslogd@darkstar at Thu Mar  4 06:34:24 2010 ...
> darkstar kernel: EIP: [<c1049698>] add_timer+0x18/0x20 SS:ESP 0068:c65e3d54
>
> ==> codecType = 0x34
> ==> codecType = 0x34
> ==> codecType = 0x34
> ==> codecType = 0x34
> ------------[ cut here ]------------
> kernel BUG at kernel/timer.c:789!
> invalid opcode: 0000 [#1] SMP
> last sysfs file: /sys/devices/virtual/net/ppp0/flags
> Modules linked in: ppp_deflate bsd_comp ppp_async crc_ccitt
> ppp_generic slhc agrserial agrmodem(P) snd_seq_dummy snd_seq_oss
> snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss
> ipv6 pcmcia pcmcia_core agpgart lp ppdev parport_pc parport fuse
> snd_hda_codec_realtek acer_wmi rfkill led_class fan rtc_cmos
> snd_hda_intel rtc_core rtc_lib wmi snd_hda_codec snd_hwdep snd_pcm
> thermal processor thermal_sys snd_timer snd soundcore snd_page_alloc
> button evdev k8temp hwmon forcedeth sg [last unloaded: pcmcia_core]
>
> Pid: 11254, comm: wvdial Tainted: P           2.6.33-smp #2 WMCP61M/EL1200-01e
> EIP: 0060:[<c1049698>] EFLAGS: 00210286 CPU: 0
> EIP is at add_timer+0x18/0x20
> EAX: f8adc00c EBX: f80ad04c ECX: 00000000 EDX: f80acdcc
> ESI: f80ad04c EDI: fffffff4 EBP: c65e3d54 ESP: c65e3d54
>  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> Process wvdial (pid: 11254, ti=c65e2000 task=f6c96b40 task.ti=c65e2000)
> Stack:
>  c65e3d5c f89be853 c65e3d6c f8a8e565 f8a8e520 f80ad04c c65e3d8c f8a8e5ee
> <0> 000003e8 00000000 00000000 00000000 12345678 f80ad04c c65e3d94 f89bebad
> <0> c65e3d9c f89bebc2 c65e3db4 f80abfe8 c10a5d0b 00000000 e19d69e0 f80ad04c
> Call Trace:
>  [<f89be853>] ? lt_add_timer+0x33/0x40 [agrmodem]
>  [<f8a8e565>] ? VMODEM_Start_Timer+0x28/0x33 [agrmodem]
>  [<f8a8e520>] ? timertick_function+0x0/0x1d [agrmodem]
>  [<f8a8e5ee>] ? vxdPortOpen+0x3b/0x42 [agrmodem]
>  [<f89bebad>] ? wrap_vxdPortOpen+0xd/0x10 [agrmodem]
>  [<f89bebc2>] ? modemPortOpen+0x12/0x20 [agrmodem]
>  [<f80abfe8>] ? serial8250_startup+0x208/0x370 [agrserial]
>  [<c10a5d0b>] ? __get_free_pages+0x2b/0x30
>  [<c14527da>] ? uart_startup+0x4a/0x130
>  [<c14529b9>] ? uart_open+0xf9/0x390
>  [<c143703c>] ? check_tty_count+0x1c/0xb0
>  [<c1889ee5>] ? _lock_kernel+0x35/0x93
>  [<c10e7def>] ? mntput_no_expire+0x1f/0xd0
>  [<c1438c11>] ? tty_open+0x1d1/0x530
>  [<c10d42bc>] ? chrdev_open+0xec/0x1d0
>  [<c10e7def>] ? mntput_no_expire+0x1f/0xd0
>  [<c10cf296>] ? __dentry_open+0xe6/0x290
>  [<c10d94cf>] ? generic_permission+0x1f/0xa0
>  [<c10cf529>] ? nameidata_to_filp+0x59/0x70
>  [<c10d41d0>] ? chrdev_open+0x0/0x1d0
>  [<c10dd07f>] ? do_filp_open+0x69f/0x980
>  [<c10d9e2a>] ? getname+0x2a/0xb0
>  [<c10e649c>] ? alloc_fd+0x6c/0xf0
>  [<c10cf034>] ? do_sys_open+0x54/0x120
>  [<c10d26fd>] ? fput+0x1d/0x30
>  [<c10cf16e>] ? sys_open+0x2e/0x40
>  [<c1889fc4>] ? syscall_call+0x7/0xb
> Code: 03 85 c0 89 45 e8 75 ed 89 f3 8b 75 e4 e9 da fe ff ff 90 55 89
> e5 0f 1f 44 00 00 8b 10 85 d2 75 0a 8b 50 08 e8 3a fe ff ff 5d c3 <0f>
> 0b eb fe 8d 74 26 00 55 89 e5 0f 1f 44 00 00 e8 a3 56 ff ff
> EIP: [<c1049698>] add_timer+0x18/0x20 SS:ESP 0068:c65e3d54
> ---[ end trace 25277d0ce6176596 ]---
>
> Don't know if it is actually agrsm modem code's fault?

This one definitely is, but with Slax it's harder to say.

The Slackware kernel has debug information in it, so we can see from
the trace that the oops occurred when the agrmodem module tried to set
up a timer (the last call was lt_add_timer()). This unfortunately
happens in the agrmodemlib.o_shipped, so there's nothing we can do
about it.

On the other hand, the Slax kernels don't have any debug information,
so it's difficult to read what's going on. In remix-v5 it appears to
oops while writing to a file in a region of mmap()ed memory. There is
no indication from the trace what code was making that call, but since
the last dmesg line was about a modem init, it may be the fault of the
agrmodem code. With remix-v4 it's trying to write to a file in
mmap()ed memory, and with this one the trace mentions the aufs module,
so the oops may have been caused by that.

>
> Regards,
>
> Antonio
>
> On 3/16/10, Joshua Gordon Crawford <jgcrawford@xxxxxxxxx> wrote:
>> On 16 March 2010 13:34, Antonio Olivares <olivares14031@xxxxxxxxx> wrote:
>>> @Robin & Joshua,
>>>
>>> I have an 11c1:0630 modem, i'll attach part of scanModem here after
>>> I'll post this.  I am running Slax remix off live cd(slax remix v05 by
>>> fathom) check slax forum if interested.
>>>
>>> root@slax:~# tar -zxvf agrsm06pci-2.1.80~20100106.tar.gz
>>> agrsm06pci-2.1.80~20100106/
>>> agrsm06pci-2.1.80~20100106/agrmodemlib.o_shipped
>>> agrsm06pci-2.1.80~20100106/agr_auxinst
>>> agrsm06pci-2.1.80~20100106/dkms.conf
>>> agrsm06pci-2.1.80~20100106/agrmodem.h
>>> agrsm06pci-2.1.80~20100106/agrinst
>>> agrsm06pci-2.1.80~20100106/postinst
>>> agrsm06pci-2.1.80~20100106/serial26.c
>>> agrsm06pci-2.1.80~20100106/agrsm-test
>>> agrsm06pci-2.1.80~20100106/config.h
>>> agrsm06pci-2.1.80~20100106/agruninst
>>> agrsm06pci-2.1.80~20100106/1stReadme.txt
>>> agrsm06pci-2.1.80~20100106/agrsm.conf
>>> agrsm06pci-2.1.80~20100106/agr_softmodem
>>> agrsm06pci-2.1.80~20100106/LICENSE
>>> agrsm06pci-2.1.80~20100106/Module.markers
>>> agrsm06pci-2.1.80~20100106/agrsoftmodem.c
>>> agrsm06pci-2.1.80~20100106/8250.h
>>> agrsm06pci-2.1.80~20100106/hda_codec.h
>>> agrsm06pci-2.1.80~20100106/linuxif.h
>>> agrsm06pci-2.1.80~20100106/Kbuild
>>> agrsm06pci-2.1.80~20100106/Makefile
>>> agrsm06pci-2.1.80~20100106/AgereMdmDaemon
>>> agrsm06pci-2.1.80~20100106/hda.c
>>> agrsm06pci-2.1.80~20100106/modules.order
>>> root@slax:~# cd agrsm06pci-2.1.80~20100106
>>> root@slax:~/agrsm06pci-2.1.80~20100106# ls
>>> 1stReadme.txt    Module.markers         agrsm-test*     hda.c
>>> 8250.h           agr_auxinst*           agrsm.conf      hda_codec.h
>>> AgereMdmDaemon*  agr_softmodem*         agrsoftmodem.c  linuxif.h
>>> Kbuild           agrinst*               agruninst*      modules.order
>>> LICENSE          agrmodem.h             config.h        postinst*
>>> Makefile         agrmodemlib.o_shipped  dkms.conf       serial26.c
>>> root@slax:~/agrsm06pci-2.1.80~20100106# make clean
>>> make -C /lib/modules/2.6.33-zen1/build M=/root/agrsm06pci-2.1.80~20100106
>>> clean
>>> make[1]: Entering directory `/usr/src/linux-2.6.33'
>>>  CLEAN   /root/agrsm06pci-2.1.80~20100106/modules.order
>>> make[1]: Leaving directory `/usr/src/linux-2.6.33'
>>> root@slax:~/agrsm06pci-2.1.80~20100106# make all
>>> make: *** No rule to make target `all'.  Stop.
>>> root@slax:~/agrsm06pci-2.1.80~20100106# make
>>> make -C /lib/modules/2.6.33-zen1/build
>>> M=/root/agrsm06pci-2.1.80~20100106 modules
>>> make[1]: Entering directory `/usr/src/linux-2.6.33'
>>>
>>>  WARNING: Symbol version dump /usr/src/linux-2.6.33/Module.symvers
>>>           is missing; modules will have no dependencies and modversions.
>>>
>>>  CC [M]  /root/agrsm06pci-2.1.80~20100106/agrsoftmodem.o
>>> /root/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
>>> 'x_linux_dbg_print_crit':
>>> /root/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:349: warning: the
>>> frame size of 1536 bytes is larger than 1024 bytes
>>> /root/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
>>> 'x_linux_dbg_print':
>>> /root/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:337: warning: the
>>> frame size of 1536 bytes is larger than 1024 bytes
>>>  SHIPPED /root/agrsm06pci-2.1.80~20100106/agrmodemlib.o
>>>  CC [M]  /root/agrsm06pci-2.1.80~20100106/hda.o
>>>  CC [M]  /root/agrsm06pci-2.1.80~20100106/serial26.o
>>>  LD [M]  /root/agrsm06pci-2.1.80~20100106/agrmodem.o
>>>  LD [M]  /root/agrsm06pci-2.1.80~20100106/agrserial.o
>>>  Building modules, stage 2.
>>>  MODPOST 2 modules
>>>  CC      /root/agrsm06pci-2.1.80~20100106/agrmodem.mod.o
>>>  LD [M]  /root/agrsm06pci-2.1.80~20100106/agrmodem.ko
>>>  CC      /root/agrsm06pci-2.1.80~20100106/agrserial.mod.o
>>>  LD [M]  /root/agrsm06pci-2.1.80~20100106/agrserial.ko
>>> make[1]: Leaving directory `/usr/src/linux-2.6.33'
>>> root@slax:~/agrsm06pci-2.1.80~20100106# make install
>>> make: *** No rule to make target `install'.  Stop.
>>> root@slax:~/agrsm06pci-2.1.80~20100106# ./agrinst
>>> Installing Agere Softmodem driver version 2.1.80-Red Flag NE 5.0
>>> copying agrmodem.ko and agrserial.ko to
>>> /lib/modules/2.6.33-zen1/kernel/drivers/char
>>> Copying installation components to /usr/lib/AgereSoftModem
>>> Usage of Agere Softmodem driver is subject to acceptance of EULA as
>>> stated in /usr/lib/AgereSoftModem/LICENSE
>>>
>>> Agere Systems Soft Modem End User SOFTWARE LICENSE AGREEMENT
>>>
>>>
>>> YOU SHOULD READ THE TERMS AND CONDITIONS OF THIS AGREEMENT BEFORE YOU
>>> DOWNLOAD AND USE THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE.  ONCE
>>> YOU HAVE READ THIS LICENSE AGREEMENT AND AGREE TO ITS TERMS, YOU MAY
>>> DOWNLOAD AND USE THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE.
>>> DOWNLOADING OR USING THE AGERE SYSTEMS SOFT MODEM LICENSED SOFTWARE
>>> SHOWS YOUR ACCEPTANCE OF THE TERMS OF THIS LICENSE AGREEMENT.
>>>
>>> The terms and conditions of this Agreement will apply to the Agere
>>> Systems Soft Modem Software (hereafter "Software") supplied under this
>>> Agreement and any derivatives obtained therefrom, including any copy.
>>> The term Software includes programs and related documentation supplied
>>> herewith.
>>>
>>> The following file is made available under the standard Linux license,
>>> a copy of which may be found at <http://www.linux.org/info/gnu.html>.
>>> serial26.c
>>>
>>> These additional files are not derived from any Linux open source
>>> content, and are subject to the following restrictions.
>>> agrsoftmodem.c
>>> agrmodem.h
>>> linuxif.h
>>> agrmodemlib.o
>>> Makefile
>>> agrinst
>>> agruninst
>>> agr_auxinst
>>> agr_softmodem
>>> README
>>>
>>> 1.0     TITLE AND LICENSE GRANT
>>>
>>>        1.1     The Software is copyrighted and/or contains
>>> proprietary information protected by law.  All Software and all copies
>>> thereof are and will remain the sole property of Agere Systems or its
>>> suppliers.  Agere Systems hereby grants you a non-exclusive right to
>>> use the Software, in whatever form recorded, which is furnished to you
>>> under or in contemplation of this Agreement, in an Agere Systems Soft
>>> Modem.  Any other use of the Software or removal of the Software from
>>> a country in which use is licensed shall automatically terminate this
>>> license.
>>>
>>>        1.2     You agree to use your best efforts to see that any
>>> user of the Software licensed hereunder complies with the terms and
>>> conditions of this Agreement.
>>>
>>>
>>> 2.0     SOFTWARE USE
>>>
>>>        2.1     You are permitted to make copies of the Software
>>> provided that any such copy shall contain the same copyright notice
>>> and proprietary marking included on the original Software.
>>>
>>>        2.2     You agree not to merge or combine any portion of the
>>> Software with any other software, other than the Linux operating
>>> system, unless expressly permitted by the laws of the jurisdiction
>>> where you are located.  Any portion of the Software merged or combined
>>> with the other software will continue to be the subject of the terms
>>> and conditions of this Agreement and you agree to reproduce on the
>>> merged or combined portion of the Software the copyright and other
>>> proprietary rights notices included in the original Software.
>>>
>>> 2.3     Redistribution and Usage
>>>  Agere permits use and limited redistribution of this Licensed
>>> Software in source and binary forms, with or without modification,
>>> subject to the following terms and conditions, in addition to the
>>> terms mentioned in this agreement.
>>> 2.3.1   Agere Systems reserves the right not to allow a third party to
>>> reuse or redistribute the software, at its sole discretion.
>>> 2.3.2   User hereby agrees not to remove or alter any copyright,
>>> trademark, credits and other proprietary notices contained within or
>>> associated with the Licensed Software, and shall include all such
>>> unaltered copyright, trademark, credits and other proprietary notices
>>> on or in every copy of the Software.
>>> 2.3.3   Notwithstanding any other provisions in this Agreement to the
>>> contrary, any modifications or alterations made to the Licensed
>>> Software shall cause any warranties and intellectual property
>>> indemnifications to become null and void and of no further effect.
>>>
>>> 3.0     DISCLAIMER OF WARRANTY
>>>
>>>        3.1     You understand and acknowledge that the Software may
>>> contain errors, bugs or other defects.  The Software is provided on
>>> AS-IS basis, without warranty of any kind.
>>>
>>>        3.2     Agere Systems has used reasonable efforts to minimize
>>> defects or errors in the Software.  HOWEVER, YOU ASSUME THE RISK OF
>>> ANY AND ALL DAMAGE OR LOSS FROM USE OR INABILITY TO USE THE SOFTWARE.
>>> Specifically, but not in limitation of the foregoing disclaimers,
>>> Agere Systems does not warrant that the functions of the Software will
>>> meet your requirements or that the Software operation will be
>>> error-free or uninterrupted.
>>>
>>>        3.3     Agere Systems bears no responsibility for supplying
>>> assistance for fixing or for communicating known errors to you
>>> pertaining to the Software supplied hereunder.
>>>
>>>        3.4     YOU UNDERSTAND THAT AGERE SYSTEMS, ITS AFFILIATES,
>>> CONTRACTORS, SUPPLIERS, AND AGENTS MAKE NO WARRANTIES, EXPRESS OR
>>> IMPLIED, AND SPECIFICALLY DISCLAIM ANY WARRANTY OF MERCHANTABILITY OR
>>> FITNESS FOR A PARTICULAR PURPOSE.
>>>
>>> 4.0     EXCLUSIVE REMEDIES AND LIMITATION OF LIABILITIES
>>>
>>>        4.1     Regardless of any other provisions of this Agreement,
>>> neither Agere Systems nor its affiliates, contractors, suppliers, or
>>> agents shall be liable for any indirect, incidental, or consequential
>>> damages (including lost profits) sustained or incurred in connection
>>> with the use, operation, or inability to use the Software or for
>>> damages due to causes beyond the reasonable control of Agere Systems,
>>> its affiliates, contractors, suppliers, and agents attributable to any
>>> service, products, or action of any other person.
>>>
>>>        4.2     This Agreement shall be construed in accordance with
>>> and governed by the laws of the State of New York.
>>>
>>> YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT AND UNDERSTAND IT,
>>> AND THAT BY DOWNLOADING OR USING THE SOFTWARE, YOU AGREE TO BE BOUND
>>> BY ITS TERMS AND CONDITIONS.  YOU FURTHER AGREE THAT THIS AGREEMENT IS
>>> THE COMPLETE AND EXCLUSIVE STATEMENT OF THE RIGHTS AND LIABILITIES OF
>>> THE PARTIES.  THIS AGREEMENT SUPERCEDES ALL PRIOR ORAL AGREEMENTS,
>>> PROPOSALS OR UNDERSTANDINGS, AND ANY OTHER COMMUNICATIONS BETWEEN US
>>> RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT.
>>>
>>> cp: cannot stat `./README': No such file or directory
>>> Starting Agere Soft Modem
>>> root@slax:~/agrsm06pci-2.1.80~20100106# ls
>>> 1stReadme.txt    agrinst*               agrserial.mod.o  hda.o
>>> 8250.h           agrmodem.h             agrserial.o      hda_codec.h
>>> AgereMdmDaemon*  agrmodem.ko            agrsm-test*      linuxif.h
>>> Kbuild           agrmodem.mod.c         agrsm.conf       modules.order
>>> LICENSE          agrmodem.mod.o         agrsoftmodem.c   postinst*
>>> Makefile         agrmodem.o             agrsoftmodem.o   serial26.c
>>> Module.markers   agrmodemlib.o          agruninst*       serial26.o
>>> Module.symvers   agrmodemlib.o_shipped  config.h
>>> agr_auxinst*     agrserial.ko           dkms.conf
>>> agr_softmodem*   agrserial.mod.c        hda.c
>>> root@slax:~/agrsm06pci-2.1.80~20100106# cp agr_softmodem
>>> /etc/rc.d/rc.agr_softmodem
>>> root@slax:~/agrsm06pci-2.1.80~20100106# lsmod | grep 'agr.*'
>>> agrserial               7802  0
>>> agrmodem             1319065  1
>>> snd                    28748  12
>>> agrmodem,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
>>> root@slax:~/agrsm06pci-2.1.80~20100106# wvdialconf /etc/wvdial.conf
>>> Editing `/etc/wvdial.conf'.
>>>
>>> Scanning your serial ports for a modem.
>>>
>>> Modem Port Scan<*1>: S0   S1   S2   S3
>>>
>>>
>>> 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://alumnit.ca/wiki/?WvDial
>>> root@slax:~/agrsm06pci-2.1.80~20100106# ls /dev/modem
>>> /dev/modem@
>>> root@slax:~/agrsm06pci-2.1.80~20100106# ls /dev/modem -l
>>> lrwxrwxrwx 1 root root 12 Mar 15 21:21 /dev/modem -> /dev/ttyAGS3
>>>
>>>
>>> wvdialconf did not detect the modem, but I can still connect :)
>>
>> Wvdialconf only checks /dev/ttyS*. It doesn't check /dev/modem or
>> /dev/ttyAGS3. I bet if you had a /dev/ttySAGR symlink then wvdialconf
>> would be happy. I can tell you don't have that link already as
>> wvdialconf would have tried it.
>>
>> You've copied over the agr_softmodem startup script, but have you also
>> added it into your /etc/rc.d/rc.local? On my (Slackware) system, with
>> agrsm048, that script creates the /dev/ttySAGR symlink if it doesn't
>> already exist.
>>
>>> Here, i'll attach run of scanModem and ModemData.txt
>>>
>>> root@slax:~# gunzip scanModem.gz
>>> root@slax:~# chmod +x scanModem
>>> root@slax:~# ./scanModem
>>> UPDATE=2010_02_25
>>>  Continuing as this update is only 3 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 03:00.0, writing to scanout.03:00.0
>>> Analysing card in PCI bus 00:05.0, writing to scanout.00:05.0
>>> Using scanout.03:00.0 data, and writing guidance to ModemData.txt
>>> Using scanout.00:05.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:05.0
>>> scanout.03:00.0  tmp
>>>    and in the DOCs subfolder:
>>>  Agrsm.txt      DriverCompiling.txt  InfoGeneral.txt  LSI_Agere.txt
>>> Rational.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
>>> ===============================================================================
>>>
>>>  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.33-zen1
>>>  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,
>>> ===============================================================================
>>>
>>> ===============================================================================
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ===============================================================================
>>> ,  ALSA_version=1.0.21
>>> Linux version 2.6.33-zen1 (root@slax) (gcc version 4.4.3 (GCC) ) #2
>>> ZEN SMP PREEMPT Mon Mar 8 22:42:13 UTC 2010
>>>  scanModem update of:  2010_02_25
>>> The modem symbolic link is /dev/modem -> /dev/ttyAGS3
>>> /etc/lsb-release not found
>>>
>>>
>>> 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.conf:blacklist snd-atiixp-modem
>>> /etc/modprobe.d/blacklist.conf:blacklist snd-via82xx-modem
>>> /etc/modprobe.d/blacklist.conf:blacklist snd-intel8x0m
>>>
>>>
>>>  Potentially useful modem drivers now loaded are:
>>>       snd_hda_intel     agrmodem agrserial
>>>
>>> Attached USB devices are:
>>>  ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
>>> 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
>>>
>>> Candidate PCI devices with modem chips are:
>>> 03:00.0 Communication controller: Agere Systems Device 0630 (rev 01)
>>> 00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev
>>> a2)
>>> High Definition Audio cards can host modem chips.
>>>
>>> For candidate card in slot 03:00.0, firmware information and bootup
>>> diagnostics are:
>>>  PCI slot       PCI ID          SubsystemID     Name
>>>  ----------     ---------       ---------       --------------
>>>  03:00.0        11c1:0630       11c1:0630       Communication
>>> controller: Agere Systems Device 0630
>>>
>>>  Modem interrupt assignment and sharing:
>>>  16:      98633   IO-APIC-fasteoi   LSI Mdm
>>>  --- Bootup diagnostics for card in PCI slot 03:00.0 ----
>>> pci 0000:03:00.0: reg 10: [mem 0xfdcff000-0xfdcfffff 64bit]
>>> pci 0000:03:00.0: PME# supported from D3hot D3cold
>>> pci 0000:03:00.0: PME# disabled
>>> pci 0000:03:00.0: PCI INT A -> Link[APC6] -> GSI 16 (level, low) -> IRQ 16
>>>
>>>  The PCI slot 03:00.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:05.0, firmware information and bootup
>>> diagnostics are:
>>>  PCI slot       PCI ID          SubsystemID     Name
>>>  ----------     ---------       ---------       --------------
>>>  00:05.0        10de:03f0       1025:0153       Audio device: nVidia
>>> Corporation MCP61 High Definition Audio
>>>
>>>  Modem interrupt assignment and sharing:
>>>  27:       1328   PCI-MSI-edge      hda_intel
>>>  --- Bootup diagnostics for card in PCI slot 00:05.0 ----
>>> pci 0000:00:05.0: reg 10: [mem 0xfe024000-0xfe027fff]
>>> pci 0000:00:05.0: PME# supported from D3hot D3cold
>>> pci 0000:00:05.0: PME# disabled
>>> HDA Intel 0000:00:05.0: PCI INT B -> Link[AAZA] -> GSI 22 (level, low) ->
>>> IRQ 22
>>> HDA Intel 0000:00:05.0: irq 27 for MSI/MSI-X
>>> HDA Intel 0000:00:05.0: setting latency timer to 64
>>>
>>>  The PCI slot 00:05.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.
>>>
>>>
>>> === Finished firmware and bootup diagnostics, next deducing cogent
>>> software. ===
>>>
>>> Predictive  diagnostics for card in bus 03:00.0:
>>>        Modem chipset  detected on
>>> NAME="Communication controller: Agere Systems Device 0630 "
>>> CLASS=0780
>>> PCIDEV=11c1:0630
>>> SUBSYS=11c1:0630
>>> IRQ=16
>>> HDA2=00:05.0
>>> IDENT=agrsm
>>>
>>>  For candidate modem in:  03:00.0
>>>   0780 Communication controller: Agere Systems Device 0630
>>>      Primary device ID:  11c1:0630
>>>  Support type needed or chipset:        agrsm
>>>
>>>
>>>
>>> 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_20100108_i386.deb or
>>> agrsm048pci-2.1.60_20100108.tar.gz
>>> 11c1:0620                       2.6.31
>>> agrsm06pci-2.1.80_20100106_i386.deb or
>>> agrsm06pci-2.1.80~20100106.tar.gz !!
>>> 11c11040 (on HDA audio cards)   2.6.31
>>
>> Marv needs to update this table since you have agrsm06 working on 2.6.33.
>>
>> I'm also currently connected on 2.6.33. More about that in a separate
>> email shortly.
>>
>>> agrsm-11c11040_20091225_i386.deb or
>>> agrsm-11c11040-2.1.80~20091225.tar.bz2  !!
>>>   All available at:
>>> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
>>> Additionally there are;
>>> automation & testing                    agrsm-tools_0.0.1_all.deb or
>>> agrsm-tools-0.0.1-2.noarch.rpm
>>> General background                      agrsm_howto.txt
>>> ------------------------------------------------------------------------------------------------
>>> * KV == latest kernel release with a reported success
>>> !! Latest update with major credit to  Nikolay Zhuravlev
>>>   But see conflict issue:
>>> http://linmodems.technion.ac.il/bigarch/archive-nineth/msg02753.html
>>> Report from  Bjorn Wielens:
>>> Please note- trying to load the modules on a OpenSuSE 11.2 system gives
>>>  an error about the module_version symbol. Using:
>>> # modprobe --force agrmodem
>>> # modprobe --force agrserial
>>> is necessary to load the drivers, and does not appear to cause ill
>>> effects.
>>>
>>>
>>> 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 00:05.0:
>>>        Modem chipset not detected on
>>> NAME="Audio device: nVidia Corporation MCP61 High Definition Audio "
>>> CLASS=0403
>>> PCIDEV=10de:03f0
>>> SUBSYS=1025:0153
>>> IRQ=27
>>>
>>>  For candidate modem in:  00:05.0
>>>   0403 Audio device: nVidia Corporation MCP61 High Definition Audio
>>>      Primary device ID:  10de:03f0
>>>  Support type needed or chipset:
>>>
>>>
>>>  Completed candidate modem analyses.
>>>
>>>  The base of the UDEV device file system is: /dev/.udev
>>>
>>>  Versions adequately match for the compiler installed: 4.4.3
>>>             and the compiler used in kernel assembly: 4.4.3
>>>
>>>  linux-headers-2.6.33-zen1 resources needed for compiling are not
>>> manifestly ready!
>>>
>>>  If compiling is necessary packages must be installed, providing:
>>>         kernel-source-2.6.33-zen1
>>>
>>>
>>> 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 266728 Mar  4 17:56 /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
>>>
>>> For guidance on FAX usage, get from
>>> http://linmodems.technion.ac.il/packages/  get faxing.tar.gz
>>> It has samples for a modem using port /dev/ttySL0, which must be
>>> changed to match your modem's port.
>>>
>>> Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 ppp0
>>> 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 Mar 15
>>> 21:21 /dev/modem -> /dev/ttyAGS3
>>> slmodemd created symbolic link /dev/ttySL0:
>>>     Within /etc/udev/ files:
>>>
>>>     Within /etc/modprobe.conf files:
>>> /etc/modprobe.d/blacklist.conf:# ALSA modules to support sound modems.
>>>  These should be loaded manually
>>> /etc/modprobe.d/blacklist.conf:blacklist snd-atiixp-modem
>>> /etc/modprobe.d/blacklist.conf:blacklist snd-via82xx-modem
>>>     Within any ancient /etc/devfs files:
>>>
>>>     Within ancient kernel 2.4.n /etc/module.conf files:
>>>
>>> --------- end modem support lines --------
>>>
>>> root@slax:~#
>>>
>>> I can connect with wvdial or with kppp if it matters.
>>> Only difference is this is an 11c1:0630 and yours(Robin) is 11c1:048*
>>> where * can be a "c" or an "f"
>>>
>>> Regards,
>>>
>>> Antonio
>>>
>>> On 3/15/10, Joshua Gordon Crawford <jgcrawford@xxxxxxxxx> wrote:
>>>> On 16 March 2010 05:58, Robin <modem@xxxxxxxxxx> wrote:
>>>>> Hi Antonio &,Joshua,
>>>>>
>>>>> Antonio, I had tried your suggestion before I mailed, it didn't help.
>>>>> wvdialconf does not see /dev/modem as you described, but it did see
>>>>> /dev/ttySAGR which is a symbolic link to /dev/ttyAGR3 (thus the same as
>>>>> /dev/modem and having the same effect as can be seen by my wvdialconf
>>>>> output).
>>>>>
>>>>> As a last resort I had another modem installed, a Conextant HSF model.
>>>>> (The
>>>>> PC is in another country so i couldn't do it myself)
>>>>> To my surprise i got it working in 5 minutes!! (instead of the 5 days i
>>>>> spent working on the Agere modem :( )
>>>>
>>>> Conexant (linuxant) are well supported (by Jonathon on this list and
>>>> linuxant list), but for full functionality you have to pay a license
>>>> fee. You're limited to 14.4kbps until you do so.
>>>>
>>>>> I'm starting to think the Agere modem was defective or something, as the
>>>>> driver seemed to work perfectly.
>>>>
>>>> That's always a possibility. I didn't think to ask if you'd tested it
>>>> on a windows PC.
>>>>
>>>>> Thank you guys for the excellent help and the resources on
>>>>> http://linmodems.technion.ac.il
>>>>
>>>> Sorry we couldn't get it to work.
>>>>
>>>>>
>>>>> Regards,
>>>>>  - Robin
>>>>>
>>>>> On 03/15/2010 07:30 PM, Antonio Olivares wrote:
>>>>>>
>>>>>> Robin,
>>>>>>
>>>>>> Try dialing out with /dev/modem as the modem port.  See if you can
>>>>>> connect.  On several attempts of mine with agrsm, intel536 modem I see
>>>>>> wvdialconf find no modem port, but specifying it I can connect try
>>>>>> that and report back.  I believe that this time it will work :)
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Antonio
>>>>>>
>>>>>> On 3/15/10, Robin<modem@xxxxxxxxxx>  wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi Joshua,
>>>>>>>
>>>>>>> Thank you for your suggestions.
>>>>>>>
>>>>>>> Firstly I tried to compile agrsm-20080203.tar.gz with my original
>>>>>>> 2.6.26
>>>>>>> kernel (as is shipped with debian lenny). This compiled properly,
>>>>>>> unfortunately there was no change in behavior when I ran wvdialconf.
>>>>>>> It
>>>>>>> still didn't respond to the ATZ command as i demonstrated in one of my
>>>>>>> previous posts.
>>>>>>>
>>>>>>> Secondly i tried your recommendation for using the 2.6.29 kernel, with
>>>>>>> the 2.6.29 kernel I reinstalled
>>>>>>> agrsm048pci-2.1.60_worked20100108_i386.deb.
>>>>>>> This also had no effect, no response to the ATZ command.
>>>>>>>
>>>>>>> Besides that I finally was able to have the PCI card placed in a
>>>>>>> different slot on the motherboard (as i do not have direct acces to
>>>>>>> the
>>>>>>> PC).
>>>>>>> This had a unexpected result:
>>>>>>> After modprobing them /var/log/messages returns the usual:
>>>>>>>
>>>>>>>     agrmodem: module license 'Proprietary' taints kernel.
>>>>>>>     agrsm 0000:01:00.0: PCI INT A ->  GSI 21 (level, low) ->  IRQ 21
>>>>>>>     agrsm: created 1 infos
>>>>>>>     ttyAGS3 at I/O 0xd800 (irq = 21) is a AgereModem
>>>>>>>     agrserial: Loading module Agere Modem Interface driver version
>>>>>>>     2.1.60.0.Linspire (2005-11-16)
>>>>>>>
>>>>>>> After setting up the symbolic links (/dev/modem and /dev/ttySAGR) I
>>>>>>> run
>>>>>>> wvdialconf again, but this time it stalls:
>>>>>>>
>>>>>>>     # 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
>>>>>>>
>>>>>>> This is where it stalls for about a minute.... and then contiues.
>>>>>>>
>>>>>>>     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 at http://open.nit.ca/wiki/?WvDial
>>>>>>>
>>>>>>>     If you still have problems, send mail
>>>>>>> to<wvdial-list@xxxxxxxxxxxx>.
>>>>>>>
>>>>>>> This stalling happens on both the 2.6.29 and 2.6.26 kernels.
>>>>>>>
>>>>>>> As a last ditch effort to get this modem working I attached the output
>>>>>>> of lspci -vv to this post. Maybe you can spot a conflict, if you can't
>>>>>>> find one i think I'm going to give up on this modem.
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>   - Robin
>>>>>>>
>>>>>>> # lspci -vv
>>>>>>> 00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE
>>>>>>> DRAM
>>>>>>> Controller/Host-Hub Interface (rev 03)
>>>>>>>      Subsystem: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM
>>>>>>> Controller/Host-Hub Interface
>>>>>>>      Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR+ FastB2B- DisINTx-
>>>>>>>      Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast>TAbort-
>>>>>>> <TAbort-<MAbort+>SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
>>>>>>>      Capabilities: [e4] Vendor Specific Information<?>
>>>>>>>      Kernel driver in use: agpgart-intel
>>>>>>>      Kernel modules: intel-agp
>>>>>>>
>>>>>>> 00:02.0 VGA compatible controller: Intel Corporation
>>>>>>> 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
>>>>>>> (prog-if 00 [VGA controller])
>>>>>>>      Subsystem: Intel Corporation Device 5247
>>>>>>>      Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR- FastB2B- DisINTx-
>>>>>>>      Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Interrupt: pin A routed to IRQ 11
>>>>>>>      Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
>>>>>>>      Region 1: Memory at ffa80000 (32-bit, non-prefetchable)
>>>>>>> [size=512K]
>>>>>>>      Capabilities: [d0] Power Management version 1
>>>>>>>          Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
>>>>>>> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>>>>>>>          Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>>>>>>>      Kernel modules: intelfb
>>>>>>>
>>>>>>> 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
>>>>>>> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02) (prog-if 00
>>>>>>> [UHCI])
>>>>>>>      Subsystem: Intel Corporation Device 5247
>>>>>>>      Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR- FastB2B- DisINTx-
>>>>>>>      Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Interrupt: pin A routed to IRQ 16
>>>>>>>      Region 4: I/O ports at e800 [size=32]
>>>>>>>      Kernel driver in use: uhci_hcd
>>>>>>>      Kernel modules: uhci-hcd
>>>>>>>
>>>>>>> 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
>>>>>>> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02) (prog-if 00
>>>>>>> [UHCI])
>>>>>>>      Subsystem: Intel Corporation Device 5247
>>>>>>>      Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR- FastB2B- DisINTx-
>>>>>>>      Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Interrupt: pin B routed to IRQ 19
>>>>>>>      Region 4: I/O ports at e880 [size=32]
>>>>>>>      Kernel driver in use: uhci_hcd
>>>>>>>      Kernel modules: uhci-hcd
>>>>>>>
>>>>>>> 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
>>>>>>> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02) (prog-if 00
>>>>>>> [UHCI])
>>>>>>>      Subsystem: Intel Corporation Device 5247
>>>>>>>      Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR- FastB2B- DisINTx-
>>>>>>>      Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Interrupt: pin C routed to IRQ 18
>>>>>>>      Region 4: I/O ports at ec00 [size=32]
>>>>>>>      Kernel driver in use: uhci_hcd
>>>>>>>      Kernel modules: uhci-hcd
>>>>>>>
>>>>>>> 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M)
>>>>>>> USB2
>>>>>>> EHCI Controller (rev 02) (prog-if 20 [EHCI])
>>>>>>>      Subsystem: Intel Corporation Device 5247
>>>>>>>      Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR+ FastB2B- DisINTx-
>>>>>>>      Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Interrupt: pin D routed to IRQ 23
>>>>>>>      Region 0: Memory at ffa7fc00 (32-bit, non-prefetchable) [size=1K]
>>>>>>>      Capabilities: [50] Power Management version 2
>>>>>>>          Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
>>>>>>> PME(D0+,D1-,D2-,D3hot+,D3cold+)
>>>>>>>          Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>>>>>>>      Capabilities: [58] Debug port: BAR=1 offset=0080
>>>>>>>      Kernel driver in use: ehci_hcd
>>>>>>>      Kernel modules: ehci-hcd
>>>>>>>
>>>>>>> 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
>>>>>>> (prog-if
>>>>>>> 00 [Normal decode])
>>>>>>>      Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR+ FastB2B- DisINTx-
>>>>>>>      Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR+ INTx-
>>>>>>>      Latency: 0
>>>>>>>      Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
>>>>>>>      I/O behind bridge: 0000d000-0000dfff
>>>>>>>      Memory behind bridge: ff800000-ff8fffff
>>>>>>>      Prefetchable memory behind bridge: e6a00000-e6afffff
>>>>>>>      Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort+<SERR-<PERR-
>>>>>>>      BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort->Reset- FastB2B-
>>>>>>>          PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
>>>>>>>      Kernel modules: shpchp
>>>>>>>
>>>>>>> 00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC
>>>>>>> Interface Bridge (rev 02)
>>>>>>>      Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR+ FastB2B- DisINTx-
>>>>>>>      Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Kernel modules: iTCO_wdt, intel-rng
>>>>>>>
>>>>>>> 00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller
>>>>>>> (rev 02) (prog-if 8a [Master SecP PriP])
>>>>>>>      Subsystem: Intel Corporation Device 5247
>>>>>>>      Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR- FastB2B- DisINTx-
>>>>>>>      Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 0
>>>>>>>      Interrupt: pin A routed to IRQ 18
>>>>>>>      Region 0: I/O ports at 01f0 [size=8]
>>>>>>>      Region 1: I/O ports at 03f4 [size=1]
>>>>>>>      Region 2: I/O ports at 0170 [size=8]
>>>>>>>      Region 3: I/O ports at 0374 [size=1]
>>>>>>>      Region 4: I/O ports at ffa0 [size=16]
>>>>>>>      Region 5: Memory at 10000000 (32-bit, non-prefetchable) [size=1K]
>>>>>>>      Kernel driver in use: PIIX_IDE
>>>>>>>      Kernel modules: piix
>>>>>>>
>>>>>>> 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
>>>>>>> SMBus Controller (rev 02)
>>>>>>>      Subsystem: Intel Corporation Device 5247
>>>>>>>      Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR- FastB2B- DisINTx-
>>>>>>>      Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Interrupt: pin B routed to IRQ 17
>>>>>>>      Region 4: I/O ports at e480 [size=32]
>>>>>>>      Kernel driver in use: i801_smbus
>>>>>>>      Kernel modules: i2c-i801
>>>>>>>
>>>>>>> 01:00.0 Communication controller: Agere Systems V.92 56K WinModem (rev
>>>>>>> 02)
>>>>>>>      Subsystem: Agere Systems Device 044c
>>>>>>>      Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR+ FastB2B- DisINTx-
>>>>>>>      Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 32 (63000ns min, 3500ns max)
>>>>>>>      Interrupt: pin A routed to IRQ 21
>>>>>>>      Region 0: Memory at ff8ffc00 (32-bit, non-prefetchable)
>>>>>>> [size=256]
>>>>>>>      Region 1: I/O ports at dc00 [size=8]
>>>>>>>      Region 2: I/O ports at d800 [size=256]
>>>>>>>      Capabilities: [f8] Power Management version 2
>>>>>>>          Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA
>>>>>>> PME(D0-,D1-,D2+,D3hot+,D3cold-)
>>>>>>>          Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>>>>>>>      Kernel driver in use: agrsm
>>>>>>>
>>>>>>> 01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE
>>>>>>> (LOM)
>>>>>>> Ethernet Controller (rev 82)
>>>>>>>      Subsystem: Intel Corporation Device 3011
>>>>>>>      Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
>>>>>>> ParErr-
>>>>>>> Stepping- SERR+ FastB2B- DisINTx-
>>>>>>>      Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort-
>>>>>>> <TAbort-<MAbort->SERR-<PERR- INTx-
>>>>>>>      Latency: 32 (2000ns min, 14000ns max), Cache Line Size: 32 bytes
>>>>>>>      Interrupt: pin A routed to IRQ 20
>>>>>>>      Region 0: Memory at ff8fe000 (32-bit, non-prefetchable) [size=4K]
>>>>>>>      Region 1: I/O ports at d480 [size=64]
>>>>>>>      Capabilities: [dc] Power Management version 2
>>>>>>>          Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
>>>>>>> PME(D0+,D1+,D2+,D3hot+,D3cold+)
>>>>>>>          Status: D0 PME-Enable- DSel=0 DScale=2 PME-
>>>>>>>      Kernel driver in use: e100
>>>>>>>      Kernel modules: e100
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 03/15/2010 01:27 AM, Joshua Gordon Crawford wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On 14 March 2010 00:35, Robin<modem@xxxxxxxxxx>   wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> G'day Robin. Sorry for the late reply. I'm the quasi-maintainer of
>>>>>>>> the
>>>>>>>> agrsm 11c1:048c/f driver.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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 at http://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
>>>>>>>>> (
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> So far, I've only updated the code to work on 2.6.29.*. It does
>>>>>>>> include an update that should work on 2.6.31, but I don't have that
>>>>>>>> kernel to test it.
>>>>>>>>
>>>>>>>> The driver works well on 2.6.29.6. I've currently been connected for
>>>>>>>> over 2 weeks, at 53666 baud.
>>>>>>>>
>>>>>>>> I'll have to wait and see about later versions when the next
>>>>>>>> Slackware release comes out. This machine unfortunately cannot be
>>>>>>>> taken down for testing, only major upgrades.
>>>>>>>>
>>>>>>>> You've mentioned several kernel versions. Which version do you
>>>>>>>> normally
>>>>>>>> use?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2.6.26 won't compile citing an error in a struct definition).
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> The struct uart_info in the kernel changed a bit around that time.
>>>>>>>> Use
>>>>>>>> an older code package for older kernels. The driver has only been
>>>>>>>> updated to follow the kernel changes, there are no functionality
>>>>>>>> updates.
>>>>>>>>
>>>>>>>> This link is to an older version, which I think should work on that
>>>>>>>> kernel. It's source only and not dkms capable, so you'll have to
>>>>>>>> compile and install manually. Always make sure to remove old modules
>>>>>>>> before installing new ones.
>>>>>>>>
>>>>>>>> <http://linmodems.technion.ac.il/packages/ltmodem/sv92/agrsm-20080203.tar.gz>
>>>>>>>>
>>>>>>>> Marv, Jacques: I notice newer 048c/f packages are going in the
>>>>>>>> 11c11040 directory instead of sv92. Why is that?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Also tried various boot parameters: pci=pollirq pci=routeirq
>>>>>>>>> pci=noacpi
>>>>>>>>> and
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> These shouldn't be necessary since an update in 2008.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> disabling the on-board soundcard.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> This is not needed unless there is an IRQ conflict. Run 'lspci -v',
>>>>>>>> to
>>>>>>>> check that. Or send us the output of scanModem so we can check it.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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 ---
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> The 11c1:048c/f is on a stand-alone PCI card and is not part of the
>>>>>>>> sound device, as more recent Agere modems have been. So this driver
>>>>>>>> does not use ALSA, and ALSA doesn't know anything about this modem.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Joshua Crawford ... http://geocities.com/mortarn
>>>>
>>>> http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
>>>> Be rewarded! Join RewardsCentral today!
>>>>
>>>
>>
>>
>> --
>> Joshua Crawford ... http://geocities.com/mortarn
>>
>> http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
>> Be rewarded! Join RewardsCentral today!
>>
>



-- 
Joshua Crawford ... http://geocities.com/mortarn

http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
Be rewarded! Join RewardsCentral today!


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

  Powered by Linux