Re: [ACPI-sppt] ACPI but no PMCIA Wireless

Mark Allbritten <[email protected]> Wed, 24 Sep 2003 01:24:03 -0400
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
Carl,
I really appreciate your assistance.  The $PC did not work, but once I
looked at the code I just remarked out the entire first "if" statement
and changed the elsif to if and every thing is working great!!

P.S. Another little thing I have notice about running ACPI I know longer
have the i8253 count is too high error either :)

Thank You,
Mark

On Mon, 2003-09-22 at 08:45, Carl L. Gilbert wrote:
> First do a 'locate pcmcia_core'  the file pcmcia_core.o should be found
> in your lib/modules folder for your kernel 
> 
> /usr/share/man/man4/pcmcia_core.4.gz
> /usr/src/linux-2.4.20-19.8/drivers/pcmcia/pcmcia_core.o
> /usr/src/linux-2.4.20-20.8/drivers/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-20.8/kernel/drivers/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-20.8/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-20.8dnoyeb/kernel/drivers/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-20.8dnoyeb/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-19.8dnoyeb/kernel/drivers/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-19.8dnoyeb/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-20.8dnoyeb2/kernel/drivers/pcmcia/pcmcia_core.o
> /lib/modules/2.4.20-20.8dnoyeb2/pcmcia/pcmcia_core.o
> 
> If its there then you need to do this patch that I forgot about.  Their
> is a bug in the pcmcia file and if it finds the directory 
> 
> /lib/modules/2.4.20-20.8dnoyeb2/kernel/drivers/pcmcia/pcmcia_core.o
> 
> Then it tries to do some faulty code.
> 
> edit your pcmcia file, and look for lines similar to below
> emacs /etc/init.d/pcmcia
> 
>             KD=/lib/modules/`uname -r`/kernel/drivers/pcmcia
>             if [ -d $PC ] ; then
>                 echo -n " modules"
>                 /sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
>                 /sbin/insmod $PC/$PCIC.o $PCIC_OPTS
>                 /sbin/insmod $PC/ds.o
>             elif [ -d $KD ] ; then
>                 /sbin/modprobe pcmcia_core
>                 /sbin/modprobe $PCIC
>                 /sbin/modprobe ds
>             else
>                 echo $" module directory $PC not found."
>                 break
>             fi
> 
> This code is from my desktop that is RH8.  But my laptop is RH9 and I
> think the first if-elif was messed up.  Make sure yours looks exactly
> like mine above.  I will check at home to be sure when I get home.
> 
> The problem was that instead of
> /sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
> 
> there was
> /sbin/modprobe pcmcia_core or something like that.
> 
> all I had to do what change modprobe to insmod and add the preceeding
> $PC/ in front of pcmcia_core and in front of $PC/$PCIC.o and in front of
> $PC/ds.o
> 
> 
> alternatly you can delete the directory 
> /lib/modules/2.4.20-20.8dnoyeb2/kernel/drivers/pcmcia/
> 
> Will know fore sure when I get home...
> 
> 
> CL
> 
> 
> On Sun, 2003-09-21 at 23:57, Mark Allbritten wrote:
> > when I do a "make menuconfig" everything under general > pcmcia is
> > enabled.....there is an "M" on pcmcia and everything else "*". Is it
> > located somewhere else??
> > 
> > Mark
> > 
> > 3, AthlonRob wrote:
> > > On Sun, 2003-09-21 at 20:17, Mark Allbritten wrote:
> > > 
> > > > Starting PCMCIA services: modulesmodprobe: Can't locate module pcmcia_core.o
> > > > modprobe: Can't locate module yenta_socket.o
> > > > modprobe: Can't locate module ds.o
> > > >  cardmgr.
> > > 
> > > And here's your problem.  In your kernel config, make sure you set up
> > > pcmcia and cardmgr as modules.
> > > 
> > > By the looks of things, they seem to be disabled (making it very
> > > difficult for the kernel to use them).
> > > 
> > > Rob
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > ACPI-support mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/acpi-support
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > ACPI-support mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/acpi-support



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf