Re: Fiberline WL-240U aka WL240 maybe even FL-WL24OU support

Sascha Wuestemann <sascha-0hXvDgNmB/[email protected]> Fri, 5 Dec 2003 21:33:32 +0100
Newsgroups gmane.linux.drivers.atmel-wlan
Message-ID <[email protected]>
On Wed, Dec 03, 2003 at 08:09:53PM +0100 or thereabouts, Sascha Wuestemann wrote:
> I currently have atmel-curt drivers 1.7 for the at76c503a chips in use.
                   ^^^^^^^^^^^^^^^^^^^^^^ wrong

I am using the berlios-drivers-0.10. Sorry for the mistake.
> 
Meanwhile I have spend a few hours on solving the problem.
I have found
http://lists.berlios.de/pipermail/at76c503a-user/2003-September/000578.html
and the following answer of Joerg stating that the cvs-snapshot has built 
in the support for the FL-WL240U but the one I have got today hasn't,
because the new compiled modules still don't recognize the device - I
couldnt even found a Produkt_ID for 0x14 (remember? 0x1731,0x14) at the
sources...

Being no c-programmer, I tried to add support to the c files by manually
editing:
	/at76c503a/at76c503-rfmd.c

to have 
...
#define VENDOR_ID_DICK_SMITH_ELECTR   0x1371 /* Dick Smith Electronics */
#define PRODUCT_ID_FL_WL240U          0x14   /* Fiberline FL WL-240U by swu */
...
{ USB_DEVICE(VENDOR_ID_DICK_SMITH_ELECTR, PRODUCT_ID_FL_WL240U) },


After compiling and installing this, the device is recognized fine:
---cut-on---

Dec  5 20:45:03 killerghost kernel: usb.c: deregistering driver
at76c503-rfmd
Dec  5 20:45:13 killerghost kernel: usb.c: USB disconnect on device
00:07.2-1.1 address 39
Dec  5 20:45:55 killerghost kernel: at76c503-rfmd.c: Atmel at76c503
(RFMD) Wireless LAN Driver v0.10beta2
Dec  5 20:45:55 killerghost kernel: usb.c: registered new driver
at76c503-rfmd
Dec  5 20:46:06 killerghost kernel: hub.c: new USB device 00:07.2-1.1,
assigned address 40
Dec  5 20:46:06 killerghost kernel: usbdfu.c: Downloading firmware for
USB device 40...
Dec  5 20:46:08 killerghost kernel: at76c503.c: Downloading external
firmware...
Dec  5 20:46:08 killerghost kernel: at76c503.c: $Id: at76c503.c,v 1.22
2003/05/19 22:30:53 jal2 Exp $ compiled Dec  5 2003 20:02:28
Dec  5 20:46:08 killerghost kernel: at76c503.c: firmware version 1.101.2
#84
Dec  5 20:46:08 killerghost kernel: at76c503.c: using MAC
00:08:a1:69:de:d8
Dec  5 20:46:08 killerghost kernel: at76c503.c: registered wlan0
Dec  5 20:46:43 killerghost kernel: at76c503.c: using BSSID
02:00:c3:48:0f:00
Dec  5 20:46:48 killerghost kernel: at76c503.c: using BSSID
02:00:4b:dd:4a:00
---cut-off---

I could even ifconfig wlan0 to a correct IP-Addresss etc. and (wow!)
iwconfig was able to set it's SSID and each setting fine, without any
errors.

But (argh!) the device is not pinging.

I have tested the device running pretty fine at windows98se and I have
running a WU221-P USB-device at linux, so you can trust me, that I have
tried everything...

Can you please help me?

cheers,
Sascha