LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 07-02-2003, 06:11 PM   #1
smg7a
LQ Newbie
 
Registered: Jun 2003
Location: Pittsburgh,PA
Distribution: Redhat 9.0
Posts: 1

Rep: Reputation: 0
Unhappy 3com wireless PCMCIA


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.

Thanks!
 
Old 07-02-2003, 09:56 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Can you dump in here the exact pile of errors from the make, the whole thing would help a little more.

Cheers,

Finegan
 
Old 07-02-2003, 10:26 PM   #3
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
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
}

PATH_FOUND=n
HAS_FORMS=n
MAN_PATH=$(man -w ls|xargs dirname)
MPA=/usr/src
CONFIGP="/etc/pcmcia"
USB_CONFIG="/etc/hotplug"
LV=$(uname -r)

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

echo HAS_FORMS = $HAS_FORMS >> $CONFIG_FILE
if [ -f $PCMCIA_DES ];then
echo PCMCIA_CONFIG = $CONFIGP >> $CONFIG_FILE
echo PCMCIA_SRC = $PCMCIA_SRC >> $CONFIG_FILE
fi

echo PCI_DES = $PCIDES >> $CONFIG_FILE
if [ -f $PCMCIA_DES ];then
echo PCMCIA_DES = $PCMCIADES >> $CONFIG_FILE
fi
echo USB_DES = $USBDES >> $CONFIG_FILE
echo USB_CONFIG = $USB_CONFIG >> $CONFIG_FILE
echo MAN_PATH = $MAN_PATH >> $CONFIG_FILE
echo >> $CONFIG_FILE
echo >> $CONFIG_FILE
 
Old 07-02-2003, 10:43 PM   #4
Lethario
LQ Newbie
 
Registered: Jun 2003
Posts: 11

Rep: Reputation: 0
cannot find /etc/pcmcia/

have you downloaded the pcmcia-cs package and installed it.
I was having a very similar problem. and that fixed the problem.
 
Old 07-03-2003, 12:14 AM   #5
nuxie1
Member
 
Registered: Oct 2002
Location: Melbourne, Australia
Distribution: Mandrake 9.1, Clarkconnect 1.3
Posts: 39

Rep: Reputation: 15
I had the same problem, pcmcia_cs was already installed. Using Mandrake 9.1

I just used the previous driver (2.2.1.1 or something) and it worked fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PCMCIA not working with 3COM Wireless card GraemeK Linux - Laptop and Netbook 2 05-24-2005 03:33 AM
3Com X-Jack Wireless PCMCIA Card dobriain Linux - Wireless Networking 14 08-18-2004 07:05 AM
PCMCIA 3Com wireless problems jags880 Linux - Wireless Networking 1 02-11-2004 12:34 AM
3Com Wireless PCMCIA 3CRWE6209B Ideas? MsMittens Slackware 12 10-26-2003 06:04 AM
Help Installing 3COM PCMCIA DakotaMan2002 Linux - Hardware 1 04-30-2003 07:44 AM


All times are GMT -5. The time now is 03:50 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration