Re: testing needed for dkms-agrsm-2.1.80-7mdv2009.0

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

 



Forgive my ignorance on this. I have been away for a while and am trying to catch up. Also, I am trying to organize myself in preparation for working on this machine next week. A couple of weeks ago, Marv sent me a file called "agrsm-20090502.tar.gz" to try. A bit later, I got an alternative "agrsm-2.1.80-5mdv2009.0.tar.gz". Now it appears that the file "dkms-agrsm-2.1.80-7mdv2009.0.tar.gz" is the latest to try. I will download this latest as soon as possible. But, I guess I have a some of questions: 1) Should I attempt to use the earlier files that were suggested or simply try only this latest version? 2) If I understood correctly, this latest file is supposed to work with slax Live CD. Would there be problems with my PCLinuxOS2009? 3) As near as I can tell, I have dkms installed, so do I need to run ./setup?

Thanks for all your efforts.

Antonio Olivares wrote:
Marv, Martin and others users that have agrsm modem,

I have created a slax module for use with slax 6.1.1 Linux Live CD out
of the new package.  I don't have a way of testing it at this time
because I left the machine(s) that have this modem at school
(11c1:0630).  It would be of great benefit if users that have this
kind of modem to test it and report back either to this mail or to
slax forum so that I can try to improve the module.

Slax forum thread:

http://www.slax.org/forum.php?action=view&parentID=39934

Link for module there as well.

Regards,

Antonio

On 5/17/09, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
The code with  Nikolay's patches installed has been assembled  in packages
 dkms-agrsm-2.1.80-7mdv2009.0.tar.gz
 dkms-agrsm_2.1.80-7_i386.deb
and are being sent to Jacques for mounting in
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
whereat useful companion packages are the agrsm-tools and agrsm_howto.txt


Prior installation of dkms support is necessary.
Install the deb package in Ubuntu with:
$ sudo dkms*.deb

For other distros
The  dkms-agrsm-2.1.80-7mdv2009.0.tar.gz has a setup file to be
executed with Rood/Adm permission as:
./setup

Zsolt will likely make a comparable RPM installer which will  be
available presently at
 http://linux.zsolttech.com/linmodem/agrsm/

MarvS

---------- Forwarded message ----------
From: Nikolay Zhuravlev <xxor@xxxxxxx>
Date: 2009/5/16
Subject: Re: [PATCH] Re: dkms-agrsm-2.1.80-2mdv2009.0.i586.rpm fails
with kernel >= 2.6.29.X
To: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>
Cc: Linmodems <discuss@xxxxxxxxxxxxx>


Marvin,

 Ok, I see where the problem is. Here is the patch updated for 2.6.28 along
with
some further improvements.  This time it is against the
agrsm-2.1.80-6mdv2009.0.tar.gz sources tarball you sent me on May 14.

 I have installed 2.6.28.10 and built the driver successfully.  The
wvdialconf
runs fine, too.

 I am not sure what 2.6.28.11 is, I couldn't find it on ftp.kernel.org. I
hope
it is close enough to 2.6.28.10.

--
WBR, Nikolay Zhuravlev

Thus spake Marvin Stodolsky (marvin.stodolsky@xxxxxxxxx):

Nikolay,

There is the problem below  under Ubuntu 2.6.28-11-generic , last
paragraph below.

 However the compile is OK with your prior patch applied to
agrsm-2.1.80-6mdv2009.0, resulting in the
agrsm-2.1.80-6mdv2009.0.tar.gz, I sent you earlier.

MarvS

$ patch -p0 < 4mdv_2.6.29.1.patch
patching file agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c
patching file agrsm-2.1.80-4mdv2009.0/HDA.c
patching file agrsm-2.1.80-4mdv2009.0/hda_codec.h
patching file agrsm-2.1.80-4mdv2009.0/Kbuild
patching file agrsm-2.1.80-4mdv2009.0/Makefile

agrsm-2.1.80-4mdv2009.0$ make
make -C /lib/modules/2.6.28-11-generic/build
M=/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.o
/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c: In function
‘x_request_region’:
/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:276: error:
too many arguments to function ‘__request_region’
make[2]: *** [/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.o]
Error 1
make[1]: *** [_module_/usr/src/pkg/agrsm/agrsm-2.1.80-4mdv2009.0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2


On Sat, May 16, 2009 at 8:52 AM, Nikolay Zhuravlev <xxor@xxxxxxx> wrote:
Bjorn/All,

 I played with the source a bit more this morning. This is the patch
against
 the agrsm-2.1.80-4mdv2009.0.tgz sources available at the Zsolt's site.

 It does two things:
 (1) Adds support for the 2.6.27-rc9, 2.6.29.1 (and maybe 2.6.28) kernel
 (2) Changes the Makefile to use the standard 2.6 kbuild procedure
    used for the linux modules [described in
Documentation/kbuild/modules.txt]

 Before applying the patch and running make, please rename the file
agrmodemlib.o to agrmodemlib.o_shipped . This will help the kbuild
 to recognize this is a pre-build binary coming from elsewhere,
 so that 'make clean' will not destroy it.

 After the patch, build & install like this:

$ sudo modprobe -r agrserial
$ sudo modprobe -r agrmodem
$ make
$ sudo make modules_install
$ sudo modprobe agrmodem
$ sudo modprobe agrserial
$ sudo ln -s /dev/ttyAGS3 /dev/ttySAGR
$ sudo wvdialconf /etc/wvdial.conf

wvdialconf was successful on my notebook that has the 11c11040 chip on
HDA, but
I cannot test beyond that -- I don't have an actual phone line here.

--
WBR, Nikolay Zhuravlev

Thus spake Bjorn Wielens (Uniacke1@xxxxxxxx):

Hi,
Zsolt's sources are confirmed to work with 2.6.27 kernels.
However, we are still unsure about 2.6.28, and I will be able to try
and
experiment with 2.6.29 as soon as I can locate the correct packages for
my distro.
You are likely correct about the problem, but there may be other issues
as well.
Bjorn.




Nikolay Zhuravlev wrote:
Antonio,

 Those sources are too old to work with the kernels >= 2.6.27

 You may want to have a look at the sources located at
http://linux.zsolttech.com/linmodem/agrsm/ and hack those with
 the patch I attach here. I used it to get the driver working
 with the 2.6.27-rc9 kernel.
 Note that the patched sources may build and still not work with
the recent kernels (28 and higher).

 I guess the HDA.c stuff in that driver is out of sync with
 the current ALSA developments in the 29 kernel anyway.





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

  Powered by Linux