Please support VectorLinux!

Author Topic: Agere softmodem - help needed  (Read 3112 times)

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Agere softmodem - help needed
« 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: [Select]
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... >:(
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
Re: Agere softmodem - help needed
« 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.
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: 2499
    • Joe1962's Website
Re: Agere softmodem - help needed
« Reply #2 on: May 31, 2011, 12:30:41 pm »
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: 2504
Re: Agere softmodem - help needed
« 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/

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Agere softmodem - help needed
« Reply #4 on: June 01, 2011, 05:19:16 am »
Thanks, uelsk8s! Off to download and test...  :)


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... :(
« Last Edit: June 01, 2011, 11:08:05 am by Joe1962 »
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: 2504
Re: Agere softmodem - help needed
« Reply #5 on: June 01, 2011, 04:59:07 pm »
sorry, wish I could be more helpful