The module will fail terribly on 11c1:0630 modems at least. I don't know about the others. root@slax:~/agrsm-2.1.80-7mdv2009.0# cp agr_softmodem /etc/rc.d/rc.agr_softmodem root@slax:~/agrsm-2.1.80-7mdv2009.0# /etc/rc.d/rc.agr_softmodem start Starting Agere Soft Modem /etc/rc.d/rc.agr_softmodem: line 34: /usr/lib/AgereSoftModem/AgereMdmDaemon: No such file or directory root@slax:~/agrsm-2.1.80-7mdv2009.0# mkdir -p /usr/li lib/ libexec/ root@slax:~/agrsm-2.1.80-7mdv2009.0# mkdir -p /usr/lib/AgereSoftModem/ root@slax:~/agrsm-2.1.80-7mdv2009.0# cp -r AgereMdmDaemon /usr/li lib/ libexec/ root@slax:~/agrsm-2.1.80-7mdv2009.0# cp -r AgereMdmDaemon /usr/lib/AgereSoftModem/ root@slax:~/agrsm-2.1.80-7mdv2009.0# /etc/rc.d/rc.agr_softmodem start Starting Agere Soft Modem root@slax:~/agrsm-2.1.80-7mdv2009.0# wvd wvdial wvdialconf root@slax:~/agrsm-2.1.80-7mdv2009.0# 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://open.nit.ca/wiki/?WvDial If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>. Unloading Agere Modem Interface driver: version 2.1.80.0 Unloading Agere Modem Controller driver: version 2.1.80 * Hello Agere Driver ** Loading module Agere Modem Controller driver version 2.1.80 (2008-10-31) ttyAGS3 at I/O 0x4000 (irq = 22) is a AgereModem Loading module Agere Modem Interface driver version 2.1.80.0 (2008-10-31) Unloading Agere Modem Interface driver: version 2.1.80.0 Unloading Agere Modem Controller driver: version 2.1.80 agrsm: created 0 infos Loading module Agere Modem Controller driver version 2.1.60.0.Linspire (2005-11-16) ttyAGS3 at I/O 0x400 (irq = 3) is a AgereModem agrserial: Loading module Agere Modem Interface driver version 2.1.60.0.Linspire (2005-11-16) BUG: unable to handle kernel NULL pointer dereference at 00000004 IP: [<f96b3d33>] :agrmodem:LXSoftModemStart+0x23/0x230 *pde = 00000000 Oops: 0000 [#1] SMP Modules linked in: agrserial agrmodem(P) snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss pcmcia pcmcia_core agpgart lp ppdev parport_pc parport pcspkr isp1760 snd_hda_intel snd_pcm snd_timer snd_page_alloc snd_hwdep psmouse serio_raw k8temp hwmon snd forcedeth soundcore sg i2c_nforce2 evdev fuse aufs squashfs sqlzma unlzma [last unloaded: agrmodem] Pid: 10014, comm: wvdialconf Tainted: P (2.6.27.8 #1) EIP: 0060:[<f96b3d33>] EFLAGS: 00010292 CPU: 0 EIP is at LXSoftModemStart+0x23/0x230 [agrmodem] EAX: 00000008 EBX: f941ba08 ECX: fffb6000 EDX: f941a580 ESI: 00000000 EDI: dae0cbb8 EBP: da851dec ESP: da851d64 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 Process wvdialconf (pid: 10014, ti=da850000 task=f445b800 task.ti=da850000) Stack: c0882784 00000008 f96ee821 00000001 c135ec00 c0156647 00000001 00000044 daf60000 c08fe200 00000080 00000001 00000000 00000000 000280d0 c0882784 00000246 00000000 00000001 00000000 00000000 c087ed00 c087ed00 f941ba08 Call Trace: [<c0156647>] get_page_from_freelist+0x2c7/0x440 [<f96af306>] linux_modem_open+0x26/0x110 [agrmodem] [<f9609395>] modemPortOpen+0x5/0x10 [agrmodem] [<f9418ee5>] serial8250_startup+0x195/0x2f0 [agrserial] [<c03cd0e5>] uart_startup+0x45/0x140 [<c03ceb11>] uart_open+0xf1/0x3f0 [<c03b8954>] check_tty_count+0x14/0xb0 [<c036141f>] kobject_get+0xf/0x20 [<c03cea20>] uart_open+0x0/0x3f0 [<c03bb56c>] tty_open+0x14c/0x2f0 [<c0178834>] chrdev_open+0x94/0x180 [<c0173db3>] __dentry_open+0xb3/0x230 [<c0173f77>] nameidata_to_filp+0x47/0x60 [<c01787a0>] chrdev_open+0x0/0x180 [<c01806dc>] do_filp_open+0x17c/0x750 [<c018cbed>] mnt_drop_write+0x1d/0xe0 [<c0186a3c>] dput+0x1c/0x110 [<c018bf98>] mntput_no_expire+0x18/0xf0 [<f8c9c747>] au_set_h_fptr+0x37/0x60 [aufs] [<c0173ba2>] do_sys_open+0x52/0xf0 [<c0173cbc>] sys_open+0x2c/0x40 [<c0103262>] syscall_call+0x7/0xb ======================= Code: 00 89 d8 eb a7 8d 76 00 55 b8 21 e8 6e f9 89 e5 57 56 53 83 ec 7c 8b 75 08 89 44 24 08 c7 45 e4 78 56 34 12 8d 46 08 89 44 24 04 <8b> 46 04 89 04 24 e8 e2 13 00 00 85 c0 89 c3 0f 88 68 01 00 00 EIP: [<f96b3d33>] LXSoftModemStart+0x23/0x230 [agrmodem] SS:ESP 0068:da851d64 ---[ end trace 6f4248a9b53b7cda ]--- root@slax:~# root@slax:~# modprobe -r agrserial root@slax:~# modprobe -r agrmodem root@slax:~# modprobe agrmodem root@slax:~# modprobe agrserial root@slax:~# ls -l /dev/ttyA* crw-rw---- 1 root uucp 62, 67 May 17 15:33 /dev/ttyAGS3 root@slax:~# ln -s /dev/ttyAGS3 /dev/ttySAG root@slax:~# ln -s /dev/ttyAGS3 /dev/modem ln: creating symbolic link `/dev/modem': File exists root@slax:~# rm /dev/modem -f root@slax:~# ln -s /dev/ttyAGS3 /dev/modem root@slax:~# ls -l /dev/ttyAGS3 /dev/ttySAGR /dev/modem /bin/ls: cannot access /dev/ttySAGR: No such file or directory lrwxrwxrwx 1 root root 12 May 17 15:33 /dev/modem -> /dev/ttyAGS3 crw-rw---- 1 root uucp 62, 67 May 17 15:33 /dev/ttyAGS3 I also see some differences between the packages, namely the agrms-2.1.80-7mdv2009.0 and the agrsm-20090502 packages. 1) the mdv package sends agrserial.ko, and agrmodem.ko to /lib/module/`uname -r`/kernel/drivers/char, the other package agrsm-20090502.tar.gz to /lib/modules/`uname -r`/extra 2) one installs the AgereDaemon and the other one does not. 3) one gives me a kernel panic and the other one does not. 4) both fail miserably when it comes to wvdialconf /etc/wvdial.conf, and even kppp apparently sees the modem but does not dial and when the modem is queried all lines are empty :(, 5) I am more confused now than what I was before, the agrsm-2.1.80mdv2009.0 package should be more appropriate for the 11c11040 chipset than the others: 11c1:0630, 11c1:0620, 11c1:0630 and 11c1:048c(or f) This is how I interpret the results. Regards, Antonio On 5/17/09, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > Martin, > > RE: > 3) As near as I can tell, I have dkms installed, so do I need > to run ./setup? > --------- > Yes, if you don't use the Debian installer version. > ./setup > merely calls 3 lines informing dkms that the source package is being > copied to /usr/src/agrsm-2.1.80-7mdv2009.0 > and thus registers it with the dkms resources. It should not be > necessary to run again. > > Read setup, it is obvious. > > MarvS > > On Sun, May 17, 2009 at 12:48 PM, Antonio Olivares > <olivares14031@xxxxxxxxx> wrote: >> Martin, >> >> On 5/17/09, Martin Lupcke <mossianin_lbcmi@xxxxxxxxxx> wrote: >>> 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? >> >> Try the latest version, it should work better. >> >>> 2) If I understood correctly, this latest file is supposed to work with >>> slax Live CD. Would there be problems with my PCLinuxOS2009? >> >> It should work also. What I did was a module, a ready made executable >> that if you were to run Slax Linux Live 6.1.1 and run >> # activate agrsm-2.1.80-7mdv2009.0.lzm >> it should setup everything automatically, all that you should have to >> do is setup wvdial to use /dev/modem and/or KPPP to dialout. IT would >> be AWESOME if users out that have this modem can test out this lzm to >> see if it really works or not so that I can fix it. >> >> There should be no problems with PCLinuxOS2009 as it should also work >> there. Slax is a LiveCD which you do not have to install and the >> package should run on either OS, I just wanted to see if people out >> there could test the module. >> >>> 3) As near as I can tell, I have dkms installed, so do I need to run >>> ./setup? >> >> No, if you have dkms installed you can use dkms to install the package. >> >> Regards, >> >> Antonio >> >>> >>> 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. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>> >>>>>>> >>>> >>>> >>> >> >