PDA

View Full Version : ATMEL based wireless cards



seyring
02-25-2003, 06:41 PM
I got the 01-01-2003 release of Knoppix. I have got an "EpoX EWL-C100" (ATMEL/RFMD based Wireless Network PC-Card) and remastered Knoppix with the newest drivers. Everything works quite fine, but if I plug in the card the modules don't load, because it says:
module was built for kernel 2.4.19 this kernel is 2.4.20-xfs: can't load

I also got the sources for kernel 2.4.20 and patched it with xfs-support and the knoppix-patch.

I compiled the drivers again, but the problem is still the same.

Does anybody know how to solve it?

Thanks, seyring

seyring
02-26-2003, 08:37 AM
The drivers and information for atmel based wireless cards (pci, pcmcia & usb) can be found here http://atmelwlandriver.sourceforge.net

patmad
03-17-2003, 10:08 PM
Hi there,

I am also hoping that Atmel-cards are supported in 3.2 !!!! Just a few days (I hope)..........

Patrick :roll:

tooaru
03-18-2003, 12:00 AM
Hi there,

I am also hoping that Atmel-cards are supported in 3.2 !!!! Just a few days (I hope)..........

Patrick :roll:



same here, need wireless support and the update with the config save ability to multiple devices

sjoerd
03-23-2003, 09:37 PM
bad luck,

the dlink dwl-120 is still not supported in KNOPPIX_V3.2-2003-03-21b-EN.

ATMEL AT76C503A based usb devices:
15 DLink DWL-120 MXF-WL280 0x03eb 0x7603 AT76C503A 3861 Yes Yes yes.

the card is not recognized yet

tooaru
03-25-2003, 08:20 AM
bad luck,

the dlink dwl-120 is still not supported in KNOPPIX_V3.2-2003-03-21b-EN.

ATMEL AT76C503A based usb devices:
15 DLink DWL-120 MXF-WL280 0x03eb 0x7603 AT76C503A 3861 Yes Yes yes.

the card is not recognized yet


NEW UPDATE!

CROSSING MY FINGERS THIS ONE HAS ATMEL!!

* V3.2-2003-03-23 (small updates)
- new PCMCIA wireless card entries
- wavelan-ng-modules is back (forgot that in the previous release)
- removed some older/unneeded gnome libraries
- kdevelop seems to create KDE applications again after updating
some KDE-packages from unstable.

If someone is able to download and check this before I do, please reply here and let me and others know if it has ATMEL one way or the other.

patmad
04-01-2003, 07:23 PM
:cry:

Alas, my pcmcia-Atmel card (502A-D) is not supported in KNOPPIX_V3.2-2003-03-30-EN....

Has anyone yet succeeded in getting these wlan-cards working?

patrick

patmad
05-08-2003, 10:10 PM
:( Hi, I'm still trying to get my ATMEL AT76C502AR_D wireless card working.

I got it so far that it is recognized when plugged in


root@knoppix-box:~# dump_cis
Socket 0:
attr_dev_info
fn_specific 250ns, 2kb
manfid 0x0000, 0x0000
funcid network_adapter
vers_1 5.0, "ATMEL", "AT76C502AR_D"
config base 0x0800 mask 0x0001 last_index 0x02
cftable_entry 0x01 [default]
[mwait] [pwrdown]
Vcc Vnom 3300mV Iavg 250mA Ipeak 250mA Idown 25mA
timing wait 12us
io 0x0000-0x001f [lines=5] [16bit]
irq mask 0xffb8
root@knoppix-box:~#

but when installing it I get these messages



root@knoppix-box:~/atmelwlandriver# make config
Build all (y/n) : n
Kernel Version Running 2.4.20-xfs
Found Kernel Source Directory ()
Build Debug version (y/n) : y
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) : n
Build PCMCIA rfmd revision d Driver (y/n) : y
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) : y
Build command line application (y/n) : y
You have to install the xforms library in order to use the xvnet application
Finished. Now run make clean, all, install
root@knoppix-box:~/atmelwlandriver# make clean
find -name '*.o' -o -name '*.map' |xargs rm -f
root@knoppix-box:~/atmelwlandriver# make all
Building src/Pcmcia_Pci src/apps/cmd_line
make[1]: Entering directory `/root/atmelwlandriver/src/Pcmcia_Pci'
PCMCIA yes : rfmdD revdD
for i in rfmdD revdD; do make $i; done
make[2]: Entering directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make clean
make[3]: Entering directory `/root/atmelwlandriver/src/Pcmcia_Pci'
find -name '*.o'|xargs rm -f
make[3]: Leaving directory `/root/atmelwlandriver/src/Pcmcia_Pci'
DEBUGORNO=debug.o
make final CFLAGS:='-I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/root/atmelwlandriver/src/includes -I/root/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DPCMCIA_DEBUG=1' MODULE:='pcmf502r.o' LIB:=-RFMD- DEBUGORNO:=debug.o
make[3]: Entering directory `/root/atmelwlandriver/src/Pcmcia_Pci'
gcc -I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/root/atmelwlandriver/src/includes -I/root/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DRFMD -DINT_ROAM -DRX_CRC -DPCMCIA_DEBUG=1 -c -o card.o card.c
card.c: /include/linux/modversions.h: No such file or directory
In file included from /root/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:56:28: pcmcia/version.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:57:29: pcmcia/cs_types.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:58:23: pcmcia/cs.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:59:27: pcmcia/cistpl.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:60:27: pcmcia/cisreg.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:61:23: pcmcia/ds.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:86:31: linux/modversions.h: No such file or directory
make[3]: *** [card.o] Error 1
make[3]: Leaving directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make[2]: *** [rfmdD] Error 2
make[2]: Leaving directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make[2]: Entering directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make clean
make[3]: Entering directory `/root/atmelwlandriver/src/Pcmcia_Pci'
find -name '*.o'|xargs rm -f
make[3]: Leaving directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make final CFLAGS:='-I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/root/atmelwlandriver/src/includes -I/root/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DPCMCIA_DEBUG=1 -DRFMD -DINT_ROAM -DRX_CRC -DREV_D' RF:='0' DBG:='1' MODULE:='pcmf502rd.o' LIB:=-REVD- DEBUGORNO:=debug.o
make[3]: Entering directory `/root/atmelwlandriver/src/Pcmcia_Pci'
gcc -I/pcmcia/include -DLINUX_OS -D__KERNEL__ -pipe -O3 -fomit-frame-pointer -fno-strict-aliasing -I/include -I/root/atmelwlandriver/src/includes -I/root/atmelwlandriver/src/includes/pcmcia -Wall -DMODULE -DMODVERSIONS -include /include/linux/modversions.h -DPCMCIA_DEBUG=1 -DRFMD -DINT_ROAM -DRX_CRC -DREV_D -c -o card.o card.c
card.c: /include/linux/modversions.h: No such file or directory
In file included from /root/atmelwlandriver/src/includes/pcmcia/vnet.h:28,
from card.c:23:
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:56:28: pcmcia/version.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:57:29: pcmcia/cs_types.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:58:23: pcmcia/cs.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:59:27: pcmcia/cistpl.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:60:27: pcmcia/cisreg.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:61:23: pcmcia/ds.h: No such file or directory
/root/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:86:31: linux/modversions.h: No such file or directory
make[3]: *** [card.o] Error 1
make[3]: Leaving directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make[2]: *** [revdD] Error 2
make[2]: Leaving directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/atmelwlandriver/src/Pcmcia_Pci'
make[1]: Entering directory `/root/atmelwlandriver/src/apps/cmd_line'
gcc -DATMEL -O2 -g -I/root/atmelwlandriver/src/includes -o lvnet -lncurses cofvnet.c sets.c bootcnf.c
make[1]: Leaving directory `/root/atmelwlandriver/src/apps/cmd_line'
root@knoppix-box:~/atmelwlandriver# make install
set -x
depmod -aq
OK

root@knoppix-box:~/atmelwlandriver# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:EB:02:20:94
inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:104240 errors:0 dropped:0 overruns:0 frame:0
TX packets:75258 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:152516226 (145.4 MiB) TX bytes:5326221 (5.0 MiB)
Interrupt:10 Base address:0x4800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4112 (4.0 KiB) TX bytes:4112 (4.0 KiB)





As you can see it is not working...


Has anyone any idea how to fix it? I'm quite a newbie on this, but I'd really like to have it working!

Thanx

Patrick

pboddie
05-20-2003, 11:07 AM
:( Hi, I'm still trying to get my ATMEL AT76C502AR_D wireless card working.


but when installing it I get these messages



root@knoppix-box:~/atmelwlandriver# make config
Build all (y/n) : n
Kernel Version Running 2.4.20-xfs
Found Kernel Source Directory ()



This is where it goes wrong. You really need to have the kernel sources available with the Atmel driver stuff. Otherwise, it gets confused and can't find any of the headers. I think that the configuration scripts look in /usr/src/linux by default, and when I've done the build on various other distributions, it has successfully located kernel sources in that location.


Has anyone any idea how to fix it? I'm quite a newbie on this, but I'd really like to have it working!


It really would be nice if it worked "out of the box" with Knoppix, yes.

patmad
05-20-2003, 12:22 PM
Thanks for replying!
I already thought this could be the problem, so I downloaded the kernel-source-2.4.20-xfs and put it in /usr/src/
Then I edited .config and pointed the KERNEL_SRC to this map.
But when I do make install it still shows

Build all (y/n) : n
Kernel Version Running 2.4.20-xfs
Found Kernel Source Directory ()

and later on I still can see some errors during make all that some file or folder is nowhere to be found.......

How can I make these sources to be recognized? Do I have to compile the kernel?

Thanks for helping me making this card work properly!!!

pboddie
05-20-2003, 03:37 PM
Thanks for replying!
I already thought this could be the problem, so I downloaded the kernel-source-2.4.20-xfs and put it in /usr/src/
Then I edited .config and pointed the KERNEL_SRC to this map.
But when I do make install it still shows

Build all (y/n) : n
Kernel Version Running 2.4.20-xfs
Found Kernel Source Directory ()


When I've compiled the Atmel sources for Red Hat and Mandrake, I found that both of those distributions' kernel sources came with a .config file ready for use, and that file should reside in the top-level of the kernel sources directory, eg. /usr/src/linux. There may also be a config-2.4.20-xfs-ARCH (or some similarly named) file in a directory inside /usr/src/linux, too, and (by convention) in /boot.

Having said all this, it does surprise me a bit that it can't find your kernel sources, but then looking at the setup.sh script, I'm surprised it finds mine. ;-) Still, what you could try is this:



KERNEL_SRC=/usr/src/linux make config


This should send the environment variable into the script.



and later on I still can see some errors during make all that some file or folder is nowhere to be found.......


If it can't find the sources properly, it'll complain a lot about nothing that is really helpful.



How can I make these sources to be recognized? Do I have to compile the kernel?


I doubt it. It may be the case that you need to do some of the first steps of compiling the kernel before the headers are found - the RPMs for Red Hat (and possibly Mandrake) may already have some of that work done. Look at the kernel README file and search for "make dep" - I think that might be of interest, but only if the trickery with telling the script about your kernel doesn't work. Personally, I don't believe you should really need to go that far with a recent kernel - earlier kernels had showstopper bugs which prevented the Atmel cards working properly... apparently.



Thanks for helping me making this card work properly!!!

We're not there yet! Just wait until you have to configure the thing. ;-)

patmad
05-20-2003, 07:54 PM
:shock: :D :shock: :D :shock: 8) :lol:

it WORKS!!!!!!
After copying the kernel-sourcefiles to the map /usr/src/linux I installed the card again, and after unplugging and plugging it it worked...!

Thank you very much for helpingme!

Now I'll try to configure it .....

pboddie
05-22-2003, 10:54 AM
After copying the kernel-sourcefiles to the map /usr/src/linux I installed the card again, and after unplugging and plugging it it worked...!

Thank you very much for helpingme!

Now I'll try to configure it .....

Congratulations and good luck! You may only be half way there. ;-)

Actually, you should take a look at the USB device overview for some more details: http://www.qbik.ch/usb/devices/showdev.php?id=1771

You may or may not need to use uhci instead of usb-uhci - I couldn't see it making a big difference on an updated Red Hat distribution.

Also, I heard from someone who had had more success with the competing Atmel driver found here: http://at76c503a.berlios.de

Now if only either of those drivers came with Knoppix...

troyski
05-22-2003, 01:10 PM
If it helps to bolster support...I too dream of amtel based drivers in the next version of Knoppix. I have a Dabs-branded wireless PCMCIA card that I believe has the AMTEL chipset in a Dell Latitude laptop. Everything else works beautifully. :)

pboddie
05-22-2003, 02:35 PM
If it helps to bolster support...I too dream of amtel based drivers in the next version of Knoppix. I have a Dabs-branded wireless PCMCIA card that I believe has the AMTEL chipset in a Dell Latitude laptop. Everything else works beautifully. :)

It has occurred to me that a roll-your-own live CD, like the bootable business card (http://www.lnx-bbc.org) may make it easier to incorporate such additional drivers. However, it could be easier for such short-term modifications just to remaster the Knoppix image and slip them in somewhere.

patmad
05-25-2003, 09:02 PM
It has occurred to me that a roll-your-own live CD, like the bootable business card (http://www.lnx-bbc.org) may make it easier to incorporate such additional drivers. However, it could be easier for such short-term modifications just to remaster the Knoppix image and slip them in somewhere.
Problem for installing the atmeldrivers is the fact that you need to have the kernel-source files (in my case about 130 mb). I think you need to implement them in the remastered Knoppix, but I haven't tried as my Debian works fine for me.

The only thing I couldn't get working is the monitoring mode (Airsnort), but it seems like it is not possible with the drivers.

pboddie
05-26-2003, 09:36 AM
Problem for installing the atmeldrivers is the fact that you need to have the kernel-source files (in my case about 130 mb). I think you need to implement them in the remastered Knoppix, but I haven't tried as my Debian works fine for me.


Well, I've been trying to get both Atmel drivers working under an installed-to-disk Knoppix system and they appear to lock the system solid. Any suggestions? Could there be issues with the 2.4.20-xfs kernel or the default USB subsystem employed in Knoppix? Which kernel did you end up using?

patmad
05-26-2003, 09:55 AM
I'm using a PCMCIA-card, not an USB device. During installing it, the first problem was that I did not have the kernel-source files installed in the right map (should be /usr/src) and I also didn't put the atmeldrivers in the right map (should also be in /usr/src)... after that it worked immediately (of course I didn't install the USB drivers so I have no experience in making USB-devices work)

Using Google you can find serveral instructions how to install an ATMEL-based USB wireless device.

By the way: kernel 2.4.20-xfs

succes!

pboddie
05-26-2003, 10:07 AM
I'm using a PCMCIA-card, not an USB device. During installing it, the first problem was that I did not have the kernel-source files installed in the right map (should be /usr/src) and I also didn't put the atmeldrivers in the right map (should also be in /usr/src)... after that it worked immediately (of course I didn't install the USB drivers so I have no experience in making USB-devices work)


After giving advice on how to get the build process to find the kernel sources, I ended up needing to fight the build process myself.



Using Google you can find serveral instructions how to install an ATMEL-based USB wireless device.


Yes, but I just wondered if you had any issues with the kernel. There are supposedly various issues with the different Atmel drivers and SMP-related patches, for example, and I wondered if this could be the cause of the experienced lock-ups.



By the way: kernel 2.4.20-xfs

succes!

Well done! Help! ;-)

pboddie
05-27-2003, 09:49 AM
Yes, but I just wondered if you had any issues with the kernel. There are supposedly various issues with the different Atmel drivers and SMP-related patches, for example, and I wondered if this could be the cause of the experienced lock-ups.


It would seem that the at76c503a driver (http://at76c503a.berlios.de) works, but you need a version later than 0.9 in order to get around this lock-up issue. See this posting:

http://lists.berlios.de/pipermail/at76c503a-user/2003-May/000140.html

Currently, I recommend downloading a "cvs nightly tarball" (http://cvs.berlios.de/cgi-bin/viewcvs.cgi/at76c503a) or another recent snapshot of the code.

jbrbv
06-09-2003, 10:53 PM
Hello,

I tried to get this working with the Cd based 05-20 release, but it didn't work. I'm a newbie...
When trying to follow up the thread from patmad and pboddie i encountered some problems and have some questions:
- where can i find the right kernel sources (i'm working CD based...)
- xvnet needs the libforms... Do in need xvnet?
- can't the pcifvnet.o file be distributed?
- when will ATMEL based cards be supported direct from knoppix?
- which tool i need to configure?

- is there already support for 802.11g cards based on the broadcom chip?

pboddie
06-10-2003, 10:33 AM
I tried to get this working with the Cd based 05-20 release, but it didn't work. I'm a newbie...
When trying to follow up the thread from patmad and pboddie i encountered some problems and have some questions:
- where can i find the right kernel sources (i'm working CD based...)


I imagine that you're going to have difficulties testing this unless someone can suggest a way of inserting the kernel modules from an arbitrary point in the filesystem - you obviously can't copy them into /lib/modules when that filesystem is probably read-only.

I can't remember if you actually need the kernel sources for the at76c503a driver (although this isn't necessarily relevant for you since you suggest that you're using a PCI-based card). What you do need, however, are the kernel include files. I think Knoppix has both of these things available under /usr/src.



- xvnet needs the libforms... Do in need xvnet?


I've never bothered with it. I can imagine that the at76c503a driver can be configured using any graphical tool that knows about the wireless parameters, which in itself isn't exotic. The atmelwlandriver module can also probably be configured in a similar way, if you ignore the /bin/fastvnet.sh tricks with /etc/modules.conf that are mentioned in the documentation.



- can't the pcifvnet.o file be distributed?
- when will ATMEL based cards be supported direct from knoppix?


In Knoppix? I suppose so, with the usual conformance to the GPL. It's a question of someone building it in, though.



- which tool i need to configure?


First, you need to make sure that the driver you've chosen knows the vendor and product identifers for your network card (usually involving an edit of one of the source files). Then, you need to get the driver build infrastructure to recognise your kernel sources - see earlier posts for some hints, since this can involve a lot of hassle with the atmelwlandriver scripts. Then, you need to install the modules in /lib/modules, although if you're working from CD, you need to find a way of not having to install them in that location, but instead to insert them into the running kernel from another place - I don't know enough about the kernel module system to say whether this is easily done, especially since I've only tried all this on a hard disk installation of Knoppix (and with Red Hat and Mandrake). Then, you need to find out which settings your card requires and to apply them using iwconfig, followed by a test of the network using ifconfig and related tools. Finally, you need to edit some files (/etc/network/interfaces on Knoppix/Debian) to make your settings "stick" and to configure the network side of things (as opposed to the device itself). Since you're working from the CD, you would also need to use various tricks to store the configuration somewhere else.



- is there already support for 802.11g cards based on the broadcom chip?

That's a question which has been addressed in another thread, I believe.

jbrbv
06-11-2003, 09:21 PM
Hmmm,

Tried with your KERNEL_SRC suggestion, but still the pcifvnet.o has the same old kernel 2.4.20 error (i'm using a PCMCIA card).
Guess i'll wait till ATMEL support is included in Knoppix.

Thanks.

patmad
09-14-2003, 10:34 AM
The last version of Knoppix (9/5/2003) works perfect! My atmel-based wireless card is identified immediately and works fine.
Thnx for implementing the drivers/modules!!

Patrick :D :D :D

Zuron007
09-22-2003, 12:35 AM
I also tried to download the new version from knoppix to try and get it to run with my netgear ma101b usb device which is also atmel based. The new version (9/5/03) did NOT detect it. This was from the cd boot that i did. Currently i am still trying to haggle with the berlios driver, so far i can get the driver and the usb device registered but i cant for the life of me figure out what else i have to do to get it all to work so i can finally just view pages on the net. I cant even ping my own network! In other words, nix, nada, nothing. The hd install was using the 7-26 version of knoppix. I believe I almost have it all worked out but in the meantime i will have to continue my posts with windows :(

Any and all suggestions/help would be greatly appreciated...

Thanks