Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Using "cardctl ident" I have identified my card as:
"3Com", "3CRWE62092B Wireless LAN PC Card"
I have downloaded the atmel driver and unziped/untarred it and then ran
make config
Build Debug version (y/n) : n
Set extra module version information (y/n) : y
Build USB Drivers (y/n) : n
Build PCMCIA Drivers (y/n) : y
Build PCMCIA rfmd Driver (y/n) : y
Build PCMCIA 3COM Driver (y/n) : y
Build PCMCIA rfmd revision d Driver (y/n) : n
Build PCMCIA rfmd revision e Driver (y/n) : n
Build PCMCIA 504 Driver (y/n) : n
Build miniPCI Driver (y/n) : n
Build applications (y/n) : n
then it asks for the location of my "external pcmcia"
i've tried using differenent directory like "/etc/pcmcia" but it always errors and says can't find <directory I submit>/include
and says to re-run with the proper directory.
What's wrong here? I have RH 9.0 and as I've read all the information I could find on this issue in other threads here.
I also made sure to install the kernel configuration packages assuming I might need these to have the kernel source/header files as finegan mentioned before.
here is the script file from that source package where that message originates:
#!/bin/bash
# ATMEL Wireless Card Setup for linux
# Copyright 2001 (c) ATMEL Hellas
if [ $# -eq 2 ]; then
CONFIG_FILE=$1
CONFIG_PCMCIA=$2
else
echo "You must provide the output file and CONFIG_PCMCIA as args"
exit 1
fi
function Checkxforms ()
{
if [ -r /usr/include/X11/Xlib.h -o -r /usr/X11R6/include/X11/Xlib.h ]; then
for f in /usr/{X11/,X11R6/,local/,}lib/libforms.{so,a} ; do
if [ -r $f ]; then break; fi
done
for g in /usr/{X11/,X11R6/,local/,}include/{,,X11/}forms.h ; do
if [ -r $g ]; then break; fi
done
if [ -r $f -a -r $g ] ; then
HAS_FORMS=y
else
HAS_FORMS=n
fi
else
echo "X Windows include files missing"
fi
}
function CheckKernelVersion
{
if [ -d $1 ]; then
if [ -f $1/Makefile ]; then
for TAG in VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION ; do
eval `sed -ne "/^$TAG/s/[ ]//gp" $1/Makefile`
done
FV="$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
if [ "$LV" = "$FV" ]; then
if [ "$PATH_FOUND" = "n" ]; then
PATH_FOUND=y
SRCPATH=$1
fi
fi
fi
fi
}
USBDES="/lib/modules/$LV/kernel/drivers/usb"
if [ ! -d $USBDES ]; then
mkdir $USBDES
fi
PCMCIADES="/lib/modules/$LV/pcmcia"
PCIDES="/lib/modules/$LV/kernel/drivers/net"
MODPROBE_PATH=$(which modprobe)
Checkxforms
if [ $KERNEL_SRC ]; then
echo $KERNEL_SRC "(defined)"
else
if [ -L /lib/modules/$LV/build ]&&[ -f /lib/modules/$LV/build/Makefile ]; then
SRCPATH=/lib/modules/$LV/build
else
for f in $MPA/*; do CheckKernelVersion $f ; done
fi
echo "Kernel Version Running $LV"
if [ "$SRCPATH" = "null" ]; then
echo -e "Kernel Source Directory Not Found. Please give path : \c"
read SRCPATH
if [ ! -d $SRCPATH ]; then
echo "Invalid Path"
rm -f config.mk
fi
else
echo Found Kernel Source Directory "($SRCPATH)"
fi
echo KERNEL_SRC = $SRCPATH >> $CONFIG_FILE
fi
if [ "$CONFIG_PCMCIA" = "y" ]; then
PCMCIA_IN_KERNEL=$(grep -c CONFIG_PCMCIA= $SRCPATH/.config)
if [ $PCMCIA_IN_KERNEL -eq 1 ] ; then
echo "using kernel pcmcia"
PCMCIA_SRC=$SRCPATH
else
echo -n "root dir of external pcmcia: "
read PCMCIA_SRC
fi
if [ ! -d $PCMCIA_SRC/include ]; then
echo "pcmcia include dir $PCMCIA_SRC/include does not exist."
exit 2;
fi
else
PCMCIA_SRC="PCMCIA was not configured"
fi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.