VectorLinux
April 20, 2014, 01:45:04 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Agere softmodem - help needed  (Read 2553 times)
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« on: May 31, 2011, 09:39:32 am »

I have been trying on and off for about 2 years now (with my previous and current HP laptops) to build the agrsm kernel modules for an agere softmodem. I tried several versions along the way, figuring that our kernels where always too recent for a succesful build, but now I'm not so sure anymore. A colleague just got his working in Ubuntu 11.04 (I think) so I just tried again with the agrsm-2.1.80-4mdv2009.0 source code. It still won't build, so I decided to finally post the results here for your opinions:

Code:
vectornote:/~/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0
joe1962:$ make module
make -C /lib/modules/`uname -r`/build/ SUBDIRS=/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0 modules
make[1]: Entering directory `/usr/src/linux-2.6.38.4'
  CC [M]  /home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.o
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c: In function 'x_request_region':
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:271:3: error: too few arguments to function '__request_region'
include/linux/ioport.h:156:26: note: declared here
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c: In function 'x_task_queue_init':
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:458:5: warning: assignment from incompatible pointer type
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c: In function 'x_task_queue_init_usb':
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:469:2: warning: assignment from incompatible pointer type
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c: At top level:
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:496:13: warning: function declaration isn't a prototype
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:522:12: warning: function declaration isn't a prototype
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:532:13: warning: function declaration isn't a prototype
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:539:13: warning: function declaration isn't a prototype
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:135:26: warning: 'uss_driver' defined but not used
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c: In function 'x_request_region':
/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.c:272:1: warning: control reaches end of non-void function
make[2]: *** [/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0/agrsoftmodem.o] Error 1
make[1]: *** [_module_/home/joe1962/softlib/hardware/agere/agrsm-2.1.80-4mdv2009.0] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.38.4'
make: *** [module] Error 2

P.S.: I'm pretty tired of having to switch to winders at home to use the dialup... Angry
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #1 on: May 31, 2011, 11:07:02 am »

Can you post a download link for the source. I tried googling but couldn't find it.
Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #2 on: May 31, 2011, 12:30:41 pm »

http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
http://linux.zsolttech.com/linmodem/agrsm/

I even built dkms to try the dkms-agrsm versions, but no go... Sad
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #3 on: May 31, 2011, 08:13:48 pm »

I had to make a patch for it to work.
I have uploaded it to the repo here: http://vectorlinux.osuosl.org/veclinux-7.0/kernels/drivers/agrsm/
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #4 on: June 01, 2011, 05:19:16 am »

Thanks, uelsk8s! Off to download and test...  Smiley


EDIT: doh!!! I built it for my current kernel, which is slightly behind yours, and the modules even load ok, but any attempt to use /dev/ttyAGS3 results in a kernel dump and machine lock up... Sad
« Last Edit: June 01, 2011, 11:08:05 am by Joe1962 » Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #5 on: June 01, 2011, 04:59:07 pm »

sorry, wish I could be more helpful
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!