|
|
|
|
|
|
| Author |
Message |
Thufir Hawat *nix forums beginner
Joined: 02 Feb 2005
Posts: 47
|
Posted: Sat Feb 05, 2005 4:15 am Post subject:
building and configuring atmel driver
|
|
|
I'm on FC3 with kernel-2.6.9-1.681_FC3.src.rpm installed, and can't get
results from "cardctl ident" because it's an unknown command. The two
scripts mentioned are giving error messages, but that's about it. the
config.h doesn't run as a script because the comments aren't commented
out with a "#", so I don't think it's really a script; maybe it's c
source code. However, the directions refer to config.h as a script.
I'm suspecting that step 2 (running make and so forth) wasn't completed
correctly. Is there some way to determine if I completed step 2 part
ii, Building for 2.6.x Kernels, succesfully?
step 2, from <http://atmelwlandriver.sourceforge.net/downloads.html>:
"ii) Building for 2.6.x Kernels
# make
This will display all the available build options:
Pick one of the following targets for KERNELS 2.X.X:
make clean - remove all directories of object files
make device buildonly=argument
- where device = usb or pcmcia, argument = debug or release
make lvnet - compile lvnet utility
make winter - compile winter utility
make world - compile all modules with debug and release information
make install - install modules and programs
example:
# make pcmcia buildonly=debug
Builds every pcmcia module with debug information
It is generally recommended when trying the drivers for the first time,
to build them in debug mode, so as to determine easier whatever
can be responsible for a potential error. Be prepared, however, for a
great console output. (this can be ceased by `echo 0
| Quote: | /proc/sys/kernel/printk')
The two applications accompanying the drivers are `lvnet' and `winter' |
and are
suited for console and X respectively. lvnet requires ncurses, while
winter is a
wxWidgets app, therefore it needs wxGTX-4.2 or greater.Both must be run
as root.
Having finished with building procedure, run:
# make install
This will copy the modules to a directory inside:
/lib/modules/<Your Running Kernel>/kernel/drivers/ , depending on the
selected
bus. Finally, run, as prompted:
# depmod -aeq
which shall report to modprobe about the modules' existence, so that it
can find and load them, resolving their dependencies..."
....
"STEP III: Setting up Configuration Scripts
--------------------------------------------------------------------------------
i) ./scripts/atmel.conf ./src/includes/usb/config.h
Atmel.conf contains all the information that lets your system know
which driver
it should load for any pcmcia atmel wlan device.
Therefore, editing it can serve a very specific purpose:
If no driver is loaded for your pcmcia wlan device, but you know for
sure that
it contains an atmel chipset (you can visit linux-wlan.org to verify
it) then
you have to add it on your own. First do a `cardctl ident' with your
card
inserted. This will give an output of such form..."
///////terminal////////////////////////////
[thufir@localhost scripts]$ ./atmel.conf
../atmel.conf: line 1: device: command not found
../atmel.conf: line 2: class: command not found
../atmel.conf: line 4: device: command not found
../atmel.conf: line 5: class: command not found
../atmel.conf: line 7: device: command not found
../atmel.conf: line 8: class: command not found
../atmel.conf: line 10: device: command not found
../atmel.conf: line 11: class: command not found
../atmel.conf: line 13: device: command not found
../atmel.conf: line 14: class: command not found
../atmel.conf: line 16: device: command not found
../atmel.conf: line 17: class: command not found
../atmel.conf: line 19: device: command not found
../atmel.conf: line 20: class: command not found
../atmel.conf: line 22: device: command not found
../atmel.conf: line 23: class: command not found
card: could not find help message for ATMEL 11 Mbps Wireless PCMCIA
Card
../atmel.conf: line 26: version: command not found
card: could not find help message for ATMEL 11 Mbps Wireless RFMD
PCMCIA Card
../atmel.conf: line 30: version: command not found
card: could not find help message for ATMEL 11 Mbps Wireless 504 PCMCIA
Card
../atmel.conf: line 34: version: command not found
card: could not find help message for ATMEL 11 Mbps Wireless 504A
PCMCIA Card
../atmel.conf: line 38: version: command not found
card: could not find help message for ATMEL 11 Mbps Wireless 504+2958
PCMCIA Card
../atmel.conf: line 42: version: command not found
card: could not find help message for ATMEL 11 Mbps Wireless RFMD
Revision D PCMCIA Card
../atmel.conf: line 46: version: command not found
card: could not find help message for ATMEL 11 Mbps Wireless RFMD
Revision E PCMCIA Card
../atmel.conf: line 50: version: command not found
card: could not find help message for ATMEL 11 Mbps SiteCom PCMCIA Card
../atmel.conf: line 54: manfid: command not found
card: could not find help message for Belkin F5D6020
../atmel.conf: line 58: version: command not found
../atmel.conf: line 59: manfid: command not found
card: could not find help message for 3Com 3CRWE62092B 11Mbps WLAN PC
Card
../atmel.conf: line 63: manfid: command not found
card: could not find help message for 3Com 3CRWE62092B 11Mbps WLAN PC
Card
../atmel.conf: line 67: manfid: command not found
card: could not find help message for 3Com 3CRSHPW_96 Wireless LAN PC
Card
../atmel.conf: line 71: manfid: command not found
card: could not find help message for SMC 2632W V2 11Mbps 802.11b WLAN
Card
../atmel.conf: line 75: version: command not found
../atmel.conf: line 76: manfid: command not found
card: could not find help message for 11WP611AL-E
../atmel.conf: line 80: version: command not found
../atmel.conf: line 81: manfid: command not found
[thufir@localhost scripts]$
../atmel.conf: line 81: manfid: command not found
[thufir@localhost scripts]$
[thufir@localhost scripts]$ cardctl ident
bash: cardctl: command not found
[thufir@localhost scripts]$
[thufir@localhost scripts]$
[thufir@localhost usb]$
[thufir@localhost usb]$ pwd
/home/thufir/atmelwlandriver/src/includes/usb
[thufir@localhost usb]$ ll
total 1412
-rw-r--r-- 1 thufir thufir 6097 Nov 10 01:40 appint.h
-rw-r--r-- 1 thufir thufir 4584 Nov 10 01:40 command.h
-rwxr-xr-x 1 thufir thufir 2379 Nov 10 01:40 config.h
-rw-r--r-- 1 thufir thufir 13071 Nov 10 01:40 frame.h
-rw------- 1 thufir thufir 253386 Nov 10 01:40 FW5052958.h
-rw------- 1 thufir thufir 246243 Nov 10 01:40 FW505.h
-rw------- 1 thufir thufir 262115 Nov 10 01:40 FW5a58.h
-rw------- 1 thufir thufir 256546 Nov 10 01:40 FW5aMX.h
-rw------- 1 thufir thufir 245191 Nov 10 01:40 FWR.H
-rw-r--r-- 1 thufir thufir 1980 Nov 10 01:40 general.h
-rw-r--r-- 1 thufir thufir 3128 Nov 10 01:40 linux-licence.txt
-rw-r--r-- 1 thufir thufir 7511 Nov 10 01:40 mib.h
-rw-r--r-- 1 thufir thufir 2805 Nov 10 01:40 rx.h
-rw-r--r-- 1 thufir thufir 10584 Nov 10 01:40 stdinclude.h
-rw-r--r-- 1 thufir thufir 23659 Nov 10 01:40 vnetusba.h
[thufir@localhost usb]$ cat config.h
/***************************************************************************
Copyright 2000-2001 ATMEL Corporation.
This file is part of atmel wireless lan drivers.
Atmel wireless lan drivers is free software; you can redistribute it
and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Atmel wireless lan drivers is distributed in the hope that it will be
useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Atmel wireless lan drivers; if not, write to the Free
Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***************************************************************************/
#ifndef __config_h_OK__
#define __config_h_OK__
/* to add a device simply add a line in defines acc. to its RF part
above the
all-zero line. Don't forget the trailing '' ! */
#define RFMD_DEVICES { \
{USB_DEVICE(0x069a,0x0321)}, /* Dynalink/Askey WLL013, Compex WLU11A
(?) */ \
{USB_DEVICE(0x0d5c,0xa002)}, /* Belkin F5D6050 USB adapter */ \
{USB_DEVICE(0x077b,0x2219)}, /* Linksys WUSB11 V2.6 adapter */ \
{USB_DEVICE(0x03eb,0x4102)}, /* AirVast 210 */ \
{USB_DEVICE(0x1371,0x5743)}, /* DSE XH1153 USB adapter */ \
{USB_DEVICE(0x0864,0x4102)}, /* Netgear MA 101 Rev. B */ \
{USB_DEVICE(0x04a5,0x9001)}, /* Benq AWL400 USB adapter */ \
{USB_DEVICE(VNetVID,VNetPID_RFMD)}, /* Atmel's id */ \
{ } /* end with an all-zeroes entry */\
} /* end marker */
#define R505_DEVICES { \
{USB_DEVICE(VNetVID,VNetPID_R505)}, /* Atmel's id */\
{ } /* end with an all-zeroes entry */\
} /* end marker */
#define R505AMX_DEVICES { \
{USB_DEVICE(VNetVID,VNetPID_R505AMX)}, /* Atmel's id */\
{ } /* end with an all-zeroes entry */\
} /* end marker */
#define R505A_DEVICES { \
{USB_DEVICE(VNetVID,VNetPID_R505A)}, /* Atmel's id */\
{USB_DEVICE(VNetVID,VNetPID_R505AS)}, /* Atmel's id */\
{ } /* end with an all-zeroes entry */\
} /* end marker */
#define R505_2958_DEVICES { \
{USB_DEVICE(VNetVID,VNetPID_R505_2958)}, /* Atmel's id */\
{ } /* end with an all-zeroes entry */\
} /* end marker */
#endif
[thufir@localhost usb]$
Thank you,
Thufir Hawat |
|
| Back to top |
|
 |
mjt *nix forums Guru
Joined: 09 Mar 2005
Posts: 961
|
Posted: Sat Feb 05, 2005 4:15 am Post subject:
Re: building and configuring atmel driver
|
|
|
Thufir Hawat wrote:
| Quote: | I'm on FC3 with kernel-2.6.9-1.681_FC3.src.rpm installed, and can't get
results from "cardctl ident" because it's an unknown command.
|
.... do some research. get a book. read about the
concepts and workings of Linux. learn about Linux
the slow and easy way. you want to compile kernels,
yet you have issues with VERY SIMPLE tasks within
the Linux environment.
have you ever heard the expression,
"learn how to crawl before you walk"?
i doubt it seriously.
you're not doing it - and you dont have the gumption,
the drive, or spirit to accomplish anything on your
own. merely having the desire to get somewhere has
ZERO to do with anything unless you drive yourself
to get there.
you are merely out here, constantly, looking for
some hand-holding and to be spoon-fed information.
learn how to do something ONE STEP AT A TIME before
you venture off into the depths of Linux.
choose another distro that will put you where you
need to be - running Linux with a minimal of effort,
such as suse or xandros. stay away from FC as
your first distro
--
<< http://michaeljtobler.homelinux.com/ >>
Soldiers who wish to be a hero
Are practically zero,
But those who wish to be civilians,
They run into the millions. |
|
| Back to top |
|
 |
Thufir Hawat *nix forums beginner
Joined: 02 Feb 2005
Posts: 47
|
Posted: Sat Feb 05, 2005 6:45 am Post subject:
Re: building and configuring atmel driver
|
|
|
mjt wrote:
[..]
| Quote: | ... do some research. get a book. read about the
concepts and workings of Linux. learn about Linux
the slow and easy way. you want to compile kernels,
|
actually, no. the directions say it's probably not
necesarry, nor did i ever set out to do that.
| Quote: | yet you have issues with VERY SIMPLE tasks within
the Linux environment.
|
that precludes me from trying to get a driver working?
| Quote: | have you ever heard the expression,
"learn how to crawl before you walk"?
i doubt it seriously.
you're not doing it - and you dont have the gumption,
the drive, or spirit to accomplish anything on your
own. merely having the desire to get somewhere has
ZERO to do with anything unless you drive yourself
to get there.
you are merely out here, constantly, looking for
some hand-holding and to be spoon-fed information.
|
i'll gladly take pointers. i've found nothing in google
where anyone else got "unknown command" from "cardctl
ident", for example, and very little beyond the
directions that come with the driver. that's not looking
to get spoon-fed information, that's a good, genuine
question (as to why).
| Quote: | learn how to do something ONE STEP AT A TIME before
you venture off into the depths of Linux.
|
This is the next step. Without access to the internet
i'd be constantly rebooting just find the simplest thing.
that's not workable.
| Quote: | choose another distro that will put you where you
need to be - running Linux with a minimal of effort,
such as suse or xandros. stay away from FC as
your first distro
|
I'll take a look, but I doubt they're configured for USB
wireless network adapters. if so, I stand corrected.
--
Thufir Hawat |
|
| Back to top |
|
 |
Tom F. *nix forums addict
Joined: 22 Feb 2005
Posts: 52
|
Posted: Sun Feb 06, 2005 8:53 am Post subject:
Re: building and configuring atmel driver
|
|
|
Thufir Hawat wrote:
| Quote: |
I'll take a look, but I doubt they're configured for USB
wireless network adapters. if so, I stand corrected.
|
SuSE 9.2 has excellent support for wireless networking. It's one of it's
strengths. I don't know the particulars of your card, but you can check the
SuSE site. They have extensive documentation as to what hardware is
supported.
Fedora is a great distro, but it requires more setup than SuSE or Mandrake,
which you can also consider. Mandrake may be even easier "out of the box"
-- that's its purpose. I don't have as much experience with it, though.
Check their website.)
--
Tom F.
There are no numerals or underscores in my address. |
|
| Back to top |
|
 |
Lenard *nix forums Guru Wannabe
Joined: 01 Mar 2005
Posts: 250
|
Posted: Sun Feb 06, 2005 12:16 pm Post subject:
Re: building and configuring atmel driver
|
|
|
Thufir Hawat wrote:
| Quote: | I'm on FC3 with kernel-2.6.9-1.681_FC3.src.rpm installed, and can't
get
results from "cardctl ident" because it's an unknown command.
|
Bescause the command is not in your path????
$ /sbin/cardctl ident
Please follow mjt's advice, learn about the Linux basics first then move
on to the harder stuff. I understand that you want it all to work now,
but your lack of understanding the basics is making all of this harder
then it needs to be (and is).
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759 |
|
| Back to top |
|
 |
Thufir Hawat *nix forums beginner
Joined: 02 Feb 2005
Posts: 47
|
Posted: Sun Feb 06, 2005 3:21 pm Post subject:
Re: building and configuring atmel driver
|
|
|
Tom F. wrote:
| Quote: | Thufir Hawat wrote:
I'll take a look, but I doubt they're configured for USB
wireless network adapters. if so, I stand corrected.
SuSE 9.2 has excellent support for wireless networking. It's one of
it's
strengths. I don't know the particulars of your card, but you can
check the
SuSE site. They have extensive documentation as to what hardware is
supported.
Fedora is a great distro, but it requires more setup than SuSE or
Mandrake,
which you can also consider. Mandrake may be even easier "out of the
box"
-- that's its purpose. I don't have as much experience with it,
though.
Check their website.)
--
Tom F.
There are no numerals or underscores in my address.
|
adding a second linux distro would require repartitioning, so i'll
probably have win2k plus some combination of distros. i'll probably do
that this weekend, thanks. in the meantime i'll stick with fedora, in
the short term, since it's already installed.
yesterday i compiled the 2.6.10 kernel from kernel.org, which worked,
but in trying to repeat the process get error messages, so i think i'll
stick with working on compiling the kernel for now. no, it isn't
required for my purposes, but, it didn't seem that bad the first time
around.
thanks again,
Thufir Hawat |
|
| Back to top |
|
 |
Thufir Hawat *nix forums beginner
Joined: 02 Feb 2005
Posts: 47
|
Posted: Sun Feb 06, 2005 3:30 pm Post subject:
Re: building and configuring atmel driver
|
|
|
Lenard wrote:
| Quote: | Thufir Hawat wrote:
I'm on FC3 with kernel-2.6.9-1.681_FC3.src.rpm installed, and can't
get
results from "cardctl ident" because it's an unknown command.
Bescause the command is not in your path????
$ /sbin/cardctl ident
|
ahh, i was thinking that it was indication that the driver didn't
install and so would indicate what went wrong. forgot about the path.
| Quote: | Please follow mjt's advice, learn about the Linux basics first then
move
on to the harder stuff. I understand that you want it all to work
now,
but your lack of understanding the basics is making all of this
harder
then it needs to be (and is).
[..] |
I am, I picked up two books on linux from the library on fri: linux for
dummies and redhat linux 7 for dummies. they're not very applicable,
though, since they largely assume the internet connection works, or
explain dial-up, etc. i'll have to get some different books.
thanks,
Thufir Hawat |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 1:58 am | All times are GMT
|
|
Credit Counseling | Credit Cards | Air Jordans | Xbox Mod Chip | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|