Re: Agere.SV2P 0620/0621 modem in Walmart Everex TC2502

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

 



Marvin:
I installed Kubuntu (Feisty, 2.6.20-16-generic) with kernel-source in its own 
partition, recompiled and installed agrserial and agrmodem.  /dev/ entries 
were present, but no luck with wvdialconf.  I have yet to try 2.6.18 the 
kernel or the suse-10-2a.tar.gz code.

See my note on uart_ops incompatibility below.  Is that significant?


Hugo:
I disabled sound (VIA-3058 AC97 Audio) in BIOS, booted with "pci=noacpi 
acpi=off" boot parameters, and tried with Gutsy.  /dev/SAGR entry was 
present, but no luck with wvdialconf.

Could you send me an e-mail with attachments with your Gutsy-successful driver 
compilation directory (after compilation) and your ModemData.txt?


Everyone:
I noticed several compiler warnings when compiling the driver modules, two of 
which might be serious:

agrsoftmodem.c: In function ‘agr_pci_find_device’:
agrsoftmodem.c:424: warning: ‘pci_find_device’ is deprecated (declared at 
include/linux/pci.h:477)
Changed name to pci_get_device and no longer got warning.

serial26.c: In function ‘serial8250_get_mctrl’:
serial26.c:1371: warning: unused variable ‘flags’
serial26.c: In function ‘serial8250_config_port’:
serial26.c:2039: warning: unused variable ‘ret’
Commented out these unused variables and no longer got warnings.

serial26.c:2131: warning: initialization from incompatible pointer type
serial26.c:2132: warning: initialization from incompatible pointer type
These come from serial8250_stop_tx and serial8250_start_tx having second 
variables not declared in struct uart_ops of linux/serial_core.h.
****These may be serious errors.****
I replaced the second variables by fixed values (0 for tty_stop and 1 for 
tty_start) which eliminated the warning, but changed the functionality.  The 
agrsm/*.c files have no calls to start_tx and the only calls to stop_tx used 
0 for the second argument so this might be ok.
I wonder if agrmodemlib.o might call these functions?

serial26.c:1922: warning: ‘serial8250_request_rsa_resource’ defined but not 
used.  Should some resource be requested?
Commented out entire function and no longer got warning.

Still no luck with wvdialconf after fixing the above warnings and reinstalling 
and reloading the drivers.

Only remaining warning has to do with .agrsm_core.o.cmd no being present which 
seems to be not a problem.

Craig (USA)

On Monday 24 December 2007 19:39:21 Hugo Leonardo Canalli wrote:
> My modem work under Gutsy (kernel 2.6.22-14-generic ).
> Try disable sound in the BIOS.
> And use the follow commands:
> sudo modprobe agrserial
> sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
> sudo ln -s /dev/ttyAGS3 /dev/modem
> sudo wvdialconf /etc/wvdial.conf
>
> If disable sound in the BIOS work so change modem hardware to other slot
> an try again with sound active int the BIOS.
> Don't forget pci=noacpi (my case) and/or acpi=off to the boot parameter
> (grub - edit /boot/grub/menu.lst).
>
> []'s,
>
> Hugo
>
> On Mon, 2007-12-24 at 10:20 -0500, Marvin Stodolsky wrote:
> > Craig,
> >
> > under Ubuntu  2.6.22-14-generic, for modem
> >
> >  PCI slot	PCI ID		SubsystemID	Name
> >  ----------	    ---------	        ---------	        --------------
> >  00:0a.0	11c1:0620	11c1:0621	Communication controller: Agere Systems
> >
> > All you have done seems OK, and a few others have the same problem.
> > Effectiveness for the agrsm package seems to be broken in the 2.6.22
> > kernel series.
> >
> > Perhaps install a Feisty 2.6.20 kernel package and complementary
> > linux-headers, to compile and test drivers thereunder. The Feisty
> > kernels are competent in the Gutsy "background".
> >
> > If thereis no responsive thereunder, the next step would be to
> > additionally install a 2.6.18 series kernel package + headers.  With
> > it you could additionally try try from
> > http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/  the
> > suse-10-2a.tar.gz  which has newer code from LSI (formerly Agere) in
> > the pre-compiled component, but is only competent upto 2.6.18
> >
> >  Alan Hendrickson is tracking these packages.  If you can get service
> > under 2.6.18 or 20,
> > your System can serve as a test bed for workup to more current kernels.
> >
> > MarvS
> > scanModem maintainer
> >
> >
> >
> > http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/
> >
> > On Dec 24, 2007 3:24 AM, Craig Van Degrift <craig@xxxxxxxxxxxxxxxxxxxxx> 
wrote:
> > > Trying to setup Walmart Everex TC2502 and need dialup.
> > > Using Ubuntu Gutsy with 2.6.22-14-generic
> > > ModemData.txt attached.
> > >
> > > Compiled agrsm-20070804.tar.gz after patching according to
> > > http://linmodems.technion.ac.il/bigarch/archive-seventh/msg02114.html
> > >
> > > Added /etc/udev/rules.d/10-local.rules containing
> > > KERNEL=="ttyAGS3", SYMLINK+="modem"
> > > KERNEL=="ttyAGS3", SYMLINK+="ttySAGS3"
> > >
> > > Appended agrserial to /etc/modules and confirmed agrserial and agrmodem
> > > loaded upon reboot with desired links to modem and ttySAGS3.
> > >
> > > wvdialconf /etc/wvdial.conf failed with "Sorry, no modem was detected!"
> > > message after trying 2400, 9600, and 115200 baud on ttySAGS3<*1>.
> > >
> > > setserial -agv /dev/ttyAGS3 produces
> > > /dev/ttyAGS3, Line 3, UART: 16550A, Port: 0xd000, IRQ: 10
> > >         Baud_base: 115200, close_delay: 50, divisor: 0
> > >         Flags: spd_normal
> > >
> > > sudo lspci -v shows:
> > > Communications controller: Agere Systems Unknown device 0620
> > > Subsystem: Agere Systems Unknown device 0621
> > > Flags: medium devsel, IRQ 18
> > > I/O ports at d000 [size=256]
> > > Capabilities: [f8] Power Management version 3
> > >
> > > Note lspci shows different IRQ than setserial, but if use setserial to
> > > set IRQ to 18, still no success with wvdialconf.
> > >
> > > Tried with boot parameter acpi=off, but same result.
> > >
> > > Suggestions??




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

  Powered by Linux