Re: Agere systems HDA modem

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

 



All,

I got the same results for the 2.6.28.10 kernel.
(without the patches a_18_19.patch and a_19_20.patch)

Also, I noticed that the driver does quite a lot of output
to /var/log/messages, as compared to the "7mdv" tarball:

$ grep printk agrsm-2.1.80-10mdv2009.0-modified/*.c | wc -l
82
$ grep printk agrsm-2.1.80-7mdv2009.0/*.c | wc -l
46

It is better to #ifdef the printk()s and use them only for
the debugging sessions.

If something goes wrong, the /var/log/messages grows to
hundreds of megabytes within minutes.

-- 
Nick Zhuravlev
www.auriga.com

On Sun, Dec 06, 2009 at 11:46:34AM -0400, Bjorn Wielens <Uniacke1@xxxxxxxx> wrote:

> SUCCESS!!!
> I just built the 10-mdv package with this patch applied and it seems to
> do the trick. I'll do some further testing and put together a tarball
> once it's verified as fully functional.
> 
> Bjorn
> 
> 
> Nikolay Zhuravlev wrote:
> > Folks,
> > 
> >  Attached is the patch to the agrsm-2.1.80-10mdv2009.0.tar.gz
> >  to make the 11c11040 work on the kernel 2.6.30-rc6.
> > 
> >  I run vanilla kernels, but it shall be close enough to what
> >  the recent Ubuntu has.
> >  
> >  Please test it and if it works roll out the dkms-*.deb for
> >  the uninitiated.
> > 
> >  The actual fix that did it for me is to serial26.c:
> > <<<
> >     if (!int_hooked)
> >     {
> >         int_hooked++;
> > +       lt_modem_ops.PortOpen();
> >     }
> > 
> > My understanding is that the PortOpen() call was unintentionally
> > removed in "10mdv".  The rest of the changes are the code cleanup. The
> > code that I wasn't sure about I #ifdef'ed with my initials NDZ.
> > Integrator shall just remove the code, if it is confirmed that it is
> > irrelevant old junk.  You can ignore the Makefile.mine if you have the dkms
> > installed and working. I don't have it, so after applying all the
> > patches in the patches/ directory (except for the FC9 patch), I apply
> > my patch and run make -f Makefile.mine:
> > 
> > sudo make -f Makefile.mine
> > sudo make -f Makefile.mine modules_install
> > sudo modprobe -r agrserial
> > sudo modprobe -r agrmodem
> > sudo modprobe agrmodem
> > sudo modprobe agrserial
> > sudo ln -s /dev/ttyAGS3 /dev/modem
> > sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
> > $ sudo wvdialconf /etc/wvdial.conf
> > 
> > Just in case, I include my ModemData.txt and the output of wvdialconf.
> > I don't have a landline, but the modem seems to respond.
> > 
> > Have fun.
> > 
> > 
> 



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

  Powered by Linux