Re: Re[2]: Help Me!

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

 



Sorry :)

Now I Use:
make module and I get the error:

hugleo@hugleo-desktop:~/Desktop/suse-10-2a$ sudo ln
-sf /usr/src/linux-headers-2.6.22-14-generic/ /usr/src/linux
hugleo@hugleo-desktop:~/Desktop/suse-10-2a$ make module
make -C /usr/src/linux/ SUBDIRS=/home/hugleo/Desktop/suse-10-2a modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/hugleo/Desktop/suse-10-2a/agrsoftmodem.o
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c: In function
‘x_request_irq’:
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:255: warning:
‘deprecated_irq_flag’ is deprecated (declared at
include/linux/interrupt.h:66)
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:255: warning: passing
argument 2 of ‘request_irq’ from incompatible pointer type
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c: In function
‘agr_pci_find_device’:
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:336: warning:
‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477)
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c: In function
‘agr_pci_get_irq’:
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:351: warning:
‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477)
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:416:56: error: macro
"INIT_WORK" passed 3 arguments, but takes just 2
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c: In function
‘x_task_queue_init’:
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:416: error: ‘INIT_WORK’
undeclared (first use in this function)
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:416: error: (Each
undeclared identifier is reported only once
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:416: error: for each
function it appears in.)
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:414: warning: unused
variable ‘x_tqueue’
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:428:35: error: macro
"INIT_WORK" passed 3 arguments, but takes just 2
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c: In function
‘x_task_queue_init_usb’:
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:428: error: ‘INIT_WORK’
undeclared (first use in this function)
/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.c:426: warning: unused
variable ‘x_tqueue’
make[2]: *** [/home/hugleo/Desktop/suse-10-2a/agrsoftmodem.o] Error 1
make[1]: *** [_module_/home/hugleo/Desktop/suse-10-2a] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [module] Error 2


On Tue, 2008-01-01 at 15:07 -0500, Marvin Stodolsky wrote:
> Artu,
> 
> Please join the List at www.linmodems.org and send your emails to the
> List hereafter, not me directly. Thus others can help.  I don't have
> your hardware.
> 
> First try using the suse-10-2a.tar.gz
> $ tar zxf suse-10-2a.tar.gz
> $ cd suse-10-2a
> Browse a bit therein
> $ make clean
> $ make module
> $ ls *.ko
> should display the drivers agrmodem.ko  agrserial.ko
> Read the documentation.
> 
> You must be Root for the install
> $ su root
> # make install
> If it is successful, reboot and rerun
> $ ./scanModem
> We want to determine if with drivers present, whether the IRQ
> assignment has changed from IRQ=255
> 
> MarvS
> 
> On Jan 1, 2008 11:29 AM, GMAIL <arturjuma@xxxxxxxxx> wrote:
> > Hello, Marvin!
> > Thanks for the response. My Computer is a desktop PC HP Pavilion
> > Slimline s7320n. There is only one slot in which the modem resides. PC
> > came with modem.
> >
> >
> >
> > > Artu,
> >
> > >     Class 0780: 11c1:0620 Communication controller: Agere Systems
> > >      Primary PCI_id  11c1:0620
> > >  Support type needed or chipset:        Agere.SV2P
> > > -------------------
> > > is in principle supportable, through success is variable.
> >
> > > Your initial problem however is:
> > >  The modem interrupt (IRQ) is 255 . IRQs of 0 or 255 are not functional!!
> > > ---------------
> > > Is your System a laptop or desktop, in which you could move the modem
> > > to another PCI slot
> > > Did the PC come with this modem, or did you add it in??
> >
> > > Compiling drivers will be necessary.
> > > From http://phep2.technion.ac.il/linmodems/packages/ltmodem/sv92/
> > > down load both the suse-10-2a.tar.gz  and the agrsm-20070804.tar.gz
> > > But do not try to use them before you respond.
> >
> > > Hugo,
> > >    The  suse-10-2a.tar.gz was recently provided by LSI (formerly
> > > Agere) through Alan.  Its pre-compiled agrmodemlib.o component is more
> > > recent than that in to agrsm packages:
> > > # ls -l agrmodemlib.o agrmodemlib.o.2005-11-16
> > > -r--r--r-- 1 marv marv 1629377 2007-12-01 15:11 agrmodemlib.o
> > > -rw-r--r-- 1 marv marv 1419089 2005-11-16 16:43 agrmodemlib.o.2005-11-16
> > > It provides for support on more platforms.  However  suse-10-2a
> > > resource is yet to be updated for kernel support beyond 2.6.18.  It
> > > would be interesting to know where the newer agrmodemlib.o  does
> > > provide support, when swaped into the agrsm package, functional under
> > > 2.6.22 kernels on your System.  Could you please check into this
> > > situation and report back?
> >
> > > Also please track developments in Artu's case.
> >
> > > MarvS
> >
> >
> > > MarvS
> > > scanModem maintainer
> >
> >
> >
> >
> >
> >
> >
> 


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

  Powered by Linux